Another thing to think on is adding a group to sudoers which covers your users needs, and then simply adding users to that group. By proxy, this also allows you to dump the users belonging to that group out to a facter for referencing and reporting.
Brian On Monday, March 30, 2015 at 12:50:16 PM UTC-7, manyi wrote: > > I'' check it out thanks Garrett > > On Friday, March 27, 2015 at 3:24:58 PM UTC-4, manyi wrote: >> >> Help needed!! >> >> I am trying to add 2 users to /ect/sudoers john.smith and jane.may >> granting privileges to all servers >> >> *step 1. **modules/user/manifests/init.pp * >> >> >> class user { >> >> user { 'john.smith': >> >> ensure => present, >> >> comment => 'john.smith', >> >> home => '/home/john.smith', >> >> managehome => true >> >> } >> >> } >> >> >> *Step 2 manifests/site.pp* >> >> >> >> /etc/puppet/manifests/site.pp >> >> node 'mydomain.local.org' >> >> { include user } >> >> >> *step 3 :* sudo mkdir -p modules/sud >> ... > > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/02e9fc20-6e75-42d0-aac7-5d1677f404f6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.