-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
Trying to add hiera_http to my PE for couple days already.
But no luck :/
Already can't see where to look for the issue.
hiera-http v3
puppet pe 2017.1
lookup_http 1.0.3
Debug: Runtime environment: puppet_version=4.9.4, ruby_version=2.1.9, run_mode=agent, default_encoding=UTF-8
Only error I'm getting is:
Info: Using configured environment 'development'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Puppet::Parser::Compiler failed with error NoMethodError: undefined method `exist?' for :URI::HTTP on node i-048d3b34aa9cdce30.elastic.aws.example.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
debug output shows nothing special
can't see anything useful in server logs as well :/
installed lookup_http like everywhere
And yes, first trying to run setup on my test node in development environment.. but have installed hiera_http module in production as well.
here is hiera config
version: 5
defaults:
datadir: data
data_hash: yaml_data
hierarchy:
- name: "REST datastore"
lookup_key: hiera_http
uris:
- http://localhost:5984/hiera/common
options:
output: json
ignore_404: true
curl -s 'http://localhost:5984/hiera/common' | jq
{
"_id": "common",
"_rev": "1-7da81ab091a7992a62d9aae7281f70a8",
"hierahttp": "hooray! it works"
}
tried uri instead of uris
tried to disable hiera 'defaults' and couple other classic yaml hierarchies leaving only hiera_http...
Nothing changes this error
Reactions are currently unavailable