6464
6565### <a name =" puppet_agent " ></a >` puppet_agent `
6666
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.
6968
7069#### Parameters
7170
@@ -343,6 +342,8 @@ Default value: `[]`
343342Data type: ` Optional `
344343
345344This 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.
346347
347348Default value: ` undef `
348349
@@ -388,15 +389,15 @@ The following parameters are available in the `puppet_agent::install` class:
388389
389390##### <a name =" -puppet_agent--install--package_version " ></a >` package_version `
390391
391- Data type: ` String `
392+ Data type: ` Optional[ String] `
392393
393394The puppet-agent version to install.
394395
395- Default value: ` 'present' `
396+ Default value: ` undef `
396397
397398##### <a name =" -puppet_agent--install--install_dir " ></a >` install_dir `
398399
399- Data type: ` Optional `
400+ Data type: ` Optional[[Stdlib::Absolutepath]] `
400401
401402The directory the puppet agent should be installed to. This is only applicable for
402403windows operating systems.
@@ -405,7 +406,7 @@ Default value: `undef`
405406
406407##### <a name =" -puppet_agent--install--install_options " ></a >` install_options `
407408
408- Data type: ` Array `
409+ Data type: ` Optional[ Array] `
409410
410411An array of additional options to pass when installing puppet-agent. Each option in
411412the 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
415416are in ` file ` resources.) Note also that backslashes in double-quoted strings _ must_
416417be escaped and backslashes in single-quoted strings _ can_ be escaped.
417418
418- Default value: ` [] `
419+ Default value: ` undef `
419420
420421### <a name =" puppet_agent--install--darwin " ></a >` puppet_agent::install::darwin `
421422
@@ -430,13 +431,13 @@ The following parameters are available in the `puppet_agent::install::darwin` cl
430431
431432##### <a name =" -puppet_agent--install--darwin--package_version " ></a >` package_version `
432433
433- Data type: ` Optional `
434+ Data type: ` String `
434435
435436The puppet-agent version to install.
436437
437438##### <a name =" -puppet_agent--install--darwin--install_options " ></a >` install_options `
438439
439- Data type: ` Array `
440+ Data type: ` Optional[ Array] `
440441
441442An array of additional options to pass when installing puppet-agent. Each option in
442443the 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
446447are in ` file ` resources.) Note also that backslashes in double-quoted strings _ must_
447448be escaped and backslashes in single-quoted strings _ can_ be escaped.
448449
449- Default value: ` [] `
450+ Default value: ` undef `
450451
451452### <a name =" puppet_agent--install--solaris " ></a >` puppet_agent::install::solaris `
452453
@@ -461,13 +462,13 @@ The following parameters are available in the `puppet_agent::install::solaris` c
461462
462463##### <a name =" -puppet_agent--install--solaris--package_version " ></a >` package_version `
463464
464- Data type: ` Optional `
465+ Data type: ` String `
465466
466467The puppet-agent version to install.
467468
468469##### <a name =" -puppet_agent--install--solaris--install_options " ></a >` install_options `
469470
470- Data type: ` Array `
471+ Data type: ` Optional[ Array] `
471472
472473An array of additional options to pass when installing puppet-agent. Each option in
473474the 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
477478are in ` file ` resources.) Note also that backslashes in double-quoted strings _ must_
478479be escaped and backslashes in single-quoted strings _ can_ be escaped.
479480
480- Default value: ` [] `
481+ Default value: ` undef `
481482
482483### <a name =" puppet_agent--install--suse " ></a >` puppet_agent::install::suse `
483484
@@ -492,13 +493,13 @@ The following parameters are available in the `puppet_agent::install::suse` clas
492493
493494##### <a name =" -puppet_agent--install--suse--package_version " ></a >` package_version `
494495
495- Data type: ` Optional `
496+ Data type: ` String `
496497
497498The puppet-agent version to install.
498499
499500##### <a name =" -puppet_agent--install--suse--install_options " ></a >` install_options `
500501
501- Data type: ` Array `
502+ Data type: ` Optional[ Array] `
502503
503504An array of additional options to pass when installing puppet-agent.
504505Each 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
509510` file ` resources.) Note also that backslashes in double-quoted strings
510511_ must_ be escaped and backslashes in single-quoted strings _ can_ be escaped.
511512
512- Default value: ` [] `
513+ Default value: ` undef `
513514
514515### <a name =" puppet_agent--install--windows " ></a >` puppet_agent::install::windows `
515516
@@ -608,9 +609,10 @@ The following parameters are available in the `puppet_agent::prepare::package` c
608609
609610##### <a name =" -puppet_agent--prepare--package--source " ></a >` source `
610611
611- Data type: ` Optional `
612-
612+ Data type: ` Variant[String, Array] `
613613
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.
614616
615617### <a name =" puppet_agent--prepare--puppet_config " ></a >` puppet_agent::prepare::puppet_config `
616618
@@ -624,7 +626,7 @@ The following parameters are available in the `puppet_agent::prepare::puppet_con
624626
625627##### <a name =" -puppet_agent--prepare--puppet_config--package_version " ></a >` package_version `
626628
627- Data type: ` Optional `
629+ Data type: ` String `
628630
629631The puppet-agent version to install.
630632
0 commit comments