64
64
65
65
### <a name =" puppet_agent " ></a >` puppet_agent `
66
66
67
- example for clients in dmz: s that need to use proxy to reach the repo
68
- provided by puppetserver.
67
+ Upgrades Puppet 4 and newer to the requested version.
69
68
70
69
#### Parameters
71
70
@@ -343,6 +342,8 @@ Default value: `[]`
343
342
Data type: ` Optional `
344
343
345
344
This is to be able to configure yum-repo with proxy, needed for
345
+ example for clients in DMZs that need to use proxy to reach the repo
346
+ provided by puppetserver.
346
347
347
348
Default value: ` undef `
348
349
@@ -388,15 +389,15 @@ The following parameters are available in the `puppet_agent::install` class:
388
389
389
390
##### <a name =" -puppet_agent--install--package_version " ></a >` package_version `
390
391
391
- Data type: ` String `
392
+ Data type: ` Optional[ String] `
392
393
393
394
The puppet-agent version to install.
394
395
395
- Default value: ` 'present' `
396
+ Default value: ` undef `
396
397
397
398
##### <a name =" -puppet_agent--install--install_dir " ></a >` install_dir `
398
399
399
- Data type: ` Optional `
400
+ Data type: ` Optional[[Stdlib::Absolutepath]] `
400
401
401
402
The directory the puppet agent should be installed to. This is only applicable for
402
403
windows operating systems.
@@ -405,7 +406,7 @@ Default value: `undef`
405
406
406
407
##### <a name =" -puppet_agent--install--install_options " ></a >` install_options `
407
408
408
- Data type: ` Array `
409
+ Data type: ` Optional[ Array] `
409
410
410
411
An array of additional options to pass when installing puppet-agent. Each option in
411
412
the array can either be a string or a hash. Each option will automatically be quoted
@@ -415,7 +416,7 @@ the installation command, forward slashes won't be automatically converted like
415
416
are in ` file ` resources.) Note also that backslashes in double-quoted strings _ must_
416
417
be escaped and backslashes in single-quoted strings _ can_ be escaped.
417
418
418
- Default value: ` [] `
419
+ Default value: ` undef `
419
420
420
421
### <a name =" puppet_agent--install--darwin " ></a >` puppet_agent::install::darwin `
421
422
@@ -430,13 +431,13 @@ The following parameters are available in the `puppet_agent::install::darwin` cl
430
431
431
432
##### <a name =" -puppet_agent--install--darwin--package_version " ></a >` package_version `
432
433
433
- Data type: ` Optional `
434
+ Data type: ` String `
434
435
435
436
The puppet-agent version to install.
436
437
437
438
##### <a name =" -puppet_agent--install--darwin--install_options " ></a >` install_options `
438
439
439
- Data type: ` Array `
440
+ Data type: ` Optional[ Array] `
440
441
441
442
An array of additional options to pass when installing puppet-agent. Each option in
442
443
the array can either be a string or a hash. Each option will automatically be quoted
@@ -446,7 +447,7 @@ the installation command, forward slashes won't be automatically converted like
446
447
are in ` file ` resources.) Note also that backslashes in double-quoted strings _ must_
447
448
be escaped and backslashes in single-quoted strings _ can_ be escaped.
448
449
449
- Default value: ` [] `
450
+ Default value: ` undef `
450
451
451
452
### <a name =" puppet_agent--install--solaris " ></a >` puppet_agent::install::solaris `
452
453
@@ -461,13 +462,13 @@ The following parameters are available in the `puppet_agent::install::solaris` c
461
462
462
463
##### <a name =" -puppet_agent--install--solaris--package_version " ></a >` package_version `
463
464
464
- Data type: ` Optional `
465
+ Data type: ` String `
465
466
466
467
The puppet-agent version to install.
467
468
468
469
##### <a name =" -puppet_agent--install--solaris--install_options " ></a >` install_options `
469
470
470
- Data type: ` Array `
471
+ Data type: ` Optional[ Array] `
471
472
472
473
An array of additional options to pass when installing puppet-agent. Each option in
473
474
the array can either be a string or a hash. Each option will automatically be quoted
@@ -477,7 +478,7 @@ the installation command, forward slashes won't be automatically converted like
477
478
are in ` file ` resources.) Note also that backslashes in double-quoted strings _ must_
478
479
be escaped and backslashes in single-quoted strings _ can_ be escaped.
479
480
480
- Default value: ` [] `
481
+ Default value: ` undef `
481
482
482
483
### <a name =" puppet_agent--install--suse " ></a >` puppet_agent::install::suse `
483
484
@@ -492,13 +493,13 @@ The following parameters are available in the `puppet_agent::install::suse` clas
492
493
493
494
##### <a name =" -puppet_agent--install--suse--package_version " ></a >` package_version `
494
495
495
- Data type: ` Optional `
496
+ Data type: ` String `
496
497
497
498
The puppet-agent version to install.
498
499
499
500
##### <a name =" -puppet_agent--install--suse--install_options " ></a >` install_options `
500
501
501
- Data type: ` Array `
502
+ Data type: ` Optional[ Array] `
502
503
503
504
An array of additional options to pass when installing puppet-agent.
504
505
Each option in the array can either be a string or a hash.
@@ -509,7 +510,7 @@ command, forward slashes won't be automatically converted like they are in
509
510
` file ` resources.) Note also that backslashes in double-quoted strings
510
511
_ must_ be escaped and backslashes in single-quoted strings _ can_ be escaped.
511
512
512
- Default value: ` [] `
513
+ Default value: ` undef `
513
514
514
515
### <a name =" puppet_agent--install--windows " ></a >` puppet_agent::install::windows `
515
516
@@ -608,9 +609,10 @@ The following parameters are available in the `puppet_agent::prepare::package` c
608
609
609
610
##### <a name =" -puppet_agent--prepare--package--source " ></a >` source `
610
611
611
- Data type: ` Optional `
612
-
612
+ Data type: ` Variant[String, Array] `
613
613
614
+ The source file for the puppet-agent package. Can use any of the data types
615
+ and protocols that the File resource's source attribute can.
614
616
615
617
### <a name =" puppet_agent--prepare--puppet_config " ></a >` puppet_agent::prepare::puppet_config `
616
618
@@ -624,7 +626,7 @@ The following parameters are available in the `puppet_agent::prepare::puppet_con
624
626
625
627
##### <a name =" -puppet_agent--prepare--puppet_config--package_version " ></a >` package_version `
626
628
627
- Data type: ` Optional `
629
+ Data type: ` String `
628
630
629
631
The puppet-agent version to install.
630
632
0 commit comments