aboutsummaryrefslogtreecommitdiffstats
path: root/modules/youri-check/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-03-24 00:19:21 +0000
committerMichael Scherer <misc@mageia.org>2011-03-24 00:19:21 +0000
commitcc602111d511df030899146762afb81ce85bd64a (patch)
tree5a81a7d4dc117fb03f12aa241a6f9cd7a63c3e7d /modules/youri-check/manifests
parent37f828ac03af4c5aa45fec3a6c24a912ed704cd8 (diff)
downloadpuppet-cc602111d511df030899146762afb81ce85bd64a.tar
puppet-cc602111d511df030899146762afb81ce85bd64a.tar.gz
puppet-cc602111d511df030899146762afb81ce85bd64a.tar.bz2
puppet-cc602111d511df030899146762afb81ce85bd64a.tar.xz
puppet-cc602111d511df030899146762afb81ce85bd64a.zip
- fix latest commit
Diffstat (limited to 'modules/youri-check/manifests')
-rw-r--r--modules/youri-check/manifests/init.pp10
1 files changed, 6 insertions, 4 deletions
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,