On Wed, Sep 22, 2010 at 5:55 PM, Luc Suryo <[email protected]> wrote: > Hello > > it is possible to define something like this? > > exec { "openvpn_reload" : > command => "/etc/init.d/openvpn reload", > user => root, > require => [ File[ "openvpn_client.conf"] OR File > ["openvpn_server"] ]
Normally when people tell me they want this, they really want to require the *class* that both the above resources are defined in, and logic inside that class decides which resources are being instantiated and how. > > } > > is possible what would be the correct syntax? > > thanks > > -- > -ls > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- nigel -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
