@@ -98,6 +98,8 @@ The following parameters are available in the `puppet_agent` class:
98
98
* [ ` version_file_path ` ] ( #-puppet_agent--version_file_path )
99
99
* [ ` skip_if_unavailable ` ] ( #-puppet_agent--skip_if_unavailable )
100
100
* [ ` disable_proxy ` ] ( #-puppet_agent--disable_proxy )
101
+ * [ ` username ` ] ( #-puppet_agent--username )
102
+ * [ ` password ` ] ( #-puppet_agent--password )
101
103
102
104
##### <a name =" -puppet_agent--arch " ></a >` arch `
103
105
@@ -371,6 +373,22 @@ Data type: `Boolean`
371
373
372
374
Default value: ` false `
373
375
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
+
374
392
### <a name =" puppet_agent--configure " ></a >` puppet_agent::configure `
375
393
376
394
It 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
843
861
844
862
##### ` collection `
845
863
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 ]] `
847
865
848
866
The Puppet collection to install from (defaults to puppet, which maps to the latest collection released)
849
867
@@ -895,6 +913,18 @@ Data type: `Optional[Integer]`
895
913
896
914
The number of retries in case of network connectivity failures
897
915
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
+
898
928
### <a name =" install_powershell " ></a >` install_powershell `
899
929
900
930
Install the Puppet agent package
@@ -979,7 +1009,7 @@ The version of puppet-agent to install
979
1009
980
1010
##### ` collection `
981
1011
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 ]] `
983
1013
984
1014
The Puppet collection to install from (defaults to puppet, which maps to the latest collection released)
985
1015
@@ -1031,6 +1061,18 @@ Data type: `Optional[Integer]`
1031
1061
1032
1062
The number of retries in case of network connectivity failures
1033
1063
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
+
1034
1076
### <a name =" run " ></a >` run `
1035
1077
1036
1078
Run the Puppet agent. This task may cause problems if run in Puppet Enterprise.
0 commit comments