On Thu, 28 Oct 2010 03:16:13 -0700, walexey wrote: > > Hello everybody! > > I try to start using puppet-dashboard. It was installed ok and can > show reports from nodes. > As next step, i want to manage classes-nodes association with puppet. > How can i import curent class definition from /etc/puppet/manifest/ > classes.pp ? > Or i should create it from scratch? > > wbr, alw >
Currently, I'm not aware of any automated way to import class and node -> class associations into Puppet Dashboard, and the Dashboard doesn't currently ship with a tool to do this. Since the Dashboard is a mostly "standard" Ruby on Rails app, you do get a RESTy interface for free, so you could automate a good chunk of this yourself, if you wanted to. As things are right now, your options pretty much are to create classes and the node -> class associations by hand through the web interface, or to parse the files you're interested in and use the RESTy interface to put the information into the Dashboard. -- Jacob Helwig
signature.asc
Description: Digital signature