summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/parser/functions
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-08-13 17:22:13 -0400
committerMicah Anderson <micah@riseup.net>2013-08-13 17:22:13 -0400
commitf317163e8aa6abfc992df5ef65d99b0861488d41 (patch)
tree732bb93dceefee562a868b52781a675cc1f061ad /spec/unit/puppet/parser/functions
parent20deb0652ccfe105eddec6ba2ad32b8d633705f6 (diff)
due to the fact that other packages (such as python-couchdb) create and 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.
Diffstat (limited to 'spec/unit/puppet/parser/functions')
0 files changed, 0 insertions, 0 deletions