Skip to content

Commit bd19f96

Browse files
committed
Add Ops Manager download parameters.
1 parent cd30238 commit bd19f96

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

manifests/opsmanager.pp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,15 @@
108108
# @param versions_directory
109109
# The directory where to store the snapshot versions
110110
#
111+
# @param versions_source
112+
# Indicates the source of MongoDB installer binaries.
113+
#
114+
# @param release_autodownload
115+
# Flag indicating whether the Backup Daemons automatically install the versions of MongoDB that the Backup Daemons need.
116+
#
117+
# @param release_autodownload_enterprise
118+
# Flag indicating whether the Backup Daemons automatically install the Enterprise editions of the versions of MongoDB that the Backup Daemons need.
119+
#
111120
class mongodb::opsmanager (
112121
String[1] $user = 'mongodb-mms',
113122
String[1] $group = 'mongodb-mms',
@@ -130,6 +139,9 @@
130139
Stdlib::Port $smtp_server_port = 25,
131140
Boolean $ssl = false,
132141
Boolean $ignore_ui_setup = true,
142+
Enum['remote', 'hybrid', 'local'] $versions_source = 'remote',
143+
Boolean $release_autodownload = true,
144+
Boolean $release_autodownload_enterprise = true,
133145
#optional settings
134146
Optional[String[1]] $ca_file = undef,
135147
Optional[String[1]] $pem_key_file = undef,

templates/opsmanager/conf-mms.properties.epp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,12 @@ brs.snapshotSchedule.retention.monthly=<%=$mongodb::opsmanager::snapshot_monthly
126126
<% if $mongodb::opsmanager::versions_directory { -%>
127127
automation.versions.directory=<%=$mongodb::opsmanager::versions_directory -%>
128128
<% } -%>
129+
<% if $mongodb::opsmanager::versions_source { -%>
130+
automation.versions.source=<%=$mongodb::opsmanager::versions_source -%>
131+
<% } -%>
132+
<% if $mongodb::opsmanager::release_autodownload { -%>
133+
mongodb.release.autoDownload=<%=$mongodb::opsmanager::release_autodownload -%>
134+
<% } -%>
135+
<% if $mongodb::opsmanager::release_autodownload_enterprise { -%>
136+
mongodb.release.autoDownload.enterprise=<%=$mongodb::opsmanager::release_autodownload_enterprise -%>
137+
<% } -%>

0 commit comments

Comments
 (0)