From: Martyn Taylor <mtaylor(a)redhat.com>
---
recipes/aeolus/manifests/conductor.pp | 1 +
recipes/aeolus/manifests/rails.pp | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/recipes/aeolus/manifests/conductor.pp
b/recipes/aeolus/manifests/conductor.pp
index b3dc3aa..db356f6 100644
--- a/recipes/aeolus/manifests/conductor.pp
+++ b/recipes/aeolus/manifests/conductor.pp
@@ -110,6 +110,7 @@ class aeolus::conductor inherits aeolus {
cwd => '/usr/share/aeolus-conductor',
environment => "RAILS_ENV=production",
command => "/usr/bin/rake dc:prepare_repos",
+ logoutput => on_failure,
require => Package['aeolus-conductor'] }
diff --git a/recipes/aeolus/manifests/rails.pp b/recipes/aeolus/manifests/rails.pp
index 5586a8d..2b9e571 100644
--- a/recipes/aeolus/manifests/rails.pp
+++ b/recipes/aeolus/manifests/rails.pp
@@ -13,6 +13,7 @@ define rails::migrate::db($cwd="", $rails_env=""){
exec{"migrate_rails_database":
cwd => $cwd,
environment => "RAILS_ENV=${rails_env}",
+ logoutput => on_failure,
command => "/usr/bin/rake db:migrate"}
}
--
1.7.4