Skip to content

Commit 8d89b6b

Browse files
author
Bill Sirinek
committed
making requested updates to variable name, function and documentation
1 parent 23ce4c0 commit 8d89b6b

3 files changed

Lines changed: 17 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ All notable changes to this project will be documented in this file.
1212

1313
Contributed by Haroon Rafique
1414

15+
* Added new configuration option:
16+
* `patching_update_provider`: Parameter sets the provider in the update tasks.
17+
18+
Contributed by Bill Sirinek (@sirinek)
19+
1520
## Release 1.1.0 (2020-04-15)
1621

1722
* Added new plans `patching::get_facts` to retrieve a set of facts from a list of targets

REFERENCE_CONFIGURATION.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
- [patching_snapshot_description](#patching_snapshot_description)
2929
- [patching_snapshot_memory](#patching_snapshot_memory)
3030
- [patching_snapshot_quiesce](#patching_snapshot_quiesce)
31+
- [patching_update_provider](#patching_update_provider)
3132
- [vsphere_host](#vsphere_host)
3233
- [vsphere_username](#vsphere_username)
3334
- [vsphere_password](#vsphere_password)
@@ -566,6 +567,14 @@ default: true
566567

567568
Enable or disable quiescing the VM's filesystem when creating snapshots during patching.
568569

570+
### patching_update_provider
571+
572+
``` yaml
573+
type: String
574+
default: <none>
575+
```
576+
577+
569578
### vsphere_host
570579

571580
``` yaml

plans/init.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@
173173
$reboot_message_group = pick($reboot_message,
174174
$group_vars['patching_reboot_message'],
175175
'NOTICE: This system is currently being updated.')
176-
$update_provider_group = pick($update_provider,
177-
$group_vars['update_provider'],
178-
undef)
176+
$update_provider_group = pick_default($update_provider,
177+
$group_vars['patching_update_provider'],
178+
undef)
179179
$reboot_wait_group = pick($reboot_wait,
180180
$group_vars['patching_reboot_wait'],
181181
300)

0 commit comments

Comments
 (0)