Displaying 2 results from an estimated 2 matches for "facts_search".
2012 Oct 04
4
Puppet 3.0 + Inventory search
Hello,
I am having problems with Puppet since upgrading to 3.0.0.
When I call an inventory search I get a Error 400. I have used dashboard +
Perl
Oct 4 08:58:43 puppet01 puppet-master[7008]: Handling request: GET
/production/facts_search/search?facts.lsbdistcodename.eq=lenny
Oct 4 08:58:43 puppet01 puppet-master[7008]: header too long
ii facter 1.6.12-1puppetlabs2 Ruby
module for collecting simple facts about a host operating system
ii hiera 1.0.0-1puppetlabs...
2013 Sep 11
4
getting array of hostnames of clients
...need to get an array of hostnames of clients of the puppet server.
There doesn''t seem to be a simple way to do this so I''ve tried a few
methods.
I''ve tried a curl expression in a fact like this:
curl -s -k -H "Accept: yaml"
https://localhost:8140/production/facts_search/search?facts.nodetypet=testnodes
where I''ve got a nodetype fact which works fine for me.
Now, this used to work but doesn''t any more. Between it working and now
I''ve changed to using puppetdb. I''m not sure if theres a connection.
The error returned is:
Caugh...