From cc602111d511df030899146762afb81ce85bd64a Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 24 Mar 2011 00:19:21 +0000 Subject: - fix latest commit --- modules/youri-check/manifests/init.pp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'modules/youri-check') diff --git a/modules/youri-check/manifests/init.pp b/modules/youri-check/manifests/init.pp index 095aaae4..f3fc61a2 100644 --- a/modules/youri-check/manifests/init.pp +++ b/modules/youri-check/manifests/init.pp @@ -1,8 +1,10 @@ class youri-check { - $location = "/var/www/youri-check" - $vhost = "check.$domain" + class variable { + $location = "/var/www/youri-check" + $vhost = "check.$domain" + } - class check { + class check inherits variable { $user = 'youri' $home = '/var/tmp/youri' $outdir = "$home/www" @@ -32,7 +34,7 @@ class youri-check { } } - class website($vhost="$vhost", $location="$location") { + class website inherits variable { file { "$location": ensure => directory, owner => apache, -- cgit v1.2.1