Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/defaultsites.pp')
-rw-r--r--org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/defaultsites.pp14
1 files changed, 6 insertions, 8 deletions
diff --git a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/defaultsites.pp b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/defaultsites.pp
index 88fff969a..10183d121 100644
--- a/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/defaultsites.pp
+++ b/org.eclipse.mylyn.bugzilla.releng/modules/bugzilla/manifests/defaultsites.pp
@@ -90,33 +90,31 @@ define bugzilla::defaultsites {
target => "/etc/apache2/sites-available/default-ssl",
}
- exec { "create $bugzilla::toolsDir":
- command => "mkdir $bugzilla::toolsDir",
- creates => "$bugzilla::toolsDir",
- require => Exec['phpmyadmin_Apache2']
- }
-
exec { "create $bugzilla::bugzillaBase":
- command => "mkdir $bugzilla::bugzillaBase",
+ command => "mkdir -p $bugzilla::bugzillaBase",
creates => "$bugzilla::bugzillaBase",
- require => Exec["create $bugzilla::toolsDir"]
+ user => "$bugzilla::userOwner",
+ require => Exec['phpmyadmin_Apache2']
}
exec { "create $bugzilla::installHelper":
command => "mkdir $bugzilla::installHelper",
creates => "$bugzilla::installHelper",
+ user => "$bugzilla::userOwner",
require => Exec["create $bugzilla::bugzillaBase"]
}
exec { "create $bugzilla::confDir":
command => "mkdir $bugzilla::confDir",
creates => "$bugzilla::confDir",
+ user => "$bugzilla::userOwner",
require => Exec["create $bugzilla::bugzillaBase"]
}
exec { "create $bugzilla::installLog":
command => "mkdir $bugzilla::installLog",
creates => "$bugzilla::installLog",
+ user => "$bugzilla::userOwner",
require => Exec["create $bugzilla::bugzillaBase"]
}

Back to the top