Skip to content

Commit e07f0b5

Browse files
committed
Fixing build
1 parent 31264d5 commit e07f0b5

2 files changed

Lines changed: 32 additions & 27 deletions

File tree

CHANGELOG.md

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,19 @@ All notable changes to this project will be documented in this file.
1313

1414
* Fixed a bug with a hard coded wait for reboot. (Bug Fix)
1515

16-
Contributed by Michael Surato (@msurato)
16+
Contributed by Michael Surato (@msurato)
1717

1818
* Add `hostname` as a choice for patching::snapshot_vmware::target_name_property
1919
It can be used in cases where target discovery uses fully qualified domain names
2020
and VM names don't have domain name component
2121

2222
Contributed by Vadym Chepkov (@vchepkov)
2323

24+
* Fixed a bug in `patching::monitoring_solarwinds` plan where `patching_monitoring_name_property`
25+
config value wasn't being honored. (Bug Fix)
26+
27+
Contributed by Nick Maludy (@nmaludy)
28+
2429
## Release 1.0.1 (2020-03-04)
2530

2631
* Ensure the `patching.json` file exists on Windows by creating a blank file if it was previously missing.
@@ -39,7 +44,7 @@ Contributed by Michael Surato (@msurato)
3944

4045
## Release 1.0.0 (2020-02-28)
4146

42-
* **BREAKING CHANGE**
47+
* **BREAKING CHANGE**
4348
Converted from `nodes` to `targets` for all plans and tasks. This is in support of Bolt `2.0`.
4449
Any calling plans or CLI will need to use the `targets` parameter to pass in the hosts
4550
to be patched. (Feature)
@@ -53,7 +58,7 @@ Contributed by Michael Surato (@msurato)
5358
* Added documentation for patching with PE and `pcp` timeouts. (Documentation) #28
5459

5560
Contributed by Nick Maludy (@nmaludy)
56-
61+
5762
* PDK sync to 1.17.0 template (Enhancement)
5863

5964
Contributed by Nick Maludy (@nmaludy)
@@ -65,11 +70,11 @@ Contributed by Michael Surato (@msurato)
6570
Contributed by Michael Surato (@msurato)
6671

6772
* Fixed bug in `patching::snapshot_vmware` where the wrong snapshot name was printed to the user. (Bug Fix)
68-
73+
6974
Contributed by Nick Maludy (@nmaludy)
70-
75+
7176
* Fixed bug in `patching::available_updates_windows` where using `provider=windows` threw an error. (Bug Fix)
72-
77+
7378
Contributed by Nick Maludy (@nmaludy)
7479

7580
* Add support for Fedora Linux. (Enhancement)
@@ -78,15 +83,15 @@ Contributed by Michael Surato (@msurato)
7883

7984
* Modified location of the puppet executable on Linux to use the supported wrapper. This sets
8085
library paths to solve consistency issues. (Bug Fix)
81-
86+
8287
Contributed by Michael Surato (@msurato)
8388

8489
## Release 0.4.0 (2020-01-06)
8590

8691
* Add support for SUSE Linux Enterprise. (Enhancement)
8792

8893
Contributed by Michael Surato (@msurato)
89-
94+
9095
* Modify the scripts to use /etc/os-release. This will fallback to older methods in the absense of /etc/os-release. (Enhancement)
9196

9297
Contributed by Michael Surato (@msurato)
@@ -95,16 +100,16 @@ Contributed by Michael Surato (@msurato)
95100

96101
Contributed by Vadym Chepkov (@vchepkov)
97102

98-
* Fixed a bug in `patching::puppet_facts` where the sub command would fail to run on
103+
* Fixed a bug in `patching::puppet_facts` where the sub command would fail to run on
99104
installations with custom `GEM_PATH` settings. (Bug Fix)
100-
105+
101106
Contributed by Nick Maludy (@nmaludy)
102-
107+
103108
* Changed the property we use to look up SolarWinds nodes from `'Caption'` to `'DNS'` by
104109
default. Also made the property configurable using the `patching_monitoring_name_property`.
105110
There are now new parameters on the `patching::monitoring_solarwinds` task and plans
106111
to allow specifying what property we are matching for on the SolarWinds side. (Enhancement)
107-
112+
108113
Contributed by Nick Maludy (@nmaludy)
109114

