Hi there,
I've defined a package array to install some software this way:
class install {
<…>
package { ['toola','toolb','toolc']:
ensure => installed,
require => Class['setup'],
notify => Class['configure']
}
<….>
}
then under configure class I have something that is dependent of toola to install,
class configure {
file { '/etc/toola':
content => "test"
}
}
Maybe I'm doing this notify/subscribe thing in the wrong way because sometimes Puppet tries the configure class first before install class. Even so…
<question>
Is there a way for me to force this dependency under file { '/etc/toola': subscribe => Package?
If yes, how can I define such a dependency with class Package after I've defined an package array without a specific name?
Cheers