Many thanks Jeffrey, working like a charm. On Friday, 15 August 2014 22:52:22 UTC+10, Jeffrey Watts wrote: > > On Fri, Aug 15, 2014 at 7:31 AM, Vikas Kumar <vika...@gmail.com > <javascript:>> wrote: > >> Dear All, >> >> I am trying to restart SSH daemon whenever /etc/ssh/sshd_config is >> modified. This is my class, it modifies the file but does not restarts the >> daemon. I have tried to use both *notify* and *subscribe* in vain. >> > > Change your subscribe line to Augeas["my-ssh"]. > > Good luck, > Jeffrey. > >
-- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/4cd4922f-9b63-4911-a568-3eff4f7b3c36%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.