> > > 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 > > class { '::zabbix': } > > ) then $::zabbix::client_server will take the Hiera value. If there were > no such value available from Hiera then $::zabbix::client_server would take > its default value instead ($::zabbix::params::client_server). *In no > event is the value of class variable $::zabbix::params::client_server ever > different from the one with which it is initialized in the body of class > ::zabbix::params.* > > > It was a scope issue like you suggested, the code works with some significant re-jigging, many thanks!
-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/426ed2f3-ffce-4052-8607-bfe2cf6529b4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.