You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+8
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,14 @@
2
2
3
3
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
Copy file name to clipboardexpand all lines: REFERENCE.md
+52-51
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,15 @@
7
7
### Classes
8
8
9
9
*[`patching_as_code`](#patching_as_code): Framework for patch management as code. Works alongside the puppetlabs/pe_patch or albatrossflavour/os_patching modules
*[`patching_as_code::windows::patchday`](#patching_as_codewindowspatchday): Class: patching_as_code::windows::patchday Performs the actual patching on Windows
10
+
*[`patching_as_code::high_prio_reboot`](#patching_as_codehigh_prio_reboot): This class gets called by init.pp to reboot the node. You can use Hiera to set a different default for the reboot_delay if desired.
11
+
*[`patching_as_code::linux::patchday`](#patching_as_codelinuxpatchday): This class gets called by init.pp to perform the actual patching on Linux.
12
+
*[`patching_as_code::reboot`](#patching_as_codereboot): This class gets called by init.pp to reboot the node. You can use Hiera to set a different default for the reboot_delay if desired.
13
+
*[`patching_as_code::windows::patchday`](#patching_as_codewindowspatchday): This class gets called by init.pp to perform the actual patching on Windows.
14
14
*[`patching_as_code::wu`](#patching_as_codewu): class patching_as_code::wu
@@ -108,7 +108,7 @@ Hash of available patch_schedules. Default schedules are in /data/common.yaml of
108
108
109
109
Options:
110
110
111
-
***:day_of_week**`String`: Day of the week to patch, valid options: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'
111
+
***:day_of_week**`String`: Day of the week to patch, valid options: 'Any', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'
112
112
***:count_of_week**`Variant[Integer,Array[Integer]]`: Which week(s) in the month to patch, use number(s) between 1 and 5
113
113
***:hours**`String`: Which hours on patch day to patch, define a range as 'HH:MM - HH:MM'
114
114
***:max_runs**`String`: How many Puppet runs during the patch window can Puppet install patches. Must be at least 1.
@@ -199,48 +199,41 @@ Options:
199
199
***:command**`String`: The pre-reboot command to execute
200
200
***:path**`String`: The path for the command
201
201
***:provider**`String`: The provider for the command
202
+
Note: the provider for the command gets forced to `posix` on Linux and `powershell` on Windows
202
203
203
204
##### <aname="fact_upload"></a>`fact_upload`
204
205
205
-
Data type: `Optional[Boolean]`
206
+
Data type: `Boolean`
206
207
207
208
How os_patching/pe_patch handles changes to fact cache. Defaults to true.
208
209
When true (default), `puppet fact upload` occurs as expected
209
210
When false, changes to fact cache are not uploaded
0 commit comments