[Ovirt-devel] [PATCH PuppetInstaller] Make use of the environment variables parameter so we are not combining two calls in one exec.
Joey Boggs
jboggs at redhat.com
Fri Dec 19 21:16:14 UTC 2008
ack, applied
Bryan Kearney wrote:
> ---
> 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" :
>
More information about the ovirt-devel
mailing list