Displaying 1 result from an estimated 1 matches for "sshd_conf_group_test1".
2010 Dec 23
2
Multiple AllowGroups entries in sshd_config with Puppet and Augeas
...ast()+1]
should be called.
"
In the example on hosts, the "alias" label is already named. So I
can''t think on adding another node/label dynamically.
The alternative could be creating one augeas type for each group and
using them on the nodes, like this:
augeas {
"sshd_conf_group_test1":
context => "/files/etc/ssh/sshd_config",
require => File["/etc/ssh/sshd_config"],
notify => Service["sshd"],
changes => "set AllowGroups/1 test1",
onlyif => " match AllowGroups/1[.=''t...