Chris Blumentritt
2012-Jan-10 22:57 UTC
[Puppet Users] Adding node parameters to puppet dashboard
I would like to add parameters to nodes in puppet dashboard either from the command line or programmatically through an api. For adding classes and groups to a node as well as adding nodes to the dashboard I have been using the rake tasks. There is no rake task for adding parameters that I can find. Is there an api for the dashboard? Chris -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Dan Bode
2012-Jan-10 23:03 UTC
Re: [Puppet Users] Adding node parameters to puppet dashboard
A face has been developed that can programmatically insert data into the Dashboard using its restful interface. usage is documented in the README https://github.com/puppetlabs/puppetlabs-dashboard You may want to have a look at a couple of branches that still need to be merged: 1. https://github.com/bodepd/puppetlabs-dashboard/tree/test_coverage_and_remove_cp_as_dep removes the heavy dependency on cloud provisioner (so you dont have to install fog) 2. https://github.com/bodepd/puppetlabs-dashboard/tree/11216_cli_hashes supports setting parameter hashes from the command line On Tue, Jan 10, 2012 at 2:57 PM, Chris Blumentritt <cblument@gmail.com>wrote:> I would like to add parameters to nodes in puppet dashboard either > from the command line or programmatically through an api. For adding > classes and groups to a node as well as adding nodes to the dashboard > I have been using the rake tasks. There is no rake task for adding > parameters that I can find. Is there an api for the dashboard? > > Chris > > -- > 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+unsubscribe@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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.