commit | 5817a46dbcf6df6d2b0d2bf72b6dabef7f6c45ae | [log] [tgz] |
---|---|---|
author | Filip Pytloun <filip@pytloun.cz> | Wed Aug 31 11:19:35 2016 +0200 |
committer | Filip Pytloun <filip@pytloun.cz> | Wed Aug 31 11:19:35 2016 +0200 |
tree | 3b8f92c705a51c4a24b9e265da402cc17cc78c23 | |
parent | e48804490eefb9f9d9bbbecbd19090d170aab55d [diff] |
Fix mongodb salt resource auth
diff --git a/mongodb/server.sls b/mongodb/server.sls index 6f33eed..fff8624 100644 --- a/mongodb/server.sls +++ b/mongodb/server.sls
@@ -64,6 +64,8 @@ mongodb_user.present: - name: {{ database_name }} - passwd: {{ database.password }} + - user: admin + - password: {{ server.admin.password }} {%- if server.members is defined %} require: - cmd: mongodb_setup_cluster