|
1 | 1 | ################################################################################
|
2 |
| -# Time-stamp: <Thu 2022-06-30 14:38 svarrette> |
| 2 | +# Time-stamp: <Fri 2024-08-23 17:13:19 hcartiaux> |
3 | 3 | #
|
4 | 4 | # File:: <tt>munge.pp</tt>
|
5 | 5 | # Author:: UL HPC Team (hpc-sysadmins@uni.lu)
|
|
37 | 37 | # https://github.com/dun/munge/wiki/Installation-Guide#starting-the-daemon
|
38 | 38 | # @param gid [Integer] Default: 992
|
39 | 39 | # GID of the munge group
|
40 |
| -# @param key_content [String] Default: undef |
41 |
| -# The desired contents of a file, as a string. This attribute is mutually |
42 |
| -# exclusive with source and target. |
| 40 | +# @param key_content [String,Binary] Default: undef |
| 41 | +# The desired content of the munge key file, as a string or binary object. |
| 42 | +# This attribute is mutually exclusive with source and target. |
43 | 43 | # @param key_filename [String] Default: '/etc/munge/munge.key'
|
44 | 44 | # The secret key filename
|
45 | 45 | # @param key_source [String] Default: undef
|
|
54 | 54 | # does not care about it
|
55 | 55 | #
|
56 | 56 | class slurm::munge(
|
57 |
| - Enum['present', 'absent'] $ensure = $slurm::params::ensure, |
58 |
| - Boolean $create_key = $slurm::params::munge_create_key, |
59 |
| - Array $daemon_args = $slurm::params::munge_daemon_args, |
60 |
| - Integer $uid = $slurm::params::munge_uid, |
61 |
| - Integer $gid = $slurm::params::munge_gid, |
62 |
| - String $key_filename = $slurm::params::munge_key, |
63 |
| - Optional[String] $key_source = undef, |
64 |
| - Optional[String] $key_content = undef, |
65 |
| - Boolean $service_manage = $slurm::service_manage, |
| 57 | + Enum['present', 'absent'] $ensure = $slurm::params::ensure, |
| 58 | + Boolean $create_key = $slurm::params::munge_create_key, |
| 59 | + Array $daemon_args = $slurm::params::munge_daemon_args, |
| 60 | + Integer $uid = $slurm::params::munge_uid, |
| 61 | + Integer $gid = $slurm::params::munge_gid, |
| 62 | + String $key_filename = $slurm::params::munge_key, |
| 63 | + Optional[String] $key_source = undef, |
| 64 | + Optional[Variant[String,Binary]] $key_content = undef, |
| 65 | + Boolean $service_manage = $slurm::service_manage, |
66 | 66 | )
|
67 | 67 | inherits slurm::params
|
68 | 68 | {
|
|
0 commit comments