summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb
AgeCommit message (Collapse)Author
2015-10-06[feat] remove tapicero leftoversvarac
Soledad now creates user-dbs, which has been done by tapicero in the past. we need to remove any leftovers from tapicero.
2015-10-05Merge branch 'soledad_userdb_creation' into developvarac
2015-10-05[feat] Create-user-db: use couchdb admin rightsvarac
- create soledad-admin user - deploy netrc file for userdb creation - Move soledad-server.conf from /etc/leap to /etc/soledad - make soledad-server.conf group-accessible for the soledad group, so the soledad-admin user can read it - Resolves: #7502
2015-09-28Create invite code db and design docsankonym
2015-06-22Merge branch '6067_plain_couchdb' into developvarac
2015-06-21Support plain couchdb (#6067)varac
The bigcouch specific class ordering from site_couchdb::create_dbs needed to move to site_couchdb::bigcouch, otherwise a plain couchdb setup would try to include bigcouch classes and fail. Change-Id: I06742d4a12c5b40c9c9faa90441734e6926d422d
2015-06-21linted create_dbs.ppvarac
Change-Id: I9e46286c402adc06f3f815f8a1eea11fe82c7c39
2015-06-11use couch.pwhash_alg hiera variable for hashing couchdb admin pwvarac
use this to run a single, plain couchdb node, using couchdb 1.6 from the leap repo: "couch": { "master": true, "pwhash_alg": "pbkdf2" } Change-Id: Ie4f34c2c5cb9feca7a10450bcf0bc260c8aa9d33
2015-04-08move rotated db creation to site_couchdb and fix rotated db testselijah
2015-03-30added support for rotating couchdb databases.elijah
2015-02-03don't create dbs before couch cluster is settledvarac
Change-Id: Ifd665eb7efc06c1cf9e7b8fcfd5f42dbb34ac1b1
2014-12-04Merge remote-tracking branch 'leap/develop' into check_dhcpChristoph Kluenter
2014-11-20ship a modified runit config for bigcouch that raises the open fileMicah Anderson
descriptor limits to account for bigcouch sync spikes (#4935) Change-Id: I242fba31f961b6139ec641e1708b170f5c0d009b
2014-11-04change ordering hints to use refresh_stunnel exec instead of service (#6287)Micah Anderson
In a multi-node couch deployment, it was observed that the Service['stunnel'] would be activated, and then later a stunnel::client was created which would trigger an Exec['refresh_stunnel']. Because of this, and the ordering hints that were in place, the service would get started, and then the couchdb databases, users, designs, etc. were being put into place and then a stunnel client was created, triggering the refresh_stunnel exec, which would cause an interruption in the connectivity and result in failures. This change replaces the Service['stunnel'] hint with the the Exec['refresh_stunnel'] to make sure that the stunnels are fully setup before attempting couch operations. Change-Id: I33ddd24884b3c23a1df5555ca53ca65cd703da50
2014-10-31Fix deprecated dynamic lookups of variables in site_couchdb (#6286)Micah Anderson
Change-Id: I318944a6872a53ff9c533704514da339426d9401
2014-09-29ensure dhclicent and resolv.conf are configured before bigcouchChristoph Kluenter
2014-09-17Increase wait-for-couch timeout (Bug #3735)varac
Site_couchdb::Bigcouch::Settle_cluster/Exec[wait_for_couch_nodes] waits 60s for all nodes to be member of the cluster. Because we deploy to multiple nodes in parallel, not all nodes are ready at the same time, so we increased the timeout from 60s to 120s.
2014-06-25lint site_couchdbelijah
2014-06-25create netrc files for all users with new puppet_couchdbAzul
This only works with the latest patch to puppet_couchdb
2014-06-25minor: fix typo in replication user rolesAzul
2014-06-25add replication userAzul
2014-06-25site_couchdb: support auto-stunnel setup, split master, bigcouch, and mirror ↵elijah
out into separate files.
2014-06-25new generic system for stunnel: just `include site_stunnel` and stunnel + ↵elijah
needed shorewall will be automatically set up. requires new leap_cli
2014-06-25first steps towards mirroring couchAzul
2014-06-25separate bigcouch specifics from init.ppAzul
2014-06-25split bigcouch stunnel from plain couch stunnelAzul
2014-04-17change class instantiating to be includes and organizing things in theMicah Anderson
class to be more visually logical (#5269, #4590, #3712) Change-Id: I58c28c3bc62e67b25f33da3378e8146110471613
2014-04-17Change couchdb ordering hints (#5269, #4590, #3712):Micah Anderson
. make the couchdb service start after the stunnels have been setup. This may improve the cluster membership coming online faster . replace the two Couchdb::Create_db ordering hints (for the 'users' and 'tokens' databases) with a generic Class['site_config::create_dbs'] hint. This makes it so we get the ordering hint for all databases, which we were not before, without having to individually list them . replace the two Couchdb::Add_user ordering hints (for the $couchdb_webapp_user and the $couchdb_soledad_user) with a generic ordering hint for Class['site_couchdb::add_users'] ordering hint. This makes it so we get the ordering hint for all the users, which we were not before, without having to individually list them Change-Id: Ia63e62d68d24e77a49d4ef928a2a8130ab7bccb9
2014-04-17add exec resources to run the couchdb tests to wait for nodes andMicah Anderson
cluster membership to settle, before attempting any operations (#5269, #4590, #3712) Change-Id: Ic9826dda1c242e705ce85ae218766496bdd8ecbd
2014-04-15configure couchdb after starting shorewall (#53)varac
2014-04-10#5315 update soledad design docsAzul
2014-04-02couch design docs should be always deployed, not only on update of the ↵varac
design docs json files (Feature #5359)
2014-03-13deploy automatic compaction via platform (Feature #4798)varac
2014-03-04watch syslog for stunnel issues on couch nodesvarac
2014-02-26update design docs, include messages (#5188)Azul
2014-02-26create 'messages' db to store messages to the clients such as payment remindersvarac
reviewed by azul
2014-02-19add site_check_mk::agent::tapicero, site_check_mk::agent::couchdbvarac
2014-02-13added site_check_mk::agent::couchdb and site_check_mk::agent::soledad for ↵varac
local checks
2014-01-30Merge branch 'feature/4889_restrict_port_5984_proc_to_localhost' into develop0.5.0rc2varac
2014-01-21properly purge cloudant repository leftovers (#4971)varac
2014-01-20configure leap_platform to install our leap bigcouch package (Feature #4971)varac
2014-01-13load_design_documents.sh fails (Bug #4945)varac
2014-01-09fix function issues in webapp design documentsAzul
This change is a result of https://github.com/leapcode/leap_web/pull/133. Both should be deployed at the same time to prevent conflicts.
2014-01-07restrict bigcouch chttp proc to localhostvarac
2013-12-31add design docs for new soledad version to shared dbAzul
2013-12-19Deploy /etc/leap/couchdb_scripts_defaults.conf so we can exclude some DBs, ↵varac
i.e. sessions + tokens (#4794)
2013-12-17fix name of customers couchdb database (#4787)Micah Anderson
Change-Id: I704a1d46069f975711323ff8e6a634d06c267157
2013-11-28remove duplicate couchdb design document json filesMicah Anderson
Change-Id: I5b3d073aec0522cf464ff41905be1ee326f13197
2013-11-28setup customer couchdb databaseMicah Anderson
Change-Id: Ic0e9f5f6a1f28d865d7757a9de0d9399a6a9a5e3 Conflicts: puppet/modules/site_couchdb/manifests/init.pp
2013-11-27add missing nickserver hiera value lookupMicah Anderson
Change-Id: I77061054f4768f0677ca9c498e6cd6d5df4ff806