summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-21Typo, fixing last commitHEADmasterkwadronaut
2018-10-21Update couch module for Debian stretchkwadronaut
Puppet syntax of versioncmp and lsbdistcodename Fixes #1
2016-04-28[style] Future parser: Remove space after resourcevarac
2016-03-04keep couchdb admin.ini from changing on each puppet runelijah
2016-02-25Use pbkdf2 as pwhash algorythm, sha1 is outdatedvarac
2016-01-07pin couchrest to 1.2.0 on jessievarac
couchrest v1.2.1 doesn't build with default debian jessie rake version shipped as debian package (10.3.2) see https://leap.se/code/issues/7754
2015-12-01Merge pull request #7 from pixelated/add_gemfilevarac
add gemfile
2015-11-30Merge pull request #6 from pixelated/test_versioncmpvarac
make extra sure versioncmp behaves as expected
2015-11-26add gemfileChristoph
needed to run the tests in the ci
2015-11-26make extra sure versioncmp behaves as expectedChristoph
since we depend on versioncmp and that function had some bugs in the past, make sure it behaves as expected in our usecases
2015-11-26Merge pull request #5 from pixelated/use_versioncmpvarac
use versioncmp instead of operatingsystemmajrelease
2015-11-26use versioncmp instead of operatingsystemmajreleaseChristoph
operatingsystemmajrelease does not work on wheezy
2015-11-25Merge pull request #4 from pixelated/fix_couchbase_versionvarac
ensure couchrest is not too new
2015-11-25test if couchrest gets installed with the correct versionChristoph
the old unit tests were not working anymore
2015-11-25ensure couchrest is not too newChristoph
the latest version of couchrest depends on mime-types which depends on ruby 2.0
2015-11-03[feat] Support Debian Jessievarac
Add a documentation snippet to the README how to install couchdb from debian unstable.
2015-10-17[bug] Use package{} for installing couchdbvarac
we use package{} to install couchdb here because bigcouch.pp overwrites it and this won't work with ensure_packages() - Resolves: #7530
2015-10-14[feat] Use ensure_packages() instead of package{}varac
The rationale behind this is that many modules might ensure the same packages to be installed, and this will result in duplicate package definitions. ensure_packages() from the stdlib module with solve this. - Resolves: #7530
2015-10-13[bug] couchrest gem needs ruby-dev installedvarac
so we need to ensure this package is installed
2015-10-13[feat] Remove dependency to apt modulevarac
The couchdb module should not depend on other modules, if not needed. The dependency how packages should be installed should be configured globally, like: Exec['refresh_apt'] -> Package <| ( title != 'lsb' ) |> see https://leap.se/code/issues/2988 for including this in the shared apt module. - Related: https://leap.se/code/issues/2988
2015-10-13[bug] Make passing of admin_pw mandatoryvarac
2015-10-13[docs] Updated README, added example usagevarac
2015-10-08[docs] Add --delete to the couch-doc-update usagevarac
2015-10-08Merge pull request #3 from pixelated/couch-doc-update-deletevarac
Adds a --delete flag for couch-doc-update
2015-10-07Adds a --delete flag for couch-doc-updatekaeff
As part of removing tapicero, we need to remove a user from couch. This seems like a job for couch-doc-update. To delete a user: couch-doc-update --db _users --id org.couchdb.user:ca_daemon --delete
2015-06-29remove debugging leftover notice()varac
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.