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
Affected Puppet, Ruby, OS and module versions/distributions
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
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