Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
-
Windows
-
1
-
Windows 2019-01-09, Windows 2019-01-16
-
Needs Priority
-
Needs Assessment
Description
Following the Readme from the DSC and DSC_Lite Modules - https://forge.puppet.com/puppetlabs/dsc#handling-reboots-with-dsc and https://forge.puppet.com/puppetlabs/dsc_lite#handling-reboots-with-dsc will result in daily unwarranted reboots.
If we look at the Readme from the Reboot Module - https://forge.puppet.com/puppetlabs/reboot#reboot-when-certain-conditions-are-met we can see that an onlyif attribute needs to be added to only reboot when the specified conditions are met.
A customer ran into this confusion and has requested that the onlyif be added to the example in the DSC/DSC_Lite Module's Readme also.