summaryrefslogtreecommitdiff
path: root/puppet/modules/site_webapp/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-04-16 13:58:43 -0400
committerMicah Anderson <micah@riseup.net>2013-04-16 13:58:43 -0400
commit7b6882212da16b7f3e778919f6c8c018c6d1111b (patch)
treea1155ee57627c45cfbba695a48c097968d7c26b2 /puppet/modules/site_webapp/manifests
parent9a6026af4f781d081274eb2884e0662dfdd54a07 (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.pp8
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