summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-11no space should be before argument parenthesesvarac
2015-06-11added pbkdf2 function for hashing passwords using the pbkdf2 algorithmvarac
i.e., couchdb v1.3 changed the default pw hashing algorithm from sha1 to pbkdf2, see http://docs.couchdb.org/en/1.4.x/configuring.html
2015-06-11Merge branch 'facter_version_pwhash_algorithm'varac
2015-06-11Use pbkdf2 instead of sha1 as hashing algorithm for newer couchdb versionsvarac
couchdb v1.3 changed the default pw hashing algorithm from sha1 to pbkdf2, see http://docs.couchdb.org/en/1.4.x/configuring.html
2015-06-11added facts couchdb_version and couchdb_pwhash_algvarac
couchdb v1.3 changed the default pw hashing algorithm from sha1 to pbkdf2, see http://docs.couchdb.org/en/1.4.x/configuring.html the "couchdb_pwhash_alg" fact shows the currently used algorithm by checking the "couchdb_version" fact.
2015-05-14ensure that set_document raises an exception or a valid result, but never ↵elijah
nil. resolves #6850, i think.
2015-04-26correctly log errors when restclient exceptions do not have a response.elijah
2015-02-03update couch-doc-update to use a more specific exception check (#6699)Micah Anderson
2015-01-13Also retry and wait if the response code is 422 (#6571)Micah Anderson
2014-11-02retry 500 Internal Server Errors a few times in order to get past timing ↵Micah Anderson
issues related to node deployment (#6287)
2014-07-14set owner of replication so comparison worksAzul
The owner is automagically set when creating a replication. we get the replication doc to test if it's up to date. For the comparison to work we need to set the owner too.
2014-07-14fix dependenciesAzul
2014-06-25Merge branch 'azul-feature/mirror_plain_couch'elijah
2014-06-25minor lintelijah
2014-06-23use replication user for creating the replicationsAzul
2014-06-23create netrc files for all usersAzul
2014-06-23update couch-doc-update to also filter _replication fieldsAzul
we only need to keep id and rev to prevent conflicts
2014-06-20allow setting custom netrc in query and document definesAzul
We need to perform some actions as the replication user for plain couch.
2014-06-19first stab at replicating couch nodesAzul
from should probably be a local port and we should use stunnels to connect to the master
2014-04-17fix for narrow timing issue that occurs when the check for a document ↵Micah Anderson
existence fails, but then the document appears in the cluster before the script is able to put the document, causing a 409 Conflict (#5523)
2014-01-21add $ensure paramter to couchdb::bigcouch::package::cloudant so resources ↵varac
can get purged
2014-01-07make chttp bigcouch processes listen only on 127.0.0.1 (Bug #4889)varac
2014-01-04make bigcouch admin process listen only on 127.0.0.1 (Bug #4888)varac
2013-12-16Use Hash#delete_if as it returns the hash in all cases.Azul
Hash#reject! returns nil if nothing was rejected. But we always want the data from the file - no matter if it contained keys we remove or not.
2013-12-04add new couch-doc-update that uses MultiJson instead, this could prevent the ↵Micah Anderson
outdated json errors (#4622)
2013-12-03change couchdb::adduser to use couchdb::document instead of couchdb::updateMicah Anderson
2013-11-26enable uploading a document to couch from a file (#4256)Micah Anderson
2013-11-23more verbose error logging - also print the doc we triedAzul
2013-11-23fixed couch-doc-update: log errors to stderr and syslog (#4225)Azul
2013-11-23Revert "couch-doc-update: log errors to stderr and syslog (#4225)"Azul
This reverts commit d3153dd2da619035c0504b02f478796d656bb11d.
2013-11-22couch-doc-update: log errors to stderr and syslog (#4225)Azul
2013-10-22rename readers to members in couch setup (#4219)Azul
couch db readers actually are couchdb members ( they can read and write ). I think couch themselves changed the termology at some point but i might just have used the wrong term from the beginning on. Let's call them members either way because it's more clear that read only members require aditional design docs.
2013-10-16pin depending packages from squeeze for the bigcouch packagevarac
2013-09-25Merge branch 'feature/3709-check-security-before-overwriting'Azul
2013-09-20use require => rather than the -> syntaxAzul
2013-09-19Revert "don't use couchdb::document for creating _security, cause this ↵Azul
special doc doesn't have an _id (#3706)" This reverts commit dacaeb4d98be9468336923f5501822d389bda768. couch-doc-update and thus couchdb::document now also work for _security documents. We simply add the given _id when none is present in the existing doc. Using the normal saving of CouchRest::Document then works.
2013-09-19couch-doc-update now also works for _securityAzul
It also clears doc fields that are not set in the new data when updating a doc.
2013-09-18use curl -f instead of curl | grep -v "error"Azul
curl -f will fail if a 400 or 500 response code is returned
2013-09-16Improve couch doc diff (#3761)Azul
Both the couch document and the second paramter will be pretty printed before comparison so differences in spaces etc. do not matter. All keys starting with an underscore on the couch such as _id and _rev will be removed before the comparison - we assume we want to compare the real data, not the metadata about the document as we usually do not know or care about what the id and revision will be.
2013-09-04lintedvarac
2013-09-04lintedvarac
2013-09-04linted add_user.ppvarac
2013-09-04bigcouch nodes doesn't get registered as cluster members (Bug #3703)varac
2013-09-04make curl silentvarac
2013-09-04don't use couchdb::document for creating _security, cause this special doc ↵varac
doesn't have and _id (#3706)
2013-08-30couchdb: update_user_webapp fails (Bug #3611)varac
2013-08-29fixed merge resolution error from last mergevarac
2013-08-29Merge branch 'master' of ssh://code.leap.se/puppet_couchdbvarac
Conflicts: manifests/create_db.pp
2013-08-29puppet couchdb module doesn't create necessary databases anymore (Bug #3594)varac
2013-08-28minor: cleanup spacing (feature #3485)Azul