~billy-olsen/charms/xenial/mongodb/removeMasterSlave

« back to all changes in this revision

Viewing changes to config.yaml

  • Committer: Billy Olsen
  • Date: 2016-05-04 23:39:18 UTC
  • Revision ID: billy.olsen@canonical.com-20160504233918-itj56qs79g9vrjof
Remove the master option from the charm config to drop support for
master/slave replication. Specify the replSet option in the /etc/mongodb.conf
file instead of modifying the /etc/init/mongodb.conf file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
    default: auto
120
120
    type: string
121
121
    description: Replica Set master (optional). Possible values are 'auto' for automatic detection based on install time or 'host:port' to connect to 'host' on 'port' and register as a member.
122
 
  master:
123
 
    default: "self"
124
 
    type: string
125
 
    description: Who is the master DB. If not "self", put the Master DB here as "host:port"
126
122
  config_server_port:
127
123
    default: 27019
128
124
    type: int