We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c888813 + 5464bbc commit 3b081d9Copy full SHA for 3b081d9
lib/puppet/catalog-diff/searchfacts.rb
@@ -98,7 +98,7 @@ def find_nodes_puppetdb(env)
98
)
99
end
100
json_query = URI.escape(query.to_json)
101
- unless filtered = PSON.load(connection.request_get("/pdb/query/v4/nodes/?query=#{json_query}", {"Accept" => 'application/json'}).body)
+ unless filtered = PSON.load(connection.request_get("/pdb/query/v4/nodes?query=#{json_query}", {"Accept" => 'application/json'}).body)
102
raise "Error parsing json output of puppet search"
103
104
names = filtered.map { |node| node['certname'] }
0 commit comments