Age | Commit message (Collapse) | Author |
|
|
|
Puppet syntax of versioncmp and lsbdistcodename
Fixes #1
|
|
|
|
|
|
|
|
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
|
|
operatingsystemmajrelease does not work on wheezy
|
|
the latest version of couchrest depends on mime-types
which depends on ruby 2.0
|
|
Add a documentation snippet to the README how to install
couchdb from debian unstable.
|
|
we use package{} to install couchdb here because
bigcouch.pp overwrites it and this won't work
with ensure_packages()
- Resolves: #7530
|
|
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
|
|
so we need to ensure this package is installed
|
|
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
|
|
|
|
|
|
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 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.
|
|
|
|
|
|
|
|
|
|
We need to perform some actions as the replication user for plain couch.
|
|
from should probably be a local port and we should use stunnels to
connect to the master
|
|
can get purged
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
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.
|
|
curl -f will fail if a 400 or 500 response code is returned
|
|
|
|
|
|
|
|
|
|
|
|
doesn't have and _id (#3706)
|
|
|
|
|
|
Conflicts:
manifests/create_db.pp
|
|
|
|
|
|
fixes the use of couch-doc-update with non standart hosts
replaces couchdb::bigcouch::query with couchdb::bigcouch::document
|
|
also made the use of host, hostname and port a bit more consistent.
|
|
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.
|
|
|
|
fixes https://leap.se/code/issues/3527
|
|
|
|
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
|