Resource Type: mongodb_replset

Defined in:
lib/puppet/type/mongodb_replset.rb
Providers:
mongo

Overview

Manage a MongoDB replicaSet

Properties

  • ensure (defaults to: present)

    Ensure the replicaset is either present or absent

    Supported values:
    • present
  • members

    The replicaSet members config

  • settings

    The replicaSet settings config

Parameters

  • arbiter

    The replicaSet arbiter

  • initialize_host (defaults to: 127.0.0.1)

    Host to use for Replicaset initialization

  • name (namevar)

    The name of the replicaSet

  • provider

    The specific backend to use for this ‘mongodb_replset` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.