Skip to content
This repository was archived by the owner on Mar 17, 2023. It is now read-only.

Conversation

@CpuID
Copy link

@CpuID CpuID commented Jan 10, 2014

fix for puppet >3.3, to ensure that the default init script is replaced, it now spits a warning of 'Warning: /Stage[main]/Mongodb/File[/etc/init.d/mongodb]: Ensure set to :present but file type is link so no content will be synced' under >3.3 otherwise, and this module blats out its own init scripts

Nathan Sullivan added 2 commits January 10, 2014 18:53
…ed. it now spits a warning of 'Warning: /Stage[main]/Mongodb/File[/etc/init.d/mongodb]: Ensure set to :present but file type is link so no content will be synced' under >3.3 otherwise, and this module blats out its own init scripts
@CpuID
Copy link
Author

CpuID commented Jan 10, 2014

Just to clarify, this is required as on Ubuntu, the mongodb-10gen package installs a symlink that points to /lib/init/upstart-job which causes the error. Changing from present to file forces the replacement.

dwerder added a commit that referenced this pull request Jan 10, 2014
fix for puppet >3.3 - /etc/init.d/mongodb init script
@dwerder dwerder merged commit 2c22cb0 into echocat:master Jan 10, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants