On Oct 11, 2007, at 10:44 PM, Scott Smith wrote:
> hi,
>
> is there a way to specify that something is to be run only once, upon
> install of the package?
You can use an exec with refreshonly to only do something when a
package is installed or upgraded, which is equivalent if you never
use Puppet to upgrade the package. Otherwise, no, there''s no
facility for this right now.
> i know i could have it done via exec & onlyif. however there are
> obvious
> security issues with trusting the existence of a local file...
Look at ''refreshonly'', not ''onlyif''.
> i''d also prefer to not manually repackage certain applications.
I don''t undertand what you mean here.
--
Whenever I hear anyone arguing for slavery, I feel a strong impulse to
see it tried on him personally. -- Abraham Lincoln
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com