Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hiera Support #886

Open
iyappan-dcis opened this issue Jul 17, 2019 · 4 comments
Open

Hiera Support #886

iyappan-dcis opened this issue Jul 17, 2019 · 4 comments
Labels

Comments

@iyappan-dcis
Copy link

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet:
  • Ruby:
  • Distribution:
  • Module version:

How to reproduce (e.g Puppet code you use)

defining values in Hiera does not work, but works when defined in class. I am using the below format.

collectd::plugin::cpu::reportbystate: true

collectd::plugin::write_graphite::carbon::mygraphite::graphitehost: graphite-1.xxxxx
collectd::plugin::write_graphite::carbon::mygraphite::graphiteport: 2003
collectd::plugin::write_graphite::carbon::mygraphite::graphiteprefix: collectd.
collectd::plugin::write_graphite::carbon::mygraphite::protocol: tcp

What are you seeing

What behaviour did you expect instead

Output log

Any additional information you'd like to impart

@iyappan-dcis
Copy link
Author

@juniorsysadmin Any support ?

@juniorsysadmin juniorsysadmin added question bug Something isn't working and removed bug Something isn't working labels Aug 3, 2019
@NatGuyton
Copy link

for the write_graphite module, I would not expect:

collectd::plugin::write_graphite::carbon::mygraphite::graphitehost: graphite-1.xxxxx

to work, but would expect:

collectd::plugin::write_graphite::carbon::graphitehost: graphite-1.xxxxx

@steve--d
Copy link

I'm not able to conjure the correct hiera format either.

@jcasals
Copy link

jcasals commented Jan 7, 2020

Hi @iyappan-dcis,

Sorry I didn't see this, maybe I'm late and you already fixed it, but this is how I have it working.

collectd::plugin::write_graphite::carbons:
  graphite:
    graphitehost: 'graphite.domain.com'
    graphiteport: 2013
    graphiteprefix: "instance.cluster."
    separateinstances: false

Hope it helps somebody at least.

Cheers,

Jordi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants