aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 06db365..157f28a 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -15,6 +15,10 @@ class sshd {
}
default: {
service{'sshd':
+ name => $operatingsystem ? {
+ debian,ubuntu => 'ssh',
+ default => 'sshd',
+ },
enable => true,
ensure => running,
require => Package[openssh],
@@ -22,7 +26,7 @@ class sshd {
package{openssh:
name => $operatingsystem ? {
- centos => openssh-server,
+ centos,debian,ubuntu => openssh-server,
default => openssh,
},
category => $operatingsystem ? {