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 4:17 AM, Cor Bosman <cor.bos...@gmail.com> wrote: > 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 received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.