8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# File 'manifests/trusty64/apt_get_update.pp', line 8
class cis_benchmark::trusty64::apt_get_update {
## local variables
$frequency = $::cis_benchmark::update_frequency
## local variables: stig items
$cis_1_8 = $::cis_benchmark::cis_1_8
## 1.8 Ensure updates, patches, and additional security software are installed (Not Scored)
if ($cis_1_8) {
exec { 'stabilize-dpkg':
command => 'dpkg --configure -a',
unless => 'apt-get -y update',
path => '/usr/bin',
}
class { 'apt':
update => {
frequency => $frequency,
},
}
}
}
|