Re: [Puppet Users] Appending to facts through REST api

2012-06-04 Thread Jeff McCune
You are correct. The REST API for facts does not have the ability to merge a new fact and value into the existing set. You could retrieve the current set, update it and replace it. Coukd you let me know what you're trying to accomplish? Maybe there is another approach. -Jeff On Jun 4, 2012, at

[Puppet Users] Appending to facts through REST api

2012-06-04 Thread Cor Bosman
Hi all, im playing with the REST api to add some custom facts to nodes. Am I right in concluding that you can't add to the facts of a node, only replace all facts, using the REST api? I want to just add a single custom fact to a set of nodes, preferably through the api. Regards, Cor -- You rec