|
37 | 37 | # Configures various update settings. Valid options: a hash made up from the following keys:
|
38 | 38 | #
|
39 | 39 | # @option update [String] :frequency
|
40 |
| -# Specifies how often to run `apt-get update`. If the exec resource `apt_update` is notified, `apt-get update` runs regardless of this value. |
41 |
| -# Valid options: 'always' (at every Puppet run); 'daily' (if the value of `apt_update_last_success` is less than current epoch time minus 86400); |
42 |
| -# 'weekly' (if the value of `apt_update_last_success` is less than current epoch time minus 604800); and 'reluctantly' (only if the exec resource |
43 |
| -# `apt_update` is notified). Default: 'reluctantly'. |
| 40 | +# Specifies how often to run `apt-get update`. If the exec resource `apt_update` is notified, |
| 41 | +# `apt-get update` runs regardless of this value. |
| 42 | +# Valid options: |
| 43 | +# 'always' (at every Puppet run); |
| 44 | +# daily' (if the value of `apt_update_last_success` is less than current epoch time minus 86400); |
| 45 | +# 'weekly' (if the value of `apt_update_last_success` is less than current epoch time minus 604800); |
| 46 | +# 'reluctantly' (only if the exec resource `apt_update` is notified). |
| 47 | +# Default: 'reluctantly'. |
44 | 48 | #
|
45 | 49 | # @option update [Integer] :loglevel
|
46 | 50 | # Specifies the log level of logs outputted to the console. Default: undef.
|
|
122 | 126 | # Specifies whether to perform force purge or delete. Default false.
|
123 | 127 | #
|
124 | 128 | class apt (
|
125 |
| - Hash $update_defaults = $apt::params::update_defaults, |
126 |
| - Hash $purge_defaults = $apt::params::purge_defaults, |
127 |
| - Hash $proxy_defaults = $apt::params::proxy_defaults, |
128 |
| - Hash $include_defaults = $apt::params::include_defaults, |
129 |
| - String $provider = $apt::params::provider, |
130 |
| - String $keyserver = $apt::params::keyserver, |
131 |
| - Optional[String] $key_options = $apt::params::key_options, |
132 |
| - Optional[String] $ppa_options = $apt::params::ppa_options, |
133 |
| - Optional[String] $ppa_package = $apt::params::ppa_package, |
134 |
| - Optional[Hash] $backports = $apt::params::backports, |
135 |
| - Hash $confs = $apt::params::confs, |
136 |
| - Hash $update = $apt::params::update, |
137 |
| - Hash $purge = $apt::params::purge, |
138 |
| - Apt::Proxy $proxy = $apt::params::proxy, |
139 |
| - Hash $sources = $apt::params::sources, |
140 |
| - Hash $keys = $apt::params::keys, |
141 |
| - Hash $ppas = $apt::params::ppas, |
142 |
| - Hash $pins = $apt::params::pins, |
143 |
| - Hash $settings = $apt::params::settings, |
144 |
| - Boolean $manage_auth_conf = $apt::params::manage_auth_conf, |
145 |
| - Array[Apt::Auth_conf_entry] |
146 |
| - $auth_conf_entries = $apt::params::auth_conf_entries, |
147 |
| - String $auth_conf_owner = $apt::params::auth_conf_owner, |
148 |
| - String $root = $apt::params::root, |
149 |
| - String $sources_list = $apt::params::sources_list, |
150 |
| - String $sources_list_d = $apt::params::sources_list_d, |
151 |
| - String $conf_d = $apt::params::conf_d, |
152 |
| - String $preferences = $apt::params::preferences, |
153 |
| - String $preferences_d = $apt::params::preferences_d, |
154 |
| - String $apt_conf_d = $apt::params::apt_conf_d, |
155 |
| - Hash $config_files = $apt::params::config_files, |
156 |
| - Boolean $sources_list_force = $apt::params::sources_list_force, |
| 129 | + Hash $update_defaults = $apt::params::update_defaults, |
| 130 | + Hash $purge_defaults = $apt::params::purge_defaults, |
| 131 | + Hash $proxy_defaults = $apt::params::proxy_defaults, |
| 132 | + Hash $include_defaults = $apt::params::include_defaults, |
| 133 | + String $provider = $apt::params::provider, |
| 134 | + String $keyserver = $apt::params::keyserver, |
| 135 | + Optional[String] $key_options = $apt::params::key_options, |
| 136 | + Optional[Array[String]] $ppa_options = $apt::params::ppa_options, |
| 137 | + Optional[String] $ppa_package = $apt::params::ppa_package, |
| 138 | + Optional[Hash] $backports = $apt::params::backports, |
| 139 | + Hash $confs = $apt::params::confs, |
| 140 | + Hash $update = $apt::params::update, |
| 141 | + Hash $purge = $apt::params::purge, |
| 142 | + Apt::Proxy $proxy = $apt::params::proxy, |
| 143 | + Hash $sources = $apt::params::sources, |
| 144 | + Hash $keys = $apt::params::keys, |
| 145 | + Hash $ppas = $apt::params::ppas, |
| 146 | + Hash $pins = $apt::params::pins, |
| 147 | + Hash $settings = $apt::params::settings, |
| 148 | + Boolean $manage_auth_conf = $apt::params::manage_auth_conf, |
| 149 | + Array[Apt::Auth_conf_entry] $auth_conf_entries = $apt::params::auth_conf_entries, |
| 150 | + String $auth_conf_owner = $apt::params::auth_conf_owner, |
| 151 | + String $root = $apt::params::root, |
| 152 | + String $sources_list = $apt::params::sources_list, |
| 153 | + String $sources_list_d = $apt::params::sources_list_d, |
| 154 | + String $conf_d = $apt::params::conf_d, |
| 155 | + String $preferences = $apt::params::preferences, |
| 156 | + String $preferences_d = $apt::params::preferences_d, |
| 157 | + String $apt_conf_d = $apt::params::apt_conf_d, |
| 158 | + Hash $config_files = $apt::params::config_files, |
| 159 | + Boolean $sources_list_force = $apt::params::sources_list_force, |
157 | 160 |
|
158 | 161 | Hash $source_key_defaults = {
|
159 | 162 | 'server' => $keyserver,
|
|
0 commit comments