diff options
author | Micah Anderson <micah@riseup.net> | 2013-04-16 13:58:43 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-04-16 13:58:43 -0400 |
commit | 7b6882212da16b7f3e778919f6c8c018c6d1111b (patch) | |
tree | a1155ee57627c45cfbba695a48c097968d7c26b2 /puppet/modules/site_webapp/manifests | |
parent | 9a6026af4f781d081274eb2884e0662dfdd54a07 (diff) |
move secret token into the config.yaml
Diffstat (limited to 'puppet/modules/site_webapp/manifests')
-rw-r--r-- | puppet/modules/site_webapp/manifests/init.pp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/puppet/modules/site_webapp/manifests/init.pp b/puppet/modules/site_webapp/manifests/init.pp index 1e6abe42..636a156d 100644 --- a/puppet/modules/site_webapp/manifests/init.pp +++ b/puppet/modules/site_webapp/manifests/init.pp @@ -111,12 +111,8 @@ class site_webapp { content => template('site_webapp/config.yml.erb'), owner => leap-webapp, group => leap-webapp, - mode => '0600'; - - '/srv/leap-webapp/config/initializers/secret_token.rb': - content => "LeapWeb::Application.config.secret_token = '${secret_token}'\n", - owner => leap-webapp, group => leap-webapp, mode => '0644', - notify => Service['apache']; + mode => '0600', + notify => Service['apache']; } include site_shorewall::webapp |