Skip to content

Commit 63a0d8b

Browse files
author
Johan De Wit
committed
[fix] Remove duplicate parameteers and add missing one
1 parent 22c5fab commit 63a0d8b

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

manifests/globals.pp

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -131,22 +131,19 @@
131131
$ipv6 = undef,
132132
$bind_ip = undef,
133133
Optional[String[1]] $version = undef,
134-
Optional[Boolean] $manage_package_repo = undef,
134+
Optional[Boolean] $manage_package_repo = fact('os.distro.codename') ? { # Debian 10 doesn't provide mongodb packages. So manage it!
135+
'buster' => true,
136+
default => undef
137+
},
135138
$manage_package = undef,
136139
$repo_proxy = undef,
137140
$proxy_username = undef,
138141
$proxy_password = undef,
139142

140-
$version = undef,
141-
$mongosh_version = undef,
142-
$manage_package_repo = fact('os.distro.codename') ? { # Debian 10 doesn't provide mongodb packages. So manage it!
143-
'buster' => true,
144-
default => undef
145-
},
146-
$manage_package = undef,
147-
$repo_proxy = undef,
148-
$proxy_username = undef,
149-
$proxy_password = undef,
143+
$repo_location = undef,
144+
$use_enterprise_repo = undef,
145+
146+
$mongosh_version = undef,
150147

151148
$pidfilepath = undef,
152149
$pidfilemode = undef,

0 commit comments

Comments
 (0)