christianmlong + config + multi   1

How to use Augeas to add DenyUsers line to sshd_config - Ask Puppet: Puppet DevOps Q&A Community
However I'd strongly recommend you just use the augeasproviders module as it handles this and a number of edge cases that this snippet won't.

sshd_config { "DenyUsers":
ensure => present,
value => [""],
puppet  augeas  augeasproviders  ssh  config  configuration  multi  line  ssh_config 
january 2017 by christianmlong

Copy this bookmark: