On Wed, Dec 21, 2011 at 12:24 AM, Corey Osman <co...@logicminds.biz> wrote:
> Hi, > > Just curious if anybody had written a script to find systems that don't > have puppet installed by doing a port scan or something else. > I would like to have my puppetmaster send an email when it finds a system > that doesn't have puppet installed and possibly take action by installing > it. > > > Does anybody have some good ideas how a system can be detected as a > non-puppet system? > > > One idea would be to use net-snmp to query the list of installed packages. > But this requires net-snmp to be running > > > snmpwalk -v 2c -c public hostname 1.3.6.1.2.1.25.6.3.1.2 | grep puppet > another option, while scoped to a given subnet, is that you can find out all mac addresses of all of your systems minus all the mac addresses coming from facter. Ohad > > > > Corey Osman > co...@logicminds.biz > > Green I.T and Datacenter Automation Specialist > > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > 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 more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.