Displaying 1 result from an estimated 1 matches for "sshd_conf_group_sshus".
Did you mean:
sshd_conf_group_sshuser
2009 Mar 02
31
Using Augeas type to update sshd_config's AllowGroups
...hings that have multiple values (i.e. an Augeas tree) via Puppet.
If I run this in augtool:
augtool> set /files/etc/ssh/sshd_config/AllowGroups/1000 sshuser
augtool> save
I see this in /etc/ssh/sshd_config:
AllowGroups sshuser
However, if I try this in an Augeas type:
augeas { "sshd_conf_group_sshuser":
context => "/files/etc/ssh/sshd_config",
changes => "set /files/etc/ssh/sshd_config/AllowGroups/10000 sshuser",
}
I get the following errors from puppetd:
info: Caching catalog at /var/lib/puppet/localconfig.yaml
notice: Starting catalog run
/usr/share/a...