Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create admin and repl set fail with password #414

Closed
eputnam opened this issue Oct 26, 2017 · 1 comment
Closed

create admin and repl set fail with password #414

eputnam opened this issue Oct 26, 2017 · 1 comment

Comments

@eputnam
Copy link
Member

eputnam commented Oct 26, 2017

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet:
  • Ruby:
  • Distribution: CentOS 7
  • Module version: 1.0.0

Any additional information you'd like to impart

migrated from JIRA

How to reproduce (e.g Puppet code you use)

The relevant settings for the setup

  class { 'mongodb::server':
    port           => 27017,
    dbpath         => '/data/mongo',
    bind_ip        => ['0.0.0.0'],
    auth           => true,
    keyfile        => '/opt/mongo/mongo-keyfile',
    replset        => 'rsmain',
    replset_config => {
      'rsmain' => {
        ensure  => present,
        members => ["${ip1}:27017", "${ip2}:27017"]
      }
    }
    ,
    create_admin   => true,
    admin_password => "test",
 }

i use the mongodb own repos
'https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.4/x86_64/'

Output log

Error: /Mongodb_user[User admin on db admin]: Only one of 'password_hash' or 'password' should be provided

@ekohl
Copy link
Member

ekohl commented Oct 27, 2017

fd739ef should fix this. Since it was reported with 1.0.0 and the fix is included in 1.1.0 I'm going to close this but please reopen this if it wasn't fixed.

@ekohl ekohl closed this as completed Oct 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants