On Fri, Aug 15, 2014 at 7:31 AM, Vikas Kumar <vikas...@gmail.com> 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/CAMvPdm1i%2BxXj54W-8rBTw5mRXmnQtCzd7sZF7%2B9mzePdcjMAsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to