~billy-olsen/charms/trusty/mongodb/lp1513094

  • Committer: Billy Olsen
  • Date: 2016-05-12 20:26:38 UTC
  • mfrom: (86.1.1 mongodb)
  • Revision ID: billy.olsen@canonical.com-20160512202638-jnd3d1ucckvxecwk
Move parameter logic from altering init conf file to the /etc/mongodb.conf
file. The mongdob service is already configured to read parameters from the
/etc/mongodb.conf file and moving the configuration options inside the
config file allows the systemd style service to start properly.

Also, as of MongoDB 2.6, the specification of master/slave flags on startup
is not allowed to be specified with the replicaset flags. This change allows
for the master/slave flag to be specified in the /etc/mongodb.conf file only
when the replica-set (peer) relation has not been established. Prior to
versions of MongoDB 2.6, specifying the master/slave flag on startup did not
cause MongoDB to error out and MongoDB ignored the flag.

Closes-Bug: #1513094
Filename Latest Rev Last Changed Committer Comment Size
..
actions 68.1.1 8 years ago Adam Israel Add support for benchmarking via juju actions Diff
bin 47.2.1 9 years ago Charles Butler Adds charmhelpers, and refactors to green light de Diff
charmhelpers 77.1.10 8 years ago mattyw charmhelpers: Moved to common location Diff
exec.d 50.2.1 9 years ago Gareth Woolridge Add exec.d preinstall support for basenode, pull i Diff
files 53.7.1 9 years ago Brad Marshall [bradm] Add initial nrpe checks Diff
hooks 1 12 years ago Juan L. Negron Initial commit Diff
scripts 32.1.1 10 years ago vincenzo di somma First attempt to mount persistent volume. Diff
templates 28.1.1 11 years ago Rick Harding Add support for mongodump backups via config. Diff
tests 14 12 years ago Clint Byrum adding port change test (currently fails) Diff
unit_tests 59.1.1 9 years ago Jorge Niedbalski tidy and cleanup of makefile and test targets Diff
.bzrignore 56.1.48 9 years ago Mario Splivalo [mariosplivalo] Made mongodb install on precise by 100 bytes Diff Download File
__init__.py 47.2.1 9 years ago Charles Butler Adds charmhelpers, and refactors to green light de Empty Diff Download File
actions.yaml 77.1.2 8 years ago mattyw actions/retore: Added an action for mongorestore 2.3 KB Diff Download File
charm-helpers-sync.yaml 77.1.10 8 years ago mattyw charmhelpers: Moved to common location 192 bytes Diff Download File
config.yaml 78.2.4 8 years ago jrwren at xmtp categories is now tags. config key now defaults t 7.5 KB Diff Download File
copyright 15 12 years ago Juan L. Negron Updated copyright file 757 bytes Diff Download File
icon.svg 31 11 years ago Marco Ceppi Added icon.svg 20.5 KB Diff Download File
Makefile 85.1.2 8 years ago Ryan Beisner Run charm-proof in lint make target 1.7 KB Diff Download File
metadata.yaml 85.1.1 8 years ago Ryan Beisner Update maintainers 1.2 KB Diff Download File
README.md 84.1.1 8 years ago Mario Splivalo Fix the wrong name of the method to reconfigure re 11.2 KB Diff Download File
revision 46 10 years ago Juan L. Negron Updating revision 3 bytes Diff Download File
setup.cfg 56.1.33 9 years ago Mario Splivalo Merged with billy-olsen's changes 75 bytes Diff Download File
test_requirements.txt 85.1.2 8 years ago Ryan Beisner Run charm-proof in lint make target 66 bytes Diff Download File