File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -480,6 +480,9 @@ The following parameters are available in the `mongodb::opsmanager` class:
480480* [ ` snapshot_weekly_retention ` ] ( #-mongodb--opsmanager--snapshot_weekly_retention )
481481* [ ` snapshot_monthly_retention ` ] ( #-mongodb--opsmanager--snapshot_monthly_retention )
482482* [ ` versions_directory ` ] ( #-mongodb--opsmanager--versions_directory )
483+ * [ ` versions_source ` ] ( #-mongodb--opsmanager--versions_source )
484+ * [ ` release_autodownload ` ] ( #-mongodb--opsmanager--release_autodownload )
485+ * [ ` release_autodownload_enterprise ` ] ( #-mongodb--opsmanager--release_autodownload_enterprise )
483486* [ ` user ` ] ( #-mongodb--opsmanager--user )
484487* [ ` group ` ] ( #-mongodb--opsmanager--group )
485488* [ ` ensure ` ] ( #-mongodb--opsmanager--ensure )
@@ -571,6 +574,30 @@ The directory where to store the snapshot versions
571574
572575Default value: ` undef `
573576
577+ ##### <a name =" -mongodb--opsmanager--versions_source " ></a >` versions_source `
578+
579+ Data type: ` Enum['remote', 'hybrid', 'local'] `
580+
581+ Indicates the source of MongoDB installer binaries.
582+
583+ Default value: ` 'remote' `
584+
585+ ##### <a name =" -mongodb--opsmanager--release_autodownload " ></a >` release_autodownload `
586+
587+ Data type: ` Boolean `
588+
589+ Flag indicating whether the Backup Daemons automatically install the versions of MongoDB that the Backup Daemons need.
590+
591+ Default value: ` true `
592+
593+ ##### <a name =" -mongodb--opsmanager--release_autodownload_enterprise " ></a >` release_autodownload_enterprise `
594+
595+ Data type: ` Boolean `
596+
597+ Flag indicating whether the Backup Daemons automatically install the Enterprise editions of the versions of MongoDB that the Backup Daemons need.
598+
599+ Default value: ` true `
600+
574601##### <a name =" -mongodb--opsmanager--user " ></a >` user `
575602
576603Data type: ` String[1] `
Original file line number Diff line number Diff line change 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+ #
111120class mongodb::opsmanager (
112121 String[1] $user = ' mongodb-mms' ,
113122 String[1] $group = ' mongodb-mms' ,
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 ,
Original file line number Diff line number Diff line change @@ -126,3 +126,12 @@ brs.snapshotSchedule.retention.monthly=<%=$mongodb::opsmanager::snapshot_monthly
126126<% if $mongodb::opsmanager::versions_directory { -%>
127127automation.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+ <% } -%>
You can’t perform that action at this time.
0 commit comments