Hi
If I define:
exec { '/bin/sleep 300 &':
timeout => 10,
}
and run it with puppet apply: it happily starts the sleep, backgrounds it
and finishes - leaving the sleep in the background alive.
Is this behaviour as expected? I personally expected that puppet would
ensure all started processes
That is not surprising to me. To provide maximal flexibility, puppet does
not do any management or cleanup of processes started. As an exercise, try
to define a parameter to exec that specifies how puppet should cleanup
processes after exec: as soon as the exec returns? when the agent run ends?
eve