Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-29 | remove debugging leftover notice() | varac | |
2015-06-11 | Use pbkdf2 instead of sha1 as hashing algorithm for newer couchdb versions | varac | |
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-14 | set owner of replication so comparison works | Azul | |
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-14 | fix dependencies | Azul | |
2014-06-25 | minor lint | elijah | |
2014-06-23 | use replication user for creating the replications | Azul | |
2014-06-23 | create netrc files for all users | Azul | |
2014-06-20 | allow setting custom netrc in query and document defines | Azul | |
We need to perform some actions as the replication user for plain couch. | |||
2014-06-19 | first stab at replicating couch nodes | Azul | |
from should probably be a local port and we should use stunnels to connect to the master | |||
2014-01-21 | add $ensure paramter to couchdb::bigcouch::package::cloudant so resources ↵ | varac | |
can get purged | |||
2014-01-07 | make chttp bigcouch processes listen only on 127.0.0.1 (Bug #4889) | varac | |
2013-12-03 | change couchdb::adduser to use couchdb::document instead of couchdb::update | Micah Anderson | |
2013-10-22 | rename 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-16 | pin depending packages from squeeze for the bigcouch package | varac | |
2013-09-25 | Merge branch 'feature/3709-check-security-before-overwriting' | Azul | |
2013-09-20 | use require => rather than the -> syntax | Azul | |
2013-09-19 | Revert "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-18 | use curl -f instead of curl | grep -v "error" | Azul | |
curl -f will fail if a 400 or 500 response code is returned | |||
2013-09-04 | linted | varac | |
2013-09-04 | linted | varac | |
2013-09-04 | linted add_user.pp | varac | |
2013-09-04 | bigcouch nodes doesn't get registered as cluster members (Bug #3703) | varac | |
2013-09-04 | make curl silent | varac | |
2013-09-04 | don't use couchdb::document for creating _security, cause this special doc ↵ | varac | |
doesn't have and _id (#3706) | |||
2013-08-30 | couchdb: update_user_webapp fails (Bug #3611) | varac | |
2013-08-29 | fixed merge resolution error from last merge | varac | |
2013-08-29 | Merge branch 'master' of ssh://code.leap.se/puppet_couchdb | varac | |
Conflicts: manifests/create_db.pp | |||
2013-08-29 | puppet couchdb module doesn't create necessary databases anymore (Bug #3594) | varac | |
2013-08-28 | minor: cleanup spacing (feature #3485) | Azul | |
2013-08-28 | use 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-28 | couch: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-28 | couch-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-27 | notify service couchdb if configuration files change | varac | |
2013-08-27 | deploy default.ini from template | varac | |
fixes https://leap.se/code/issues/3527 | |||
2013-08-21 | Merge remote-tracking branch 'origin/master' | Azul | |
2013-08-15 | The /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 | |||
2013-08-14 | default to undef so no command is run before the exec | Azul | |
2013-08-14 | use full path to curl for sake of consistency | Azul | |
2013-08-14 | only create couch database if it does not exist yet | Azul | |
2013-08-14 | only create or update a user record if needed | Azul | |
We test the user account by trying to use it to retrieve / on the couch which prints a welcome message if the user is valid and returns a 401 otherwise. | |||
2013-08-13 | due to the fact that other packages (such as python-couchdb) create and ↵ | Micah Anderson | |
manage /etc/couchdb, having a file resource that creates a symlink out of /etc/couchdb doesn't work, for example you can get this error: err: /Stage[main]/Couchdb::Bigcouch/File[/etc/couchdb]/ensure: change from directory to link failed: Could not remove existing file (Bug #3447) This commit resolves this by instead managing /opt/bigcouch (as this is where the bigcouch package is installed) and creating a symlink *from* /opt/bigcouch/etc -> /etc/couchdb before the bigcouch package is installed. This way, when the package is installed, the files will be placed in the /etc/couchdb directory and other packages that would create/manage /etc/couchdb would not get confused. | |||
2013-05-23 | add couchdb::bigcouch::add_node and couchdb::bigcouch::query | varac | |
2013-05-23 | use {} when no data is passed | varac | |
2013-04-24 | Use pre-salted+hashed admin pw for couchdb (Feature #1941) | varac | |
2013-04-24 | Use pre-salted+hashed user pw for couchdb (Feature #2324) | varac | |
2013-04-23 | replace single with double quotes when creating db, also for default values | varac | |
2013-04-04 | fix syntax error | Micah Anderson | |
2013-04-04 | fix $ednp_port variable name | Micah Anderson | |
2013-04-04 | add $ednp_port parameter to configure the erlang distributed node protocol port | Micah Anderson | |
2013-04-04 | clean-up commit: lint, standardize spacing, properly enclose variables, etc | Micah Anderson | |