1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
class common::base_packages {
# packages installed everywhere
# asked by misc: screen, vim-enhanced, htop, lsof, tcpdump, less,
# lvm2, lshw, iotop
# asked by nanar: rsync
# asked bu dams: watchdog, wget
$package_list= ['screen',
'vim-enhanced',
'htop',
'lsof',
'tcpdump',
'rsync',
'less',
'lshw',
'lvm2',
'iotop',
'wget']
if $::architecture == 'x86_64' {
package { ['mcelog']: }
}
package { $package_list: }
# removed as it mess up with our policy for password
# and is not really used
package { 'msec':
ensure => 'absent',
}
}
|