summaryrefslogtreecommitdiff
path: root/Propellor/Types/Dns.hs
diff options
context:
space:
mode:
authorJoey Hess2014-04-19 01:26:38 -0400
committerJoey Hess2014-04-19 01:26:38 -0400
commitd1db64b3bc4ef1c802344f666eb160d9a8c97cca (patch)
treeaf3abdb2c4f026c39e5f7c64c62e7cdeb5e34e0e /Propellor/Types/Dns.hs
parent7e9853520b5b7233ce9a9c8153f6c366cab0ee39 (diff)
Propellor can configure primary DNS servers, including generating zone files, which is done by looking at the properties of hosts in a domain.
Diffstat (limited to 'Propellor/Types/Dns.hs')
-rw-r--r--Propellor/Types/Dns.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Propellor/Types/Dns.hs b/Propellor/Types/Dns.hs
index 9d801ef6..e367202a 100644
--- a/Propellor/Types/Dns.hs
+++ b/Propellor/Types/Dns.hs
@@ -19,10 +19,10 @@ data NamedConf = NamedConf
, confMasters :: [IPAddr]
, confLines :: [String]
}
- deriving (Show, Eq)
+ deriving (Show, Eq, Ord)
data Type = Master | Secondary
- deriving (Show, Eq)
+ deriving (Show, Eq, Ord)
-- | Represents a bind 9 zone file.
data Zone = Zone