I am trying to execute the command api for puppetdb with the command
"replace facts"

 curl -G -H "Accept: application/json" 'http://localhost:8080/v2/commands'
--data-urlencode 'payload={"command":"replace facts","version":
2,"payload:{"name":"\"node_name\""}}'

As output of the above command just a uuid is printed, but I seem to get
some errors in the logs for illegal argument...

So will this replace all facts with their latest values ??

Or is there another way to do that ?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAEJrXMVLafySLa9-uy-dFOd%2B2ojXzgwr%3DykK1Fe5GzGWqrvjfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to