summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
authorJoey Hess2015-01-04 13:52:59 -0400
committerJoey Hess2015-01-04 13:52:59 -0400
commitce7f14b9b3f4e00ef0c44537ec94fa8855308764 (patch)
treeebf18d50a9871624bee29b5501a8f838eb5ae599 /src/Propellor
parentb16b47dae8561ef2fe69929bf21dbd83d0d7ce88 (diff)
propellor spin
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/Property/Dns.hs6
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