Erling Ringen Elvsrud
2014-May-22 08:21 UTC
[Puppet Users] Using augeas to insert two lines unless they alrdy exist
Hi, I try to accomplish this with Puppet / Augeas: Insert: Match User <foo> banner "none" at the end of /etc/ssh/sshd_config unless the two lines are alredy present. I'm aware of the sshd_config_provider from http://augeasproviders.com which seems like the simplest solution for this, but at this time I cannot change the puppet installation to support this. I appreciate if anyone can post a suggested solution for this task. Best regards, Erling -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/18b690fd-dfc0-46ac-9b79-0ff215d3ea22%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.