Skip to content

Commit 5a709c9

Browse files
committed
regenerate REFERENCE.md
1 parent 2faa817 commit 5a709c9

File tree

1 file changed

+97
-44
lines changed

1 file changed

+97
-44
lines changed

REFERENCE.md

+97-44
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
#### Private Classes
1515

16-
* `apt::params`: Provides defaults for the Apt module parameters.
1716
* `apt::update`: Updates the list of available packages using apt-get update.
1817

1918
### Defined types
@@ -99,7 +98,7 @@ Data type: `String`
9998

10099
Specifies the provider that should be used by apt::update.
101100

102-
Default value: `$apt::params::provider`
101+
Default value: `'/usr/bin/apt-get'`
103102

104103
##### <a name="-apt--keyserver"></a>`keyserver`
105104

@@ -108,31 +107,31 @@ Data type: `String`
108107
Specifies a keyserver to provide the GPG key. Valid options: a string containing a domain name or a full URL (http://, https://, or
109108
hkp://).
110109

111-
Default value: `$apt::params::keyserver`
110+
Default value: `'keyserver.ubuntu.com'`
112111

113112
##### <a name="-apt--key_options"></a>`key_options`
114113

115114
Data type: `Optional[String]`
116115

117116
Specifies the default options for apt::key resources.
118117

119-
Default value: `$apt::params::key_options`
118+
Default value: `undef`
120119

121120
##### <a name="-apt--ppa_options"></a>`ppa_options`
122121

123122
Data type: `Optional[Array[String]]`
124123

125124
Supplies options to be passed to the `add-apt-repository` command.
126125

127-
Default value: `$apt::params::ppa_options`
126+
Default value: `undef`
128127

129128
##### <a name="-apt--ppa_package"></a>`ppa_package`
130129

131130
Data type: `Optional[String]`
132131

133132
Names the package that provides the `apt-add-repository` command.
134133

135-
Default value: `$apt::params::ppa_package`
134+
Default value: `undef`
136135

137136
##### <a name="-apt--backports"></a>`backports`
138137

@@ -146,15 +145,15 @@ Options:
146145
* **:repos** `String`: See apt::backports for documentation.
147146
* **:key** `String`: See apt::backports for documentation.
148147

149-
Default value: `$apt::params::backports`
148+
Default value: `undef`
150149

151150
##### <a name="-apt--confs"></a>`confs`
152151

153152
Data type: `Hash`
154153

155-
Creates new `apt::conf` resources. Valid options: a hash to be passed to the create_resources function linked above.
154+
Hash of `apt::conf` resources.
156155

157-
Default value: `$apt::params::confs`
156+
Default value: `{}`
158157

159158
##### <a name="-apt--update"></a>`update`
160159

@@ -178,15 +177,24 @@ Default: 'reluctantly'.
178177
* **:timeout** `Integer`: Specifies how long to wait for the update to complete before canceling it. Valid options: an integer, in seconds. Default: undef.
179178
* **:tries** `Integer`: Specifies how many times to retry the update after receiving a DNS or HTTP error. Default: undef.
180179

181-
Default value: `$apt::params::update`
180+
Default value: `{}`
182181

183182
##### <a name="-apt--update_defaults"></a>`update_defaults`
184183

185184
Data type: `Hash`
186185

187186
The default update settings that are combined and merged with the passed `update` value
188187

189-
Default value: `$apt::params::update_defaults`
188+
Default value:
189+
190+
```puppet
191+
{
192+
'frequency' => 'reluctantly',
193+
'loglevel' => undef,
194+
'timeout' => undef,
195+
'tries' => undef,
196+
}
197+
```
190198

191199
##### <a name="-apt--purge"></a>`purge`
192200

@@ -201,47 +209,68 @@ Options:
201209
* **:preferences** `Boolean`: Specifies whether to purge any unmanaged entries from preferences. Default false.
202210
* **:preferences.d.** `Boolean`: Specifies whether to purge any unmanaged entries from preferences.d. Default false.
203211

204-
Default value: `$apt::params::purge`
212+
Default value: `{}`
205213

206214
##### <a name="-apt--purge_defaults"></a>`purge_defaults`
207215

208216
Data type: `Hash`
209217

210218
The default purge settings that are combined and merged with the passed `purge` value
211219

212-
Default value: `$apt::params::purge_defaults`
220+
Default value:
221+
222+
```puppet
223+
{
224+
'sources.list' => false,
225+
'sources.list.d' => false,
226+
'preferences' => false,
227+
'preferences.d' => false,
228+
'apt.conf.d' => false,
229+
}
230+
```
213231

214232
##### <a name="-apt--proxy"></a>`proxy`
215233

216234
Data type: `Apt::Proxy`
217235

218236
Configures Apt to connect to a proxy server. Valid options: a hash matching the locally defined type apt::proxy.
219237

220-
Default value: `$apt::params::proxy`
238+
Default value: `{}`
221239

222240
##### <a name="-apt--proxy_defaults"></a>`proxy_defaults`
223241

224242
Data type: `Hash`
225243

226244
The default proxy settings that are combined and merged with the passed `proxy` value
227245

228-
Default value: `$apt::params::proxy_defaults`
246+
Default value:
247+
248+
```puppet
249+
{
250+
'ensure' => undef,
251+
'host' => undef,
252+
'port' => 8080,
253+
'https' => false,
254+
'https_acng' => false,
255+
'direct' => false,
256+
}
257+
```
229258

230259
##### <a name="-apt--sources"></a>`sources`
231260

232261
Data type: `Hash`
233262

234-
Creates new `apt::source` resources. Valid options: a hash to be passed to the create_resources function linked above.
263+
Hash of `apt::source` resources.
235264

236-
Default value: `$apt::params::sources`
265+
Default value: `{}`
237266

238267
##### <a name="-apt--keys"></a>`keys`
239268

240269
Data type: `Hash`
241270

242-
Creates new `apt::key` resources. Valid options: a hash to be passed to the create_resources function linked above.
271+
Hash of `apt::key` resources.
243272

244-
Default value: `$apt::params::keys`
273+
Default value: `{}`
245274

246275
##### <a name="-apt--keyrings"></a>`keyrings`
247276

@@ -255,25 +284,25 @@ Default value: `{}`
255284

256285
Data type: `Hash`
257286

258-
Creates new `apt::ppa` resources. Valid options: a hash to be passed to the create_resources function linked above.
287+
Hash of `apt::ppa` resources.
259288

260-
Default value: `$apt::params::ppas`
289+
Default value: `{}`
261290

262291
##### <a name="-apt--pins"></a>`pins`
263292

264293
Data type: `Hash`
265294

266-
Creates new `apt::pin` resources. Valid options: a hash to be passed to the create_resources function linked above.
295+
Hash of `apt::pin` resources.
267296

268-
Default value: `$apt::params::pins`
297+
Default value: `{}`
269298

270299
##### <a name="-apt--settings"></a>`settings`
271300

272301
Data type: `Hash`
273302

274-
Creates new `apt::setting` resources. Valid options: a hash to be passed to the create_resources function linked above.
303+
Hash of `apt::setting` resources.
275304

276-
Default value: `$apt::params::settings`
305+
Default value: `{}`
277306

278307
##### <a name="-apt--manage_auth_conf"></a>`manage_auth_conf`
279308

@@ -282,7 +311,7 @@ Data type: `Boolean`
282311
Specifies whether to manage the /etc/apt/auth.conf file. When true, the file will be overwritten with the entries specified in
283312
the auth_conf_entries parameter. When false, the file will be ignored (note that this does not set the file to absent.
284313

285-
Default value: `$apt::params::manage_auth_conf`
314+
Default value: `true`
286315

287316
##### <a name="-apt--auth_conf_entries"></a>`auth_conf_entries`
288317

@@ -293,95 +322,119 @@ format (similar to what curl uses) and contains the login configuration for APT
293322
https://manpages.debian.org/testing/apt/apt_auth.conf.5.en.html for details. If specified each hash must contain the keys machine, login and
294323
password and no others. Specifying manage_auth_conf and not specifying this parameter will set /etc/apt/auth.conf to absent.
295324

296-
Default value: `$apt::params::auth_conf_entries`
325+
Default value: `[]`
297326

298327
##### <a name="-apt--auth_conf_owner"></a>`auth_conf_owner`
299328

300329
Data type: `String`
301330

302-
The owner of the file /etc/apt/auth.conf. Default: '_apt' or 'root' on old releases.
331+
The owner of the file /etc/apt/auth.conf.
303332

304-
Default value: `$apt::params::auth_conf_owner`
333+
Default value: `'_apt'`
305334

306335
##### <a name="-apt--root"></a>`root`
307336

308337
Data type: `String`
309338

310339
Specifies root directory of Apt executable.
311340

312-
Default value: `$apt::params::root`
341+
Default value: `'/etc/apt'`
313342

314343
##### <a name="-apt--sources_list"></a>`sources_list`
315344

316345
Data type: `String`
317346

318347
Specifies the path of the sources_list file to use.
319348

320-
Default value: `$apt::params::sources_list`
349+
Default value: `"${root}/sources.list"`
321350

322351
##### <a name="-apt--sources_list_d"></a>`sources_list_d`
323352

324353
Data type: `String`
325354

326355
Specifies the path of the sources_list.d file to use.
327356

328-
Default value: `$apt::params::sources_list_d`
357+
Default value: `"${root}/sources.list.d"`
329358

330359
##### <a name="-apt--conf_d"></a>`conf_d`
331360

332361
Data type: `String`
333362

334363
Specifies the path of the conf.d file to use.
335364

336-
Default value: `$apt::params::conf_d`
365+
Default value: `"${root}/apt.conf.d"`
337366

338367
##### <a name="-apt--preferences"></a>`preferences`
339368

340369
Data type: `String`
341370

342371
Specifies the path of the preferences file to use.
343372

344-
Default value: `$apt::params::preferences`
373+
Default value: `"${root}/preferences"`
345374

346375
##### <a name="-apt--preferences_d"></a>`preferences_d`
347376

348377
Data type: `String`
349378

350379
Specifies the path of the preferences.d file to use.
351380

352-
Default value: `$apt::params::preferences_d`
381+
Default value: `"${root}/preferences.d"`
353382

354383
##### <a name="-apt--config_files"></a>`config_files`
355384

356385
Data type: `Hash`
357386

358387
A hash made up of the various configuration files used by Apt.
359388

360-
Default value: `$apt::params::config_files`
389+
Default value:
390+
391+
```puppet
392+
{
393+
'conf' => {
394+
'path' => $conf_d,
395+
'ext' => '',
396+
},
397+
'pref' => {
398+
'path' => $preferences_d,
399+
'ext' => '.pref',
400+
},
401+
'list' => {
402+
'path' => $sources_list_d,
403+
'ext' => '.list',
404+
},
405+
}
406+
```
361407

362408
##### <a name="-apt--sources_list_force"></a>`sources_list_force`
363409

364410
Data type: `Boolean`
365411

366-
Specifies whether to perform force purge or delete. Default false.
412+
Specifies whether to perform force purge or delete.
367413

368-
Default value: `$apt::params::sources_list_force`
414+
Default value: `false`
369415

370416
##### <a name="-apt--include_defaults"></a>`include_defaults`
371417

372418
Data type: `Hash`
373419

420+
The package types to include by default.
374421

422+
Default value:
375423

376-
Default value: `$apt::params::include_defaults`
424+
```puppet
425+
{
426+
'deb' => true,
427+
'src' => false,
428+
}
429+
```
377430

378431
##### <a name="-apt--apt_conf_d"></a>`apt_conf_d`
379432

380433
Data type: `String`
381434

382435
The path to the file `apt.conf.d`
383436

384-
Default value: `$apt::params::apt_conf_d`
437+
Default value: `"${root}/apt.conf.d"`
385438

386439
##### <a name="-apt--source_key_defaults"></a>`source_key_defaults`
387440

@@ -1074,7 +1127,7 @@ Default value: `$name`
10741127

10751128
Data type: `String`
10761129

1077-
Specifies whether the Apt source file should exist. Valid options: 'present' and 'absent'.
1130+
Specifies whether the Apt source file should exist.
10781131

10791132
Default value: `present`
10801133

@@ -1102,8 +1155,8 @@ Configures include options. Valid options: a hash of available keys.
11021155

11031156
Options:
11041157

1105-
* **:deb** `Boolean`: Specifies whether to request the distribution's compiled binaries. Default true.
1106-
* **:src** `Boolean`: Specifies whether to request the distribution's uncompiled source code. Default false.
1158+
* **:deb** `Boolean`: Specifies whether to request the distribution's compiled binaries.
1159+
* **:src** `Boolean`: Specifies whether to request the distribution's uncompiled source code.
11071160

11081161
Default value: `{}`
11091162

@@ -1177,7 +1230,7 @@ Default value: `true`
11771230

11781231
Data type: `Boolean`
11791232

1180-
Specifies whether to check if the package release date is valid. Defaults to `True`.
1233+
Specifies whether to check if the package release date is valid.
11811234

11821235
Default value: `true`
11831236

0 commit comments

Comments
 (0)