run or execute only by call with manually running agent

14 views
Skip to first unread message

Andreas Dvorak

unread,
Jan 30, 2014, 10:25:59 AM1/30/14
to puppet...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages