On 04/01/2015 09:03 PM, Jason Gagui wrote:
>
> How would I make sure  the four classes run in the specified order above?

Hi,

an intermittent reboot implies that the three latter classes *cannot* be
evaluated during the same agent transaction as the first one. To
implement this, add a custom fact to the module, which indicates whether
the reboot after evaluation of the first class has succeeded. Include
the other classes only if this fact has the expected value.

As a side note, I see how such a triggered reboot is convenient, but I
would have reservations about deploying a module that will do that when
it deems necessary. It just feels kind of risky. An alternative could be
an explicit message (via notify resource) that the agent keeps adding to
reports until the operator reboots manually. That's just my 2c though.

Cheers,
Felix

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/551C7C4A.4030907%40Alumni.TU-Berlin.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to