aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp7
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" }