summaryrefslogtreecommitdiff
path: root/puppet/modules/site_webapp/manifests/couchdb.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2013-11-28 09:54:37 -0500
committerMicah Anderson <micah@leap.se>2013-11-28 09:54:37 -0500
commit7f59d8c7f5a41125c17271b1cd55118dafa52151 (patch)
tree4bcc9cf137cfbc6bf1e98f44787a3fe5c01be224 /puppet/modules/site_webapp/manifests/couchdb.pp
parentbf563b722126c0e6ae1d8f2f830be03e006664a1 (diff)
remove admin access from webapp
Change-Id: Ib2ce0d38a8e4dd30ae6842bfb5579d9c3dd10f18
Diffstat (limited to 'puppet/modules/site_webapp/manifests/couchdb.pp')
-rw-r--r--puppet/modules/site_webapp/manifests/couchdb.pp22
1 files changed, 0 insertions, 22 deletions
diff --git a/puppet/modules/site_webapp/manifests/couchdb.pp b/puppet/modules/site_webapp/manifests/couchdb.pp
index 5a5cccad..7f6ebbc6 100644
--- a/puppet/modules/site_webapp/manifests/couchdb.pp
+++ b/puppet/modules/site_webapp/manifests/couchdb.pp
@@ -4,8 +4,6 @@ class site_webapp::couchdb {
# haproxy listener on port localhost:4096, see site_webapp::haproxy
$couchdb_host = 'localhost'
$couchdb_port = '4096'
- $couchdb_admin_user = $webapp['couchdb_admin_user']['username']
- $couchdb_admin_password = $webapp['couchdb_admin_user']['password']
$couchdb_webapp_user = $webapp['couchdb_webapp_user']['username']
$couchdb_webapp_password = $webapp['couchdb_webapp_user']['password']
@@ -16,13 +14,6 @@ class site_webapp::couchdb {
include x509::variables
file {
- '/srv/leap/webapp/config/couchdb.yml.admin':
- content => template('site_webapp/couchdb.yml.admin.erb'),
- owner => leap-webapp,
- group => leap-webapp,
- mode => '0600',
- require => Vcsrepo['/srv/leap/webapp'];
-
'/srv/leap/webapp/config/couchdb.yml.webapp':
content => template('site_webapp/couchdb.yml.erb'),
owner => leap-webapp,
@@ -43,23 +34,10 @@ class site_webapp::couchdb {
group => leap-webapp,
mode => '0666',
require => Vcsrepo['/srv/leap/webapp'];
-
- '/usr/local/sbin/migrate_design_documents':
- source => 'puppet:///modules/site_webapp/migrate_design_documents',
- owner => root,
- group => root,
- mode => '0744';
}
include site_stunnel
- exec { 'migrate_design_documents':
- cwd => '/srv/leap/webapp',
- command => '/usr/local/sbin/migrate_design_documents',
- require => Exec['bundler_update'],
- notify => Service['apache'];
- }
-
$couchdb_stunnel_client_defaults = {
'connect_port' => $couch_client_connect,
'client' => true,