* Martijn Grendelman <martijn at grendelman.net> [2010/08/31 22:02]:
> What I would like, is for Puppet to run `aptitude update` before
> it installs or upgrades packages. That doesn't seem out of the
> ordinary to me, but I can't make it work in Puppet.

I would do the `aptitude update` in cron, outside of puppet, and
manage the cronjob via the cron type.  That would eliminate your
precedence and ordering problems completely.

-- 
There are only two hard things in Computer Science: cache invalidation
and naming things.
    -- Phil Karlton

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to