HI,
I installed statsd module by 'puppet module instal.. '
than I used it like this in a wrapper:
class { 'statsd':
backends => ['./backends/graphite'],
graphiteHost => "graphite-relay.dev.sizmdx.com",
graphite_globalPrefix => 'statsite',
graphite_legacyNamespace => false,
stackdriver_sendTimerPercentiles => false,
configfile => '/etc/statsd/localConfig.js'
}
after that I added to my node.pp file
class { 'monitor': }
when i run puppet agent on the agent I get hiera error:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Error from DataBinding 'hiera' while looking up 'statsd::librato_skipInternalMetrics': undefined method `to_sym' for []:Array on node beadmin-dev0-lior-cm-3f4gxw0f.sizmek Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
1) should I use include monitor instead ?
2) How come that hiera doesn't find the parameters on the module class?
any idea would be appreciated.
puppet version: 3.8.7 Ruby version: 1.8.7 hiera version: 1.3.4
↧