Hi. I apologize for my delay. I missed your reply.

On Thu, Apr 11, 2013 at 6:20 PM, <[email protected]> wrote:

> Let me explain what I did:
> - 1. Installed 3 new Modules on the Puppet Master
> - 2. Went to the Dashboard, Added the new Classes
> - 3. In the Dashboard, also Edited the Node to add the new Classes to it
> - 4. The Agents on the Node to which the classes were assigned picked up
> the new modules and installed the applications.
>
> So, the above was good and worked as expected.
>
> My question is:
> - Shouldn't I be able to use an API like "puppet ....." to do the same as
> above?
> - If I cannot do it via an API, then what is the Dashboard doing in #2 and
> #3 and can I not edit some files manually/programmatically to accomplish
> the same?
>

The Dashboard behaves as an external node classifier to Puppet. You can
read about that concept here:
http://docs.puppetlabs.com/guides/external_nodes.html

It does come with various rake tasks for programmatically manipulating your
classification data. You can read about those tasks here:
http://docs.puppetlabs.com/pe/latest/console_classes_groups.html#rake-api If
you're using Puppet Enterprise, the path will be different but I don't have
it off-hand. I think you can use find in /usr for dashboard.



>
> Hope that makes sense.
>
> Thanks again!
>




-- 
Ryan Coleman | Modules & Forge | @ryanycoleman | ryancoleman in #puppet

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to