~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
..
__init__.py 81.1.1 8 years ago Ryan Beisner sync charmhelpers for Mitaka cloud archive awarene 15.6 KB Diff Download File
archiveurl.py 81.1.1 8 years ago Ryan Beisner sync charmhelpers for Mitaka cloud archive awarene 6 KB Diff Download File
bzrurl.py 81.1.1 8 years ago Ryan Beisner sync charmhelpers for Mitaka cloud archive awarene 2.3 KB Diff Download File
giturl.py 81.1.1 8 years ago Ryan Beisner sync charmhelpers for Mitaka cloud archive awarene 2.4 KB Diff Download File