diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-01-04 13:52:59 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-01-04 13:52:59 -0400 |
| commit | ce7f14b9b3f4e00ef0c44537ec94fa8855308764 (patch) | |
| tree | ebf18d50a9871624bee29b5501a8f838eb5ae599 | |
| parent | b16b47dae8561ef2fe69929bf21dbd83d0d7ce88 (diff) | |
propellor spin
| -rw-r--r-- | src/Propellor/Property/Dns.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Propellor/Property/Dns.hs b/src/Propellor/Property/Dns.hs index 062b278b..27f81f62 100644 --- a/src/Propellor/Property/Dns.hs +++ b/src/Propellor/Property/Dns.hs @@ -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 |
