On Dec 5, 2007, at 5:49 PM, Ryan Dooley wrote:
> I''m wondering if there is any easy way to run a command after
> everything else, something like:
>
> exec {
> when => "last"
> command => "/usr/local/bin/update",
> }
>
> Or even "run these commands in the following order", as the last
step.
>
> The bottom line is that I''m trying to trigger certain behaviors
after
> the state of the system has been verified.
>
> I was thinking about applying a tag and calling puppetd twice but I
> don''t see a good way to:
>
> /usr/bin/puppetd --tags !last
The only thing you can do right now is chain resources, you can''t say
something like a given resource should be first or last. I''ve
considered adding special tags for this exact purpose, but I''ve not
done so.
--
Chase after truth like hell and you''ll free yourself, even though
you never touch its coat-tails. -- Clarence Darrow
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com