summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorandreas <andreas@immerda.ch>2009-02-16 09:00:00 +0000
committerandreas <andreas@immerda.ch>2009-02-16 09:00:00 +0000
commitfe7bbe60906614631a2e86a004324f6b36470b6e (patch)
tree55105b86e2934b8d5971f7625a73ff2d8c77511f /manifests
parent2ec5b392cc57b321f2be3890888c8f5726742040 (diff)
wrong comma position, dependency for writable dirs
Diffstat (limited to 'manifests')
-rw-r--r--manifests/defines/vhost_varieties.pp44
1 files changed, 17 insertions, 27 deletions
diff --git a/manifests/defines/vhost_varieties.pp b/manifests/defines/vhost_varieties.pp
index 78e2921..d545ef6 100644
--- a/manifests/defines/vhost_varieties.pp
+++ b/manifests/defines/vhost_varieties.pp
@@ -248,36 +248,26 @@ define apache::vhost::php::joomla(
}
$writable_dirs = [
- "$documentroot/administrator/backups"
- ,"$documentroot/administrator/components"
- ,"$documentroot/administrator/language"
- ,"$documentroot/administrator/modules"
- ,"$documentroot/administrator/templates"
- ,"$documentroot/components"
- ,"$documentroot/dmdocuments"
- ,"$documentroot/images"
- ,"$documentroot/language"
- ,"$documentroot/media"
- ,"$documentroot/modules"
- ,"$documentroot/plugins"
- ,"$documentroot/templates"
- ,"$documentroot/cache"
- ,"$documentroot/administrator/cache"
+ "$documentroot/administrator/backups",
+ "$documentroot/administrator/components",
+ "$documentroot/administrator/language",
+ "$documentroot/administrator/modules",
+ "$documentroot/administrator/templates",
+ "$documentroot/components",
+ "$documentroot/images",
+ "$documentroot/language",
+ "$documentroot/media",
+ "$documentroot/modules",
+ "$documentroot/plugins",
+ "$documentroot/templates",
+ "$documentroot/cache",
+ "$documentroot/administrator/cache"
]
- apache::file::rw{$writable_dirs:}
+ apache::file::rw{$writable_dirs:
+ require => Git::Clone["git_clone_$name"]
+ }
-# file{$writable_files:
-# ensure => directory
-# ,mode => 0770
-# ,require => Git::Clone["git_clone_$name"]
-# }
-# file{$writable_files:
-# owner => $owner,
-# group => $group,
-# require => Git::Clone["git_clone_$name"]
-# }
-
# create vhost configuration file
apache::vhost{$name:
path => $path,