|
6 | 6 |
|
7 | 7 | ### Classes
|
8 | 8 |
|
| 9 | +#### Public Classes |
| 10 | + |
9 | 11 | * [`puppet_agent`](#puppet_agent): Upgrades Puppet 4 and newer to the requested version.
|
10 | 12 | * [`puppet_agent::configure`](#puppet_agent--configure): Uses $puppet_agent::config to manage settings in puppet.conf.
|
11 | 13 | * [`puppet_agent::install`](#puppet_agent--install): This class is called from puppet_agent for install.
|
|
22 | 24 | * [`puppet_agent::osfamily::windows`](#puppet_agent--osfamily--windows): Determines the puppet-agent package location for Windows OSes.
|
23 | 25 | * [`puppet_agent::params`](#puppet_agent--params): Sets variables according to platform.
|
24 | 26 | * [`puppet_agent::prepare`](#puppet_agent--prepare): This class is called from puppet_agent to prepare for the upgrade.
|
25 |
| -* [`puppet_agent::prepare::package`](#puppet_agent--prepare--package): Ensures correct puppet-agent package is downloaded locally. |
26 | 27 | * [`puppet_agent::prepare::puppet_config`](#puppet_agent--prepare--puppet_config): Private class called from puppet_agent::prepare class.
|
27 | 28 | * [`puppet_agent::service`](#puppet_agent--service): Ensures that managed services are running.
|
28 | 29 |
|
| 30 | +#### Private Classes |
| 31 | + |
| 32 | +* `puppet_agent::prepare::package`: Ensures correct puppet-agent package is downloaded locally. |
| 33 | + |
29 | 34 | ### Resource types
|
30 | 35 |
|
31 | 36 | * [`puppet_agent_end_run`](#puppet_agent_end_run): Stops the current Puppet run if a puppet-agent upgrade was performed. Used on platforms that manage the Puppet Agent upgrade with a package r
|
@@ -614,35 +619,6 @@ The puppet-agent version to install.
|
614 | 619 |
|
615 | 620 | Default value: `undef`
|
616 | 621 |
|
617 |
| -### <a name="puppet_agent--prepare--package"></a>`puppet_agent::prepare::package` |
618 |
| - |
619 |
| -for installation. This is used on platforms without package managers capable of |
620 |
| -working with a remote https repository. |
621 |
| - |
622 |
| -#### Parameters |
623 |
| - |
624 |
| -The following parameters are available in the `puppet_agent::prepare::package` class: |
625 |
| - |
626 |
| -* [`source`](#-puppet_agent--prepare--package--source) |
627 |
| -* [`package_file_name`](#-puppet_agent--prepare--package--package_file_name) |
628 |
| - |
629 |
| -##### <a name="-puppet_agent--prepare--package--source"></a>`source` |
630 |
| - |
631 |
| -Data type: `Variant[String, Array]` |
632 |
| - |
633 |
| -The source file for the puppet-agent package. Can use any of the data types |
634 |
| -and protocols that the File resource's source attribute can. |
635 |
| - |
636 |
| -##### <a name="-puppet_agent--prepare--package--package_file_name"></a>`package_file_name` |
637 |
| - |
638 |
| -Data type: `Optional[String]` |
639 |
| - |
640 |
| -The destination file name for the puppet-agent package. If no destination |
641 |
| -is given, then the basename component of the source will be used as the |
642 |
| -destination filename. |
643 |
| - |
644 |
| -Default value: `undef` |
645 |
| - |
646 | 622 | ### <a name="puppet_agent--prepare--puppet_config"></a>`puppet_agent::prepare::puppet_config`
|
647 | 623 |
|
648 | 624 | Private class called from puppet_agent::prepare class.
|
@@ -1006,13 +982,13 @@ The number of retries in case of network connectivity failures
|
1006 | 982 |
|
1007 | 983 | ##### `username`
|
1008 | 984 |
|
1009 |
| -Data type: `Optional[String]` |
| 985 | +Data type: `Optional[String[1]]` |
1010 | 986 |
|
1011 | 987 | The username to use when downloading from a source location requiring authentication
|
1012 | 988 |
|
1013 | 989 | ##### `password`
|
1014 | 990 |
|
1015 |
| -Data type: `Optional[String]` |
| 991 | +Data type: `Optional[Sensitive[String[1]]]` |
1016 | 992 |
|
1017 | 993 | The password to use when downloading from a source location requiring authentication
|
1018 | 994 |
|
@@ -1086,13 +1062,13 @@ The number of retries in case of network connectivity failures
|
1086 | 1062 |
|
1087 | 1063 | ##### `username`
|
1088 | 1064 |
|
1089 |
| -Data type: `Optional[String]` |
| 1065 | +Data type: `Optional[String[1]]` |
1090 | 1066 |
|
1091 | 1067 | The username to use when downloading from a source location requiring authentication
|
1092 | 1068 |
|
1093 | 1069 | ##### `password`
|
1094 | 1070 |
|
1095 |
| -Data type: `Optional[String]` |
| 1071 | +Data type: `Optional[String[1]]` |
1096 | 1072 |
|
1097 | 1073 | The password to use when downloading from a source location requiring authentication
|
1098 | 1074 |
|
|
0 commit comments