Hello,

I also perhaps faced the bug. I am trying to workaround it:

common.yaml
accounts::users::accounts:
  user_1:
    ensure: present
    home: /home/user_1
    managehome: "true"
    shell: /bin/bash
    uid: 4018
    gid: group1

$mh = str2bool ("$accounts::users::accounts::managehome")   # <- I am not 
sure if I get it correctly ?
define create_user ($uid, $gid, $ensure = present, $home = "/home/$name", 
$shell = "/bin/bash", $managehome = $mh )
{
        user { $name:
                uid => $uid,
                gid => $gid,
        }
...

Am I using the correct syntax to get the correct value ?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to