[Puppet Users] Re: Puppet Example42/Nagios Module

2015-03-26 Thread Alessandro Franceschi
Hi Sergiu, currently ex42/nagios module has not a dedicated define to add a nagios host objects directly. It'd quite trivial to do that but currently you can do that, with that module, providing your config file(s) with the host objects you need as plain files (with one or more hosts), or have a

[Puppet Users] Re: Puppet Example42/Nagios Module

2015-03-25 Thread Sergiu Cornea
Hi Al, Thank you for your answer. What I am trying to do is as follows: I have successfully installed Nagios server on CentOS 6.6 using Puppet and example42/nagios module. I have also added a new host with some checks and works like a charm. However I was looking around trying to understand ho

[Puppet Users] Re: Puppet Example42/Nagios Module

2015-03-25 Thread Alessandro Franceschi
Do you want to add automatically new hosts on Nagios using exported resources or you want to define your hosts "statically" with a bunch of (hiera) data? Hiera entries for this module are as the ones you may expect from other modules, for each class parameter there's a hiera lookup to the key: