Skip to content

Commit 8816d95

Browse files
committed
Munge key content can be either a string or binary object
1 parent 1a5eb67 commit 8816d95

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

manifests/munge.pp

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
################################################################################
2-
# Time-stamp: <Thu 2022-06-30 14:38 svarrette>
2+
# Time-stamp: <Fri 2024-08-23 17:13:19 hcartiaux>
33
#
44
# File:: <tt>munge.pp</tt>
55
# Author:: UL HPC Team (hpc-sysadmins@uni.lu)
@@ -37,9 +37,9 @@
3737
# https://github.com/dun/munge/wiki/Installation-Guide#starting-the-daemon
3838
# @param gid [Integer] Default: 992
3939
# 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.
4343
# @param key_filename [String] Default: '/etc/munge/munge.key'
4444
# The secret key filename
4545
# @param key_source [String] Default: undef
@@ -54,15 +54,15 @@
5454
# does not care about it
5555
#
5656
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,
6666
)
6767
inherits slurm::params
6868
{

0 commit comments

Comments
 (0)