Hello All

I could successfully declare and realize virtual users in PE 3.2.3. I am 
now testing the same with PE 3.7.0. Unfortunately the user is not being 
realized and I am getting no warnings/errors.

I am pasting a snippet of my module manifests :

/etc/puppetlabs/puppet/modules/users/manifests/init.pp

<snip>
class users {
        @users::virtual { 'varun':
                uid     =>      1002,
                pass    =>      '$1$Qrt51$JpQOHlU9lMpthG9U5dWiG.',
                name    =>      'admin',
}
}
</snip>

/etc/puppetlabs/puppet/modules/users/manifests/virtual.pp

<snip>
define users::virtual ($uid,$name,$pass) {

  user { $title:
    ensure            =>  'present',
    uid               =>  $uid,
    gid               =>  $title,
    shell             =>  '/bin/bash',
    home              =>  "/home/${title}",
    comment           =>  $name,
    password          =>  $pass,
    managehome        =>  true,
  }
}
</snip>
/etc/puppetlabs/puppet/manifests/nodes/hdpnamenode1.pp

<snip>
node    default {
}
###########################################
node    'hdpnamenode1.xor.in' {
        include users
        realize (Users::Virtual ['varun'])
}
</snip>

All hostnames can be resolved . I also referenced 
https://docs.puppetlabs.com/puppet/latest/reference/lang_virtual.html 

Help would be apprciated.

Thanks in Advance

Varun

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/23d67d6e-f9df-476a-a43d-fdc22c902997%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to