On Thursday, June 20, 2013 4:21:00 PM UTC-5, Dhananjayan Ramesh wrote:
>
> Hi All,
>
> I am new to Puppet and I am wondering if there is a way to just apply a 
> manifest one-time (present on the master, not included in site.pp) on an 
> agent node without having to edit site.pp? It's like I want to run a 
> command on the agent that will do this for me.
>
> Something analogous to "puppet apply <manifest>" except that the manifest 
> is not locally present on the agent, but on the master...
>


Not as such, no.  Puppet does not recognize manifest files as a 
remotely-addressable unit of organization.  Also, any catalog the master 
provides to an agent will contain only resources that have been declared 
for that agent, as directed by the appropriate entry-point manifest 
(normally site.pp).  You can alter the declarations that will be made for a 
given node by requesting a different (pre-defined) environment, and you can 
select a subset of the resources declared for the client node via the --tag 
option, but you cannot ask for arbitrary manifest files.

This is the point where I normally say "puppet is not a script engine" and 
urge you to not try to use it as if it were.


John

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to