-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Drop Puppet 6 support * Add Puppet 8 support * Add EL9 support * Support latest module dependencies
- Loading branch information
Showing
34 changed files
with
208 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,4 @@ | |
|
||
create_resources('shellvar', $mofed::openib_shellvars, $_shellvar_defaults) | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,5 +18,4 @@ | |
ensure_packages($extra_packages) | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,6 @@ | |
Array $ports = [], | ||
Integer $sweep = 10, | ||
) { | ||
|
||
include mofed | ||
|
||
case $ensure { | ||
|
@@ -82,26 +81,23 @@ | |
require => Package['opensm'], | ||
} | ||
|
||
if versioncmp($::operatingsystemrelease, '7.0') >= 0 { | ||
systemd::unit_file { '[email protected]': | ||
ensure => $file_ensure, | ||
source => 'puppet:///modules/mofed/opensm/[email protected]', | ||
} | ||
systemd::unit_file { '[email protected]': | ||
ensure => $file_ensure, | ||
source => 'puppet:///modules/mofed/opensm/[email protected]', | ||
} | ||
|
||
$ports.each |Integer $index, String $port| { | ||
$i = $index + 1 | ||
service { "opensmd@${i}": | ||
ensure => $service_ensure, | ||
enable => $service_enable, | ||
hasstatus => true, | ||
hasrestart => true, | ||
subscribe => [ | ||
File['/etc/sysconfig/opensm'], | ||
Systemd::Unit_file['[email protected]'] | ||
] | ||
} | ||
$ports.each |Integer $index, String $port| { | ||
$i = $index + 1 | ||
service { "opensmd@${i}": | ||
ensure => $service_ensure, | ||
enable => $service_enable, | ||
hasstatus => true, | ||
hasrestart => true, | ||
subscribe => [ | ||
File['/etc/sysconfig/opensm'], | ||
Systemd::Unit_file['[email protected]'] | ||
], | ||
} | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,5 +21,4 @@ | |
hasrestart => $mofed::openibd_service_hasrestart, | ||
} | ||
} | ||
|
||
} |
Oops, something went wrong.