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