Two more to add onto the series. These make use of a few more plugins and got me a clean run
Bryan Kearney
2008-Dec-19 19:02 UTC
[Ovirt-devel] [PATCH PuppetInstaller] Make use of the environment variables parameter so we are not combining two calls in one exec.
--- 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