From 8528d604a4fdc6ab242f05d522d66dd4f1c90f3c Mon Sep 17 00:00:00 2001 From: Ashley Penney Date: Wed, 14 Aug 2013 20:26:51 -0400 Subject: Remove variables, switch to inherits. This commit removes all the local copies of variables in the subclasses and simply inherits the main class in order to bring variables into the right scope. --- manifests/install.pp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'manifests/install.pp') diff --git a/manifests/install.pp b/manifests/install.pp index e175964..098949c 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -1,8 +1,5 @@ # -class ntp::install { - - $package_ensure = $ntp::package_ensure - $package_name = $ntp::package_name +class ntp::install inherits ntp { package { 'ntp': ensure => $package_ensure, -- cgit v1.2.3