From dbabc49c150abe8f532c2eebc865a3e131e81c85 Mon Sep 17 00:00:00 2001 From: Marco Wessel Date: Tue, 4 Mar 2014 16:34:22 +0100 Subject: [PATCH] fix syntax --- manifests/client/install.pp | 4 ++-- manifests/server/install.pp | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/manifests/client/install.pp b/manifests/client/install.pp index 7c21342a1..6d7362dcd 100644 --- a/manifests/client/install.pp +++ b/manifests/client/install.pp @@ -1,7 +1,7 @@ -class ssh::client::install +class ssh::client::install { if !defined(Package[$ssh::params::client_package_name]) { package { $ssh::params::client_package_name: - ensure => $ensure, + ensure => $ssh::client::ensure, } } } diff --git a/manifests/server/install.pp b/manifests/server/install.pp index 65ea9bdbe..6d88157b5 100644 --- a/manifests/server/install.pp +++ b/manifests/server/install.pp @@ -1,10 +1,8 @@ -class ssh::server::install +class ssh::server::install { include ssh::params if !defined(Package[$ssh::params::server_package_name]) { package { $ssh::params::server_package_name: - ensure => $ensure, - blahblah => $ensure, - + ensure => $ssh::server::ensure, } } }