Puppet Class: apptainer::install::os
- Defined in:
- manifests/install/os.pp
Summary
Private classOverview
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'manifests/install/os.pp', line 3
class apptainer::install::os {
assert_private()
if $facts['os']['family'] == 'RedHat' {
package { 'apptainer':
ensure => $apptainer::version,
}
$_suid_ensure = $apptainer::install_setuid ? {
true => $apptainer::version,
default => 'absent',
}
package { 'apptainer-suid':
ensure => $_suid_ensure,
}
} else {
fail('Module apptainer only supports os installs on RedHat')
}
}
|