summaryrefslogtreecommitdiff
path: root/manifests/bigcouch.pp
AgeCommit message (Collapse)Author
2016-04-28[style] Future parser: Remove space after resourcevarac
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
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-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
2013-08-13due 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-04-04clean-up commit: lint, standardize spacing, properly enclose variables, etcMicah Anderson
2013-03-13moved cloudant bigcouch package repo to a seperate classvarac
2013-03-12don't use runit provider for bigcouch (see #1959)varac
2013-03-11/etc/couchdb: install bigcouch package firstvarac
2013-03-11include bigcouch::debian in init.pp instead of bigcouch.ppvarac
2013-03-10mostly finished bigcouch supportvarac