summaryrefslogtreecommitdiff
path: root/manifests
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-11-26use versioncmp instead of operatingsystemmajreleaseChristoph
operatingsystemmajrelease does not work on wheezy
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-06-29remove debugging leftover notice()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
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-25minor lintelijah
2014-06-23use replication user for creating the replicationsAzul
2014-06-23create netrc files for all usersAzul
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-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
2013-12-03change couchdb::adduser to use couchdb::document instead of couchdb::updateMicah Anderson
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-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-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
2013-08-28use couchdb::document to create bigcouch node config (feature #3485)Azul
fixes the use of couch-doc-update with non standart hosts replaces couchdb::bigcouch::query with couchdb::bigcouch::document
2013-08-28couch:document - ensure state of a couch document - (feature #3485)Azul
also made the use of host, hostname and port a bit more consistent.
2013-08-28couch-doc-diff: diff of a document on the couch (feature 3485)Azul
Added the bash script couch-doc-diff. It runs a diff between the content of the couch document specified as the first parameter and the second parameter. Diff returns 0 if there is no difference. This way you can tell the data is already on the couch. The diff will ignore changes to whitespaces as these are usually irrelevant for security json docs.
2013-08-27notify service couchdb if configuration files changevarac
2013-08-27deploy default.ini from templatevarac
fixes https://leap.se/code/issues/3527
2013-08-21Merge remote-tracking branch 'origin/master'Azul
2013-08-15The /etc/couchdb directory wont exist until something creates it (such as ↵Micah Anderson
python-couchdb), and we cannot depend on those external resources. Because we setup a symlink to /etc/couchdb when the couchdb package gets installed it will try to write files there and will fail with the an error similar to the following: /Stage[main]/Couchdb::Base/File[/etc/couchdb/local.ini]/ensure: change from absent to file failed: Could not set 'file on ensure: No such file or directory - /etc/couchdb/local.ini.puppettmp_9420 at /srv/leap/puppet/modules/couchdb/manifests/base.pp:57 this change just manages the /etc/couchdb directory to make sure it exists before anything attempts to install there