Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-26 | enable uploading a document to couch from a file (#4256) | Micah Anderson | |
2013-11-23 | more verbose error logging - also print the doc we tried | Azul | |
2013-11-23 | fixed couch-doc-update: log errors to stderr and syslog (#4225) | Azul | |
2013-11-23 | Revert "couch-doc-update: log errors to stderr and syslog (#4225)" | Azul | |
This reverts commit d3153dd2da619035c0504b02f478796d656bb11d. | |||
2013-11-22 | couch-doc-update: log errors to stderr and syslog (#4225) | Azul | |
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-19 | couch-doc-update now also works for _security | Azul | |
It also clears doc fields that are not set in the new data when updating a doc. | |||
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-16 | Improve 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-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 | limit the variable scope lookup | Micah Anderson | |
2013-04-04 | clean-up commit: lint, standardize spacing, properly enclose variables, etc | Micah Anderson | |
2013-03-31 | remove refresh_apt from apt::sources_list, it is already done by that define | Micah Anderson | |
2013-03-21 | make firewalling easier, start erlang vm on port 9001 | varac | |
see http://stackoverflow.com/questions/8459949/bigcouch-cluster-connection-issue#comment10467603_8463814 | |||
2013-03-15 | really replace single with double quotes when creating db | varac | |
2013-03-15 | replace single with double quotes when creating db | varac | |