Re: [Puppet Users] Auditing users (AD+local) and groups

2014-07-24 Thread Eduardo A Muñoz
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" wrote: > I'm trying to audit local users

Re: [Puppet Users] Re: [facter]Bug can't get : ipaddress_ethX

2012-11-28 Thread Eduardo A Muñoz
Haven"t read the code yet... But cmd facter xx executes the xx plugin and print the return value. the ipaddress_ethX are part of the ipaddress plugin that is the one that should be executed. Nonetheless as the ipaddress plugin register the ipaddress_ethX facters they would not show either. On Wed

Re: [Puppet Users] check if if file exists on client an master

2012-11-28 Thread Eduardo A Muñoz
I think you would want to create a fact that publish that state to the master. On Wed, Nov 28, 2012 at 3:26 PM, Romain Gales wrote: > Hi pupper community, > > I am working with puppet on Windows and have an issue. > I want to check what version of a package is installed. > My idea was to add a fi

Re: [Puppet Users] Re: delete home directory rescurively

2012-11-26 Thread Eduardo A Muñoz
group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/dDIVaCy8uOQJ. > > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For m

Re: [Puppet Users] Unable to connect to master...

2012-11-26 Thread Eduardo A Muñoz
First.. chill pill.. Joking. Plz copy ur puppetmasterd logging. On Mon, Nov 26, 2012 at 5:41 AM, Rajeev Iyer wrote: > Hi , > > I need help here. I am running my master on RHEL 64 bit and I am trying > to connect my agent from Solaris running on Solaris 10. > I have put the entries for both m

Re: [Puppet Users] Help writing a custom fact

2012-11-26 Thread Eduardo A Muñoz
Answering the requirement you could do something like. Facter.add("websites_number") do setcode do websites = %x{/bin/ls $websitesdir}.split("\n") 0.upto(websites - 1).each do |n| Facter.add("website_#{n}") do setcode do websites[n] end end websites.