projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efe9f7a
)
Only mess with /etc/aliases if it already exists
author
Peter Palfrader
<peter@palfrader.org>
Wed, 20 Jun 2012 08:59:36 +0000
(10:59 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Wed, 20 Jun 2012 08:59:36 +0000
(10:59 +0200)
modules/debian-org/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/debian-org/manifests/init.pp
b/modules/debian-org/manifests/init.pp
index
8c76900
..
3f57de2
100644
(file)
--- a/
modules/debian-org/manifests/init.pp
+++ b/
modules/debian-org/manifests/init.pp
@@
-197,6
+197,7
@@
class debian-org {
mailalias { 'samhain-reports':
ensure => present,
recipient => $debianadmin,
+ onlyif => "test -e /etc/aliases",
}
exec { 'apt-get update':