[Puppet Users] Create array from node facts

2013-11-21 Thread JamieC
I'm looking of a way to create an array of IPs of puppet clients which are currently assigned a certain class\module. Would anyone be able to tell me if this would be possible and if so, point me in the right direction of implementing it? I'm using puppetdb so assume the details could be

[Puppet Users] Inherit two classes?

2013-03-18 Thread JamieC
Hello, I have a class called website, which requires both httpd and mysqld classes. Without defining it within the site.pp (node section). Is it possible to define that website requires these additions? Such as; class website inherits httpd, mysqld { ... } -- You received this message

[Puppet Users] Puppet resources and Nagios Contacts\Contactgroups

2013-02-11 Thread JamieC
I'm currently defining nagioscontacts one-by-one like so; @@nagios_contact { username1: ensure = present, use = generic-contact, contact_name = username1, alias = user1, email = emailaddress1, target =