summaryrefslogtreecommitdiff
path: root/puppet/modules/site_webapp/manifests
diff options
context:
space:
mode:
authorkwadronaut <kwadronaut@leap.se>2013-09-02 12:05:14 +0200
committerkwadronaut <kwadronaut@leap.se>2013-09-02 12:05:14 +0200
commitd7de7d88d243644f13cc1118c7fdb31b11766008 (patch)
treea95b904f3371d4d31dc1654c91d1444f3058a1d2 /puppet/modules/site_webapp/manifests
parent15b94f811e90b171e9c8c84ebd7ef8b32bf4c0a7 (diff)
parente2782d2153e176416224fb7ed8eb37ca6ca98ff3 (diff)
Merge branch 'develop' of ssh://code.leap.se/leap_platform into develop
Diffstat (limited to 'puppet/modules/site_webapp/manifests')
-rw-r--r--puppet/modules/site_webapp/manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_webapp/manifests/init.pp b/puppet/modules/site_webapp/manifests/init.pp
index 84ec8fab..b3a556a6 100644
--- a/puppet/modules/site_webapp/manifests/init.pp
+++ b/puppet/modules/site_webapp/manifests/init.pp
@@ -55,7 +55,7 @@ class site_webapp {
exec { 'compile_assets':
cwd => '/srv/leap/webapp',
- command => '/usr/bin/bundle exec rake assets:precompile',
+ command => '/bin/bash -c "RAILS_ENV=production /usr/bin/bundle exec rake assets:precompile"',
user => 'leap-webapp',
logoutput => on_failure,
require => Exec['bundler_update'],