blob: eadc1c220392abefe451fc70aa548174afd4a4c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
class pacman (
String $hooks_path = '/etc/pacman.d/hooks-puppet',
String $conf_path = '/etc/pacman.conf',
) {
# TODO ability to set multiple settings
ini_setting { 'Pacman HookDir':
path => $conf_path,
section => 'options',
setting => 'HookDir',
value => $hooks_path,
}
file { $hooks_path:
ensure => directory,
recurse => true,
purge => true,
}
}
|