On Wed, Sep 22, 2010 at 5:55 PM, Luc Suryo <lsu...@gmail.com> 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"] ]
I don't recommend using an exec resource for this purpose since it will fire every time puppet runs and doesn't describe state but rather an action. Are you having a problem sending a refresh event to the OpenVPN service resource? I recommend configuring the configuration files to notify Service["openvpn"] Hope this helps, -- Jeff McCune http://www.puppetlabs.com/ -- 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.