propellor spin

This commit is contained in:
Joey Hess 2015-01-04 13:52:59 -04:00
parent b16b47dae8
commit ce7f14b9b3
Failed to extract signature
1 changed files with 4 additions and 2 deletions

View File

@ -132,8 +132,10 @@ signedPrimary recurrance hosts domain soa rs = RevertableProperty setup cleanup
where
-- TODO enable dnssec options.
-- dnssec-enable yes; dnssec-validation yes; dnssec-lookaside auto;
setup = setupPrimary zonefile signedZoneFile hosts domain soa rs'
`onChange` toProp (zoneSigned domain zonefile)
setup = combineProperties ("dns primary for " ++ domain ++ " (signed)")
[ setupPrimary zonefile signedZoneFile hosts domain soa rs'
, toProp (zoneSigned domain zonefile)
]
`onChange` Service.reloaded "bind9"
cleanup = cleanupPrimary zonefile domain