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

Support version 4 hiera config #213

Closed
mafgh opened this issue Nov 2, 2016 · 5 comments
Closed

Support version 4 hiera config #213

mafgh opened this issue Nov 2, 2016 · 5 comments

Comments

@mafgh
Copy link

mafgh commented Nov 2, 2016

When trying to use hiera-eyaml with hiera.yaml version 4 I am getting the following error:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: /etc/puppetlabs/code/environments/foo/hiera.yaml: No data provider is registered for backend 'eyaml' on node puppet.bc

hiera.yaml:

    ---
    version: 4
    
    datadir: "data"
    
    hierarchy:
      - name: "node/%{trusted.certname}"
        backend: "yaml"
      - name: "encrypted"
        backend: "eyaml"
      - name: "common"
        backend: "yaml"
@mafgh mafgh changed the title Support version 4 hera config Support version 4 hiera config Nov 2, 2016
@athingisathing
Copy link

I am also getting this issue. @mafgh any luck?

@mafgh
Copy link
Author

mafgh commented Dec 9, 2016

@athingisathing no. we ended up using hiera config version 3, partly because of eyaml, partly because puppet lookup gave us some strange results.

@ahpook
Copy link

ahpook commented Jan 23, 2017

The new lookup system does not support hiera-eyaml, so that's why you got the error. You can follow the work to add it here : https://tickets.puppetlabs.com/browse/PUP-7100

@pckls
Copy link

pckls commented Feb 1, 2017

Thanks @ahpook for that link I was actually looking for that information and found it here :)

This issue is probably invalid though, the issue is with Puppet/Hiera not hiera-eyaml.

@lesinigo
Copy link

Hiera4 has been deprecated long ago and hiera-eyaml does support hiera5. I guess this issue can be closed?

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

No branches or pull requests

6 participants