[Puppet Users] Re: Cannot set variables via Hiera for a module I've written

2014-09-28 Thread Danny Roberts
> > > It sounds like you have a misconception. By recording the specified data > in Hiera, you provide a value to bind to class ::zabbix's parameter > $::zabbix::client_server. If you declare class ::zabbix without specifying > a value for that parameter (e.g. > > include '::zabbix' > > or >

[Puppet Users] Re: Cannot set variables via Hiera for a module I've written

2014-09-25 Thread jcbollinger
On Wednesday, September 24, 2014 9:26:30 AM UTC-5, Danny Roberts wrote: > > > > On Wednesday, 24 September 2014 14:08:30 UTC+1, jcbollinger wrote: >> >> >> >> On Wednesday, September 24, 2014 5:57:45 AM UTC-5, Danny Roberts wrote: >>> >>> Hi Folks, >>> >>> I've started writing a module for zabbix

[Puppet Users] Re: Cannot set variables via Hiera for a module I've written

2014-09-25 Thread Antoine Cotten
Hi Danny, You should 'include' your main class (zabbix) before, or even inside your sub-classes, else nothing tells you in which order they will be declared, and apparently classes like zabbix::client::service DO require the parameters set in your main class. Something like that should work:

[Puppet Users] Re: Cannot set variables via Hiera for a module I've written

2014-09-24 Thread Danny Roberts
On Wednesday, 24 September 2014 14:08:30 UTC+1, jcbollinger wrote: > > > > On Wednesday, September 24, 2014 5:57:45 AM UTC-5, Danny Roberts wrote: >> >> Hi Folks, >> >> I've started writing a module for zabbix monitoring (current version >> here: https://github.com/kemra102/puppet-zabbix). >> >>

[Puppet Users] Re: Cannot set variables via Hiera for a module I've written

2014-09-24 Thread jcbollinger
On Wednesday, September 24, 2014 5:57:45 AM UTC-5, Danny Roberts wrote: > > Hi Folks, > > I've started writing a module for zabbix monitoring (current version here: > https://github.com/kemra102/puppet-zabbix). > > I have a basic set-up to install the zabbix client using the module. > > There ar