Andreas Dvorak
2014-Jan-30 15:25 UTC
[Puppet Users] run or execute only by call with manually running agent
Hi all,
I have an install routine that should never be executed by puppet
automatically.
But I would like to execute it sometimes by running something like this:
puppet agent -t --ignoreschedules --tags never
One idea is to create a schedule
class never{
schedule { 'never':
repeat => 0,
}
exec....
}
or
class never{
schedule { 'never':
periode => never,
}
exec....
}
What is a good solution?
Regards,
Andreas
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/1feb194c-3ebf-41f8-9aff-f743783a2114%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.