On Thu, Jul 24, 2014 at 1:22 PM, huhm4n <oj.man...@gmail.com> wrote: > Thanks a lot for the idea. I'll be creating a facter and see how it works > or what i can do with it > > > On Thursday, July 24, 2014 8:25:21 AM UTC-7, showy wrote: > >> Hi, for this problem you would be better off with other tools. >> >> Nevertheless you could create a facter thar list all the users in the >> system and use that information in a class to check and save against a >> centralized db. >> On Jul 23, 2014 4:35 PM, "huhm4n" <oj.m...@gmail.com> wrote: >> >>> I'm trying to audit local users and groups in linux and ad,local >>> users,groups on windows using puppet? I looked over, all i can find is to >>> audit permission of file, service status, package installation and all..is >>> there a a way i can get the list of users and have module to see if there >>> is new user or group added/deleted against the list? thanks in advance >>> >> Why just run `puppet resource user` which will output the list of local users (and the groups they belong to), or `puppet resource group` which outputs the list of local groups (and its members)?
Josh -- Josh Cooper Developer, Puppet Labs *Join us at PuppetConf 2014 <http://www.puppetconf.com/>, September 20-24 in San Francisco* *Register by July 31st to take advantage of the Early Bird discount <https://puppetconf2014.eventbrite.com/?discount=EarlyBird> **—**save $249!* -- 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/CA%2Bu97un7-Xuk3%2BLB6z%3D8uRF9DzpwxR1z5JU4Vqjsb2ZfcmwrSg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.