diff options
author | Micah Anderson <micah@leap.se> | 2013-11-28 09:54:37 -0500 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2013-11-28 09:54:37 -0500 |
commit | 7f59d8c7f5a41125c17271b1cd55118dafa52151 (patch) | |
tree | 4bcc9cf137cfbc6bf1e98f44787a3fe5c01be224 /puppet/modules/site_webapp/manifests/init.pp | |
parent | bf563b722126c0e6ae1d8f2f830be03e006664a1 (diff) |
remove admin access from webapp
Change-Id: Ib2ce0d38a8e4dd30ae6842bfb5579d9c3dd10f18
Diffstat (limited to 'puppet/modules/site_webapp/manifests/init.pp')
-rw-r--r-- | puppet/modules/site_webapp/manifests/init.pp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/puppet/modules/site_webapp/manifests/init.pp b/puppet/modules/site_webapp/manifests/init.pp index cb94d328..ae644287 100644 --- a/puppet/modules/site_webapp/manifests/init.pp +++ b/puppet/modules/site_webapp/manifests/init.pp @@ -65,9 +65,11 @@ class site_webapp { } # - # NOTE: in order to support a webapp that is running on a subpath and not the root of the domain - # assets:precompile needs to be run with RAILS_RELATIVE_URL_ROOT=/application-root + # NOTE: in order to support a webapp that is running on a subpath and not the + # root of the domain assets:precompile needs to be run with + # RAILS_RELATIVE_URL_ROOT=/application-root # + exec { 'compile_assets': cwd => '/srv/leap/webapp', command => '/bin/bash -c "RAILS_ENV=production /usr/bin/bundle exec rake assets:precompile"', |