Perhaps try:

# puppet apply --execute 'include manual'

  - Keith
 On 16 May 2013 21:40, "Nev" <neva...@gmail.com> 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 --no-daemonize --onetime --verbose --tags=manual
>
> However it only works if that class is specified in the node
> definition.  I don't want this class to run automatically on the
> normal node run with the other classes.  Is there any way to do this?
>
> --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to