@@ -98,6 +98,8 @@ The following parameters are available in the `puppet_agent` class:
9898* [ ` version_file_path ` ] ( #-puppet_agent--version_file_path )
9999* [ ` skip_if_unavailable ` ] ( #-puppet_agent--skip_if_unavailable )
100100* [ ` disable_proxy ` ] ( #-puppet_agent--disable_proxy )
101+ * [ ` username ` ] ( #-puppet_agent--username )
102+ * [ ` password ` ] ( #-puppet_agent--password )
101103
102104##### <a name =" -puppet_agent--arch " ></a >` arch `
103105
@@ -371,6 +373,22 @@ Data type: `Boolean`
371373
372374Default value: ` false `
373375
376+ ##### <a name =" -puppet_agent--username " ></a >` username `
377+
378+ Data type: ` Optional `
379+
380+ The username to use when downloading from a source location requiring authentication.
381+
382+ Default value: ` undef `
383+
384+ ##### <a name =" -puppet_agent--password " ></a >` password `
385+
386+ Data type: ` Optional[Sensitive] `
387+
388+ The password to use when downloading from a source location requiring authentication.
389+
390+ Default value: ` undef `
391+
374392### <a name =" puppet_agent--configure " ></a >` puppet_agent::configure `
375393
376394It does not require management of the agent package.
@@ -843,7 +861,7 @@ The version of puppet-agent to install (defaults to latest when no agent is inst
843861
844862##### ` collection `
845863
846- Data type: ` Optional[Enum[puppet7, puppet8, puppet, puppet7-nightly, puppet8-nightly, puppet-nightly]] `
864+ Data type: ` Optional[Enum[puppet7, puppet8, puppet, puppet7-nightly, puppet8-nightly, puppet-nightly, puppetcore7, puppetcore8 ]] `
847865
848866The Puppet collection to install from (defaults to puppet, which maps to the latest collection released)
849867
@@ -895,6 +913,18 @@ Data type: `Optional[Integer]`
895913
896914The number of retries in case of network connectivity failures
897915
916+ ##### ` username `
917+
918+ Data type: ` Optional[String] `
919+
920+ The username to use when downloading from a source location requiring authentication
921+
922+ ##### ` password `
923+
924+ Data type: ` Optional[String] `
925+
926+ The password to use when downloading from a source location requiring authentication
927+
898928### <a name =" install_powershell " ></a >` install_powershell `
899929
900930Install the Puppet agent package
@@ -979,7 +1009,7 @@ The version of puppet-agent to install
9791009
9801010##### ` collection `
9811011
982- Data type: ` Optional[Enum[puppet7, puppet8, puppet, puppet7-nightly, puppet8-nightly, puppet-nightly]] `
1012+ Data type: ` Optional[Enum[puppet7, puppet8, puppet, puppet7-nightly, puppet8-nightly, puppet-nightly, puppetcore7, puppetcore8 ]] `
9831013
9841014The Puppet collection to install from (defaults to puppet, which maps to the latest collection released)
9851015
@@ -1031,6 +1061,18 @@ Data type: `Optional[Integer]`
10311061
10321062The number of retries in case of network connectivity failures
10331063
1064+ ##### ` username `
1065+
1066+ Data type: ` Optional[String] `
1067+
1068+ The username to use when downloading from a source location requiring authentication
1069+
1070+ ##### ` password `
1071+
1072+ Data type: ` Optional[String] `
1073+
1074+ The password to use when downloading from a source location requiring authentication
1075+
10341076### <a name =" run " ></a >` run `
10351077
10361078Run the Puppet agent. This task may cause problems if run in Puppet Enterprise.
0 commit comments