You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've been testing this module on my installation PE-2016-2.1 , if I'm using hiera command to make a request that is working fine but when I'm trying to use from manifests it show me an error.
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Function Call, Cannot load backend http: no such file to load -- hiera/backend/http_backend at /etc/puppetlabs/code/environments/production/manifests/site.pp:34:3 on node XXXXXX
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Here is my basic site.pp
node default {
hiera_include('classes')
}
After some resesarch, I realized that the path where the library were installed is not correct for this puppet version. So I've to moved the files from /opt/puppetlabs/puppet/lib/ruby/gems/2.1.0/gems/hiera-http-2.0.0/lib/hiera/backend to /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/hiera/backend and do the same thing for /opt/puppetlabs/puppet/lib/ruby/gems/2.1.0/gems/lookup_http-1.0.0/lib/lookup_http.rb to /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/
After that I tested my agent and worked fine.
The text was updated successfully, but these errors were encountered:
Hi, I've been testing this module on my installation PE-2016-2.1 , if I'm using hiera command to make a request that is working fine but when I'm trying to use from manifests it show me an error.
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Function Call, Cannot load backend http: no such file to load -- hiera/backend/http_backend at /etc/puppetlabs/code/environments/production/manifests/site.pp:34:3 on node XXXXXX
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Here is my basic site.pp
node default {
hiera_include('classes')
}
After some resesarch, I realized that the path where the library were installed is not correct for this puppet version. So I've to moved the files from /opt/puppetlabs/puppet/lib/ruby/gems/2.1.0/gems/hiera-http-2.0.0/lib/hiera/backend to /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/hiera/backend and do the same thing for /opt/puppetlabs/puppet/lib/ruby/gems/2.1.0/gems/lookup_http-1.0.0/lib/lookup_http.rb to /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/
After that I tested my agent and worked fine.
The text was updated successfully, but these errors were encountered: