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
--  
Frank

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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