|
103 | 103 | # @param skip_if_unavailable |
104 | 104 | # For yum-based repositories, set the skip_if_unavailable option of the `yumrepo` type. |
105 | 105 | # @param disable_proxy |
| 106 | +# @param alternate_pe_version |
| 107 | +# When using a PE-based package source (e.g. "alternate_pe_source", "aix_source") |
| 108 | +# this setting allows you to override the PE version number used when constructing the |
| 109 | +# package source URL. Normally, this will be the running version of PE but this setting |
| 110 | +# can be used to "hold back" the agents during an upgrade of PE if there is a need |
| 111 | +# to upgrade the platform and agents on separate schedules. |
106 | 112 | class puppet_agent ( |
107 | 113 | String $arch = $facts['os']['architecture'], |
108 | 114 | String $collection = $puppet_agent::params::collection, |
|
131 | 137 | Optional $wait_for_pxp_agent_exit = undef, |
132 | 138 | Optional $wait_for_puppet_run = undef, |
133 | 139 | Array[Puppet_agent::Config] $config = [], |
134 | | - String $version_file_path = $facts['os']['family'] ? { 'windows' => "${facts['env_windows_installdir']}\\VERSION", default => '/opt/puppetlabs/puppet/VERSION' } |
| 140 | + String $version_file_path = $facts['os']['family'] ? { 'windows' => "${facts['env_windows_installdir']}\\VERSION", default => '/opt/puppetlabs/puppet/VERSION' }, |
| 141 | + Optional[String[1]] $alternate_pe_version = undef, |
135 | 142 | ) inherits puppet_agent::params { |
136 | 143 | # The configure class uses $puppet_agent::config to manage settings in |
137 | 144 | # puppet.conf, and will always be present. It does not require management of |
|
0 commit comments