summaryrefslogtreecommitdiff
path: root/manifests/install.pp
diff options
context:
space:
mode:
authorAshley Penney <ashley.penney@puppetlabs.com>2013-08-14 20:26:51 -0400
committerAshley Penney <ashley.penney@puppetlabs.com>2013-08-14 20:26:51 -0400
commit8528d604a4fdc6ab242f05d522d66dd4f1c90f3c (patch)
treec060fde7f3b96ef2e4284f6d4cd48f6f6c53bccb /manifests/install.pp
parent6eaf2b7fae275b3621b42ae0a83e1da07a0db08f (diff)
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.
Diffstat (limited to 'manifests/install.pp')
-rw-r--r--manifests/install.pp5
1 files changed, 1 insertions, 4 deletions
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,