projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support install less crap in chroots, 2
[mirror/dsa-puppet.git]
/
modules
/
dnsextras
/
manifests
/
entries.pp
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':
}
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" |>>
}
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,
+ }
}
}