[Ovirt-devel] [PATCH PuppetInstaller] Make use of the environment variables parameter so we are not combining two calls in one exec.
Bryan Kearney
bkearney at redhat.com
Fri Dec 19 19:02:34 UTC 2008
---
ace-ovirt/modules/ovirt/manifests/ovirt.pp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ace-ovirt/modules/ovirt/manifests/ovirt.pp b/ace-ovirt/modules/ovirt/manifests/ovirt.pp
index 84e47b2..2be45c5 100644
--- a/ace-ovirt/modules/ovirt/manifests/ovirt.pp
+++ b/ace-ovirt/modules/ovirt/manifests/ovirt.pp
@@ -61,9 +61,9 @@ class ovirt::setup {
single_exec { "db_migrate" :
cwd => "/usr/share/ovirt-server/",
- path => ["/bin"],
- command => "export RAILS_ENV='production' && /usr/bin/rake db:migrate",
- require => [File["/usr/share/ovirt-server/log"],Package[ovirt-server],Package[rubygem-rake]]
+ command => "/usr/bin/rake db:migrate",
+ require => [File["/usr/share/ovirt-server/log"],Package[ovirt-server],Package[rubygem-rake]],
+ environment => "RAILS_ENV=production"
}
file { "/usr/share/ovirt-server/log" :
--
1.6.0.4
More information about the ovirt-devel
mailing list