Mongodb auth=true

asked 2014-02-13 05:38:21 -0600

kees gravatar image

updated 2014-03-31 13:45:50 -0600

spuder gravatar image

I can deploy, create database and users fine as long as i have auth=>false But we like to have Authentication enabled. But as soon as i have auth set to true puppet starts to complain it cant connect anymore or that it needs to login.

How can i have puppet circumvent this problem?

Update

I used the following classes to setup mongodb when changing the auth=>false to true puppet will give me the following errors. I'm wondering if there is a way to enable the auth but still be able to initiate users/dbases with puppet. Maybe ... (more)

edit retag flag offensive close merge delete

Comments

Can you please share more detail? What module do you use to create your mongodb databases? Where does the `auth=true` come from? Can you please provide the actual manifest ...(more)

Stefan gravatar imageStefan ( 2014-02-13 12:55:43 -0600 )edit
spuder gravatar imagespuder ( 2014-03-31 13:46:45 -0600 )edit