Re: Stop service from restarting everytime cfengine runs

2010-04-02 Thread Nakarin Phooripoom
The culprit might be body classes satisfied as sshd_ready would be defined every time cfegnine runs. The body should look like the following to restart sshd when there is something changed. (promise_repaired not promise_kept) body classes satisfied(x) { promise_repaired => { "$(x)" }; } Cheers

Stop service from restarting everytime cfengine runs

2010-04-02 Thread Patrick de Ruiter
Gent's   I' currently got the following problem:   Every time cfengine run's it restarts the ssh daemon even when nothing is changed. How do I change this behaviour?   bundle agent sshd_config {     files:     linux::     # Copy the sshd server configuration file     "/etc