diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-07-21 11:01:33 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-07-21 11:01:33 -0300 |
commit | 0e9e1b6f2c5dca80c946f7944d47f1d28ba76920 (patch) | |
tree | b64edafd614991b54f5f8be4598702182220b991 /manifests | |
parent | 89aeace9b6367f144165334bbfbbdf7bd1da8359 (diff) |
Adding PrintMotd parameter to all templates and setting per-distro default value
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 66b7262..8b3361c 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -93,7 +93,12 @@ class sshd { '': { $sshd_ensure_version = "present" } } case $sshd_print_motd { - '': { $sshd_print_motd = "yes" } + '': { + case $operatingsystem { + debian,ubuntu: { $sshd_print_motd = "no" } + default: { $sshd_print_motd = "yes" } + } + } } case $sshd_shared_ip { '': { $sshd_shared_ip = "no" } |