diff options
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index c5386be..15b4720 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -5,13 +5,16 @@ modules_dir { "sshd": } class sshd { + + + service{'sshd': enable => true, ensure => running, require => Package[openssh], } - package{ssh: + package{openssh: name => $operatingsystem ? { centos => openssh-server, default => openssh, |