Puppet Class: windows_autoupdate::params
- Inherited by:
-
windows_autoupdate
- Defined in:
- manifests/params.pp
Overview
Class windows_autoupdate::params
This private class is meant to be called from ‘windows_autoupdate` It sets variables according to platform
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'manifests/params.pp', line 10
class windows_autoupdate::params {
$noAutoUpdate = '0'
$aUOptions = '4'
$scheduledInstallDay = '1'
$scheduledInstallTime = '10'
$useWUServer = '0'
$rescheduleWaitTime = '10'
$noAutoRebootWithLoggedOnUsers = '0'
if $::operatingsystemrelease == 'Server 2012' {
$p_reg_key = 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update'
} else {
$p_reg_key = 'HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU'
}
}
|