statsd module cause hiera error

asked 2016-05-10 15:18:06 -0500

Lior gravatar image

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", graphiteglobalPrefix => 'statsite', graphitelegacyNamespace => 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::libratoskipInternalMetrics': undefined method `tosym' 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

edit retag flag offensive close merge delete