File tree 4 files changed +14
-6
lines changed
4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
+ ## Release 1.1.2
6
+
7
+ ** Bugfixes**
8
+ - Fixes a bug that caused High Priority OS patches for Windows not to be installed, due to the wrong variable being used.
9
+
10
+ ** Improvements**
11
+ - Deduplicates the list of installed patches on the last run, reported in the ` patching_as_code ` fact.
12
+
5
13
## Release 1.1.1
6
14
7
15
** Improvements**
Original file line number Diff line number Diff line change 470
470
path => " ${facts['puppet_vardir']}/../../patching_as_code/last_run" ,
471
471
show_diff => false ,
472
472
content => Deferred(' patching_as_code::last_run' ,[
473
- $updates_to_install ,
474
- $choco_updates_to_install
473
+ $updates_to_install .unique ,
474
+ $choco_updates_to_install .unique
475
475
]),
476
476
schedule => ' Patching as Code - Patch Window' ,
477
477
require => File [" ${facts['puppet_vardir']}/../../patching_as_code" ],
489
489
path => " ${facts['puppet_vardir']}/../../patching_as_code/high_prio_last_run" ,
490
490
show_diff => false ,
491
491
content => Deferred(' patching_as_code::high_prio_last_run' ,[
492
- $high_prio_updates_to_install ,
493
- $high_prio_choco_updates_to_install
492
+ $high_prio_updates_to_install .unique ,
493
+ $high_prio_choco_updates_to_install .unique
494
494
]),
495
495
schedule => ' Patching as Code - High Priority Patch Window' ,
496
496
require => File [" ${facts['puppet_vardir']}/../../patching_as_code" ],
Original file line number Diff line number Diff line change 18
18
}
19
19
20
20
if $high_prio_updates .count > 0 {
21
- $updates .each | $kb | {
21
+ $high_prio_updates .each | $kb | {
22
22
patching_as_code::kb { $kb:
23
23
ensure => ' present' ,
24
24
maintwindow => ' Patching as Code - High Priority Patch Window'
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " puppetlabs-patching_as_code" ,
3
- "version" : " 1.1.1 " ,
3
+ "version" : " 1.1.2 " ,
4
4
"author" : " puppetlabs" ,
5
5
"summary" : " Automated patching through desired state code" ,
6
6
"license" : " Apache-2.0" ,
You can’t perform that action at this time.
0 commit comments