Same configuration change we did with augtool
class ssh { augeas{ "ssh": context => "/files/etc/ssh/sshd_config", changes => [ "set PasswordAuthentication no" ], notify => Service["sshd"] } service{ sshd: ensure => true, enable => true, hasrestart => true } ... }configuration change triggers sshd restart