Displaying 1 result from an estimated 1 matches for "ifensur".
Did you mean:
ifensure
2012 Nov 09
2
Passing an array of user groups to a define
...,group2 (see that group1 and
group2 are concatenated in the middle, undefined group)
- error: Group names must be provided as an array, not a comma-separated
list.
I use the following define:
define users::definitions (
$home = "/home/$title",
$usergroups = $title,
$ifensure = ''present'',
) {
user {
"$title":
home => "$home",
managehome => true,
ensure => "$ifensure",
groups => "$usergroups",
}
...
}
And the following class to call the define:...