From 9ebb3866e4e446d29edabcdbcbba659fe6cd0405 Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 2 Feb 2008 00:13:31 +0000 Subject: added Debian specific stuff git-svn-id: https://svn/ipuppet/trunk/modules/sshd@729 d66ca3ae-40d7-4aa7-90d4-87d79ca94279 --- manifests/init.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 ? { -- cgit v1.2.3