Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.
This repository was archived by the owner on May 5, 2025. It is now read-only.

Hiera puppetdb_backend could not be found #97

@adfel70

Description

@adfel70

We used to work a lot with the puppetdb backend from Hiera on Puppet 3 and Hiera 1.3.4.
No we are installing a new environment based on Puppet 4 (puppet 4.8, puppetserver 2.7.2, Puppetdb 4.3.0)

We installed version 2.2.0 of puppetdbquery module. the CLI is working, but when adding puppetdb backend into hiera.yaml file we are getting the following error on agents:

DataBinding 'hiera': Cannot load backend puppetdb: no such file to load -- hiera/backnd/puppetdb_backend

We tried to manually copy puppetdb_backend.rb to /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/hiea/backend
but then we got the next error:

org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- puppetdb/connection

Surely we are missing something, so we stopped there... Could you please help us understand what we are doing wrong?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions