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
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