[Puppet Users] Searching for Nodes

2013-01-24 Thread Brian Malinconico
Hello All, I'm reviewing switching to puppet from chef and am trying to identify how to port the various features. I have hit a stumbling block searching for nodes. In Chef i could search for a node by role, but I am lost as how to do this with puppet and classes. Example: I want my

Re: [Puppet Users] Searching for Nodes

2013-01-24 Thread Bill Fraser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Brian, The use case you are describing lends itself toward making use of stored configuration and exported resources. http://docs.puppetlabs.com/guides/exported_resources.html

Re: [Puppet Users] Searching for Nodes

2013-01-24 Thread Brian Malinconico
Hello Bill, Thank you for the feedback. We are actually using haproxy, and will undoubtedly use the stock book, it was just the example. I guess I am confused as to the pattern. I have looked over the nagios examples many times but I am still unsure. T he final example would be how to

Re: [Puppet Users] Searching for Nodes

2013-01-24 Thread jcbollinger
On Thursday, January 24, 2013 12:13:01 PM UTC-6, Brian Malinconico wrote: Hello Bill, Thank you for the feedback. We are actually using haproxy, and will undoubtedly use the stock book, it was just the example. I guess I am confused as to the pattern. I have looked over the nagios

Re: [Puppet Users] Searching for Nodes

2013-01-24 Thread Nan Liu
On Thu, Jan 24, 2013 at 12:13 PM, Brian Malinconico arjes...@gmail.comwrote: Thank you for the feedback. We are actually using haproxy, and will undoubtedly use the stock book, it was just the example. I guess I am confused as to the pattern. I have looked over the nagios examples many times