aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mediawiki
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2012-09-29 08:24:34 +0000
committerNicolas Vigier <boklm@mageia.org>2012-09-29 08:24:34 +0000
commit44deb58dcb1ab690bf639692d8f2666852dda6a4 (patch)
tree4361cb5fd0d8fe0aa5f7337169d07e28146f1c7c /modules/mediawiki
parentf4d62317305c1e6d1833cbda7376c96d4d819f1b (diff)
downloadpuppet-44deb58dcb1ab690bf639692d8f2666852dda6a4.tar
puppet-44deb58dcb1ab690bf639692d8f2666852dda6a4.tar.gz
puppet-44deb58dcb1ab690bf639692d8f2666852dda6a4.tar.bz2
puppet-44deb58dcb1ab690bf639692d8f2666852dda6a4.tar.xz
puppet-44deb58dcb1ab690bf639692d8f2666852dda6a4.zip
use full path to /usr/bin/test
Diffstat (limited to 'modules/mediawiki')
-rw-r--r--modules/mediawiki/manifests/instance.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mediawiki/manifests/instance.pp b/modules/mediawiki/manifests/instance.pp
index 4800114a..301c9809 100644
--- a/modules/mediawiki/manifests/instance.pp
+++ b/modules/mediawiki/manifests/instance.pp
@@ -38,7 +38,7 @@ define mediawiki::instance( $title,
exec { "deploy_db $name":
command => "php /usr/local/bin/init_wiki.php $wiki_root",
refreshonly => true,
- onlyif => "test -d $wiki_root/config",
+ onlyif => "/usr/bin/test -d $wiki_root/config",
}
file { "$wiki_root/LocalSettings.php":