projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Note that exim contains tracker-specific configuration
[mirror/dsa-puppet.git]
/
manifests
/
mask.pp
1
define systemd::mask (
2
$ensure = present,
3
) {
4
$filename = "/etc/systemd/system/${name}"
5
6
case $ensure {
7
present: {
8
$linkensure = "link"
9
}
10
absent: {
11
$linkensure = "absent"
12
}
13
default: { fail ( "Unknown ensure value: '$ensure'" ) }
14
}
15
16
file { $filename:
17
ensure => $linkensure,
18
target => '/dev/null',
19
notify => Exec['systemctl daemon-reload'],
20
}
21
}