From 44deb58dcb1ab690bf639692d8f2666852dda6a4 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sat, 29 Sep 2012 08:24:34 +0000 Subject: use full path to /usr/bin/test --- modules/mediawiki/manifests/instance.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/mediawiki') 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": -- cgit v1.2.1