Displaying 1 result from an estimated 1 matches for "adding_nodes_to_the_tree".
2010 Dec 23
2
Multiple AllowGroups entries in sshd_config with Puppet and Augeas
...test1", "test2", "test3"]: }
}
Sadly, the "changes" and "onlyif" lines in the augeas type does not
work because the sshd_config''s lens creates a unique node/label for
each option. Quoting Augeas'' website:
"
http://augeas.net/page/Adding_nodes_to_the_tree
You can use a special trick to append to a list of nodes that all have
the same name, for example to append a new alias to an entry in
/etc/hosts:
set $hosts/1/alias[last()+1] myhost.example.com
The predicate [last()+1] forces set to create a new node. Of course,
after the node is created, it is...