On Monday, February 11, 2013 7:52:23 AM UTC-6, steve foster wrote:
>
> Hi Rafal,
>
> the before meta-parameter would help you here:
>
> package{ 'Lib_Utils':
>   ensure => absent,
>   before  => Package['MegaCli'],
> }
>
>
Or you could turn it around and use "require => Package['Lib_Utils']" 
metaparameter on Package['MegaCli'].  For inter-packages dependencies on a 
system with a decent package manager (such as CentOS with yum/rpm), 
however, I would urge you to make sure your packages declare their 
dependencies correctly, and then just let the package manager handle it.


John

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to