Skip to content

Commit 5c98dea

Browse files
committed
fix: admin_store_credentials in mongodb needs to be false, as per upstream
1 parent e5b1c44 commit 5c98dea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/enableit/role/manifests/db/mongodb.pp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#
3838
# @param restart_on_change Whether to restart MongoDB on configuration change. Defaults to true.
3939
#
40-
# @param create_admin Whether to create an admin user. Defaults to true.
40+
# @param create_admin Whether to create an admin user. Defaults to false.
4141
#
4242
# @param directory_per_db Whether to use a separate directory for each database. Defaults to false.
4343
#
@@ -61,7 +61,7 @@
6161
#
6262
# @param admin_roles The roles for the admin user. Defaults to ['root'].
6363
#
64-
# @param admin_store_credentials Whether to store credentials for the admin user. Defaults to true.
64+
# @param admin_store_credentials Whether to store credentials for the admin user. Defaults to false.
6565
#
6666
# @param log_file The log file path. Defaults to undef.
6767
#
@@ -92,7 +92,7 @@
9292
Boolean $disable_prealloc = false,
9393
Integer[1,default] $default_namespace_file_size = 16,
9494
Boolean $restart_on_change = true,
95-
Boolean $create_admin = true,
95+
Boolean $create_admin = false,
9696
Boolean $directory_per_db = false,
9797
Boolean $enable_rest_api = false,
9898
Boolean $ssl = false,
@@ -104,7 +104,7 @@
104104
Optional[String] $admin_username = undef,
105105
Optional[Eit_types::Password] $admin_password = undef,
106106
Array[String] $admin_roles = ['root'],
107-
Boolean $admin_store_credentials = true,
107+
Boolean $admin_store_credentials = false,
108108
Optional[Stdlib::Absolutepath] $log_file = undef,
109109
Optional[Integer[1,default]] $max_connections = undef,
110110
Eit_types::User $monitor_user = 'obmondo-mon',

0 commit comments

Comments
 (0)