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:
b41bbe0
)
rebuild zone after puppet update
author
Peter Palfrader
<peter@palfrader.org>
Fri, 7 Jun 2013 20:38:25 +0000
(20:38 +0000)
committer
Peter Palfrader
<peter@palfrader.org>
Fri, 7 Jun 2013 20:38:25 +0000
(20:38 +0000)
modules/dnsextras/manifests/entries.pp
patch
|
blob
|
history
diff --git
a/modules/dnsextras/manifests/entries.pp
b/modules/dnsextras/manifests/entries.pp
index
0dbf7de
..
dcbd18f
100644
(file)
--- a/
modules/dnsextras/manifests/entries.pp
+++ b/
modules/dnsextras/manifests/entries.pp
@@
-4,10
+4,15
@@
class dnsextras::entries {
}
concat { '/srv/dns.debian.org/puppet-extra/include-debian.org':
- #require => Package['exim4-daemon-heavy']
- # notify => Service["nagios"],
+ notify => Exec["rebuild debian.org zone"],
}
Concat::Fragment <<| tag == "dnsextra" |>>
+
+ exec { 'rebuild debian.org zone':
+ path => '/usr/bin:/usr/sbin:/bin:/sbin',
+ command => 'sh -c "/git/HOOKS/write_zonefile debian.org && rndc reload"',
+ refreshonly => true,
+ }
}