Re: [Puppet Users] Manual run with specific class

2013-05-16 Thread Keith Burdis
If you don't want to transfer the class files (and any dependencies) over to the agent host, which is what I was suggesting here then perhaps you can get your desired behaviour using a custom fact. Assuming that you have facter.dot.d installed (usually from stdlib) do something like: $ echo 'ru

Re: [Puppet Users] Manual run with specific class

2013-05-16 Thread Nev
thanks, but no: # puppet apply --execute 'include manual' Error: Could not find class manual On Thursday, May 16, 2013 2:47:35 PM UTC-6, Keith Burdis wrote: > > Perhaps try: > > # puppet apply --execute 'include manual' > > - Keith > On 16 May 2013 21:40, "Nev" > wrote: > >> I need to be able

Re: [Puppet Users] Manual run with specific class

2013-05-16 Thread Keith Burdis
Perhaps try: # puppet apply --execute 'include manual' - Keith On 16 May 2013 21:40, "Nev" wrote: > I need to be able to run a certain class ONLY when it is called > manually from the client. > > I created a class named "manual" and can run it from the client like > this: > > puppet agent --

[Puppet Users] Manual run with specific class

2013-05-16 Thread Nev
I need to be able to run a certain class ONLY when it is called manually from the client. I created a class named "manual" and can run it from the client like this: puppet agent --no-daemonize --onetime --verbose --tags=manual However it only works if that class is specified in the node definiti