110115

@@ -115,22 +120,22 @@ Contributed by Michael Surato (@msurato)
115120
Contributed by Vadym Chepkov (@vchepkov)
116121

117122
* Added shields/badges to the README. (Enhancement)
118-
123+
119124
Contributed by Nick Maludy (@nmaludy)
120125

121126
* Added the ability to enable/disable monitoring during patching. The first implementation
122127
is to do this in the SolarWinds monitoring tool:
123-
* Task - `patching::monitoring_solarwinds` : This task enables/disbles monitoring for a list
128+
* Task - `patching::monitoring_solarwinds` : This task enables/disbles monitoring for a list
124129
of node names.
125130
* Plan - `patching::monitoring_solarwinds` : Wraps the `patching::monitoring_solarwinds` task in an
126131
easier to consume fashion, along with configuration option parsing and pretty printing.
127132
(Enhancement)
128-
133+
129134
Contributed by Nick Maludy (@nmaludy)
130-
135+
131136
* Changed the name of the configuration option `patching_vm_name_property` to `patching_snapshot_target_name_property`.
132137
This correlates to the new property that was just added (below). (Enhancement)
133-
138+
134139
Contributed by Nick Maludy (@nmaludy)
135140

136141
* Added a new configs:
@@ -142,15 +147,15 @@ Contributed by Michael Surato (@msurato)
142147
maps to the node's name in the monitoring tool (SolarWinds).
143148
This was intentionally made discinct from `patching_snapshot_target_name_property` in case
144149
the tools used different names for the same node/target.
145-
150+
146151
Contributed by Nick Maludy (@nmaludy)
147-
152+
148153
* Empty strings `''` for plan names no longer disable the execution of plans (the
149154
`pick()` function removes these, so it gets ignored). Instead pass in the string
150155
`'disabled'` to disable the use of a pluggable plan. (Bug fix)
151-
156+
152157
Contributed by Nick Maludy (@nmaludy)
153-
158+
154159

155160
## Release 0.2.0
156161

@@ -159,7 +164,7 @@ Contributed by Michael Surato (@msurato)
159164
Due to this i also had to create matching task metadata for `_linux` and `_windows`
160165
and mark them as `"private": true` so that they are not visible in `bolt task show`.
161166
(Enhancement)
162-
167+
163168
Contributed by Nick Maludy (@nmaludy)
164169

165170
## Release 0.1.0

plans/set_facts.pp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@
5050
# the explicitly defined facts always win
5151
$_facts = $custom_facts + {'patching_group' => $patching_group}
5252
$_facts_yaml = to_yaml($_facts)
53-
out::message("============= writing facts.d/patching.yaml =============")
53+
out::message('============= writing facts.d/patching.yaml =============')
5454
out::message($_facts_yaml)
5555

5656
if !$targets_linux.empty() {
5757
write_file($_facts_yaml,
58-
'/etc/facter/facts.d/patching.yaml',
59-
$targets_linux)
58+
'/etc/facter/facts.d/patching.yaml',
59+
$targets_linux)
6060
$results_linux = run_command('/opt/puppetlabs/bin/puppet facts upload', $targets_linux)
6161
}
6262
else {
@@ -65,8 +65,8 @@
6565

6666
if !$targets_windows.empty() {
6767
write_file($_facts_yaml,
68-
'C:/ProgramData/PuppetLabs/facter/facts.d/patching.yaml',
69-
$targets_windows)
68+
'C:/ProgramData/PuppetLabs/facter/facts.d/patching.yaml',
69+
$targets_windows)
7070
$results_windows = run_command("& 'C:/Program Files/Puppet Labs/Puppet/bin/puppet' facts upload", $targets_windows)
7171
}
7272
else {

0 commit comments

Comments
 (0)