Displaying 1 result from an estimated 1 matches for "addallowgroup".
2010 Dec 23
2
Multiple AllowGroups entries in sshd_config with Puppet and Augeas
...39;'t
work as I expected :( So I''m sharing my thoughts here.
The main objective is allowing multiple groups per-node, depending on
what the security team wants. Since I want this to be dynamic, I
created a define in a class:
class ssh::server::config inherits ssh::config {
define addallowgroup() {
augeas {
"sshd_conf_group_${name}":
context => "/files/etc/ssh/sshd_config",
require => File["/etc/ssh/sshd_config"],
notify => Service["sshd"],
changes => &qu...