propellor

propellor config for hosts.
git clone git://git.ricketyspace.net/propellor.git
Log | Files | Refs | LICENSE

commit fe8a0f04c699da5d9da0f71180776a1943f0496e
parent 67f47e5a23e8c7814014ea58f2dbc9f7c58ede3a
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun, 24 Jun 2018 13:15:19 +0000

Revert "add MTXT record type to Propellor.Types.DNS.Record"

This reverts commit e7b4a50417c1ce48ea85c26c687635efe126db86.

Diffstat:
src/Propellor/Property/Dns.hs | 13-------------
src/Propellor/Property/Unbound.hs | 1-
src/Propellor/Types/Dns.hs | 1-
3 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/src/Propellor/Property/Dns.hs b/src/Propellor/Property/Dns.hs @@ -23,7 +23,6 @@ import qualified Propellor.Property.Service as Service import Propellor.Property.Scheduled import Propellor.Property.DnsSec import Utility.Applicative -import Utility.Split import qualified Data.Map as M import qualified Data.Set as S @@ -299,7 +298,6 @@ rField (CNAME _) = Just "CNAME" rField (MX _ _) = Just "MX" rField (NS _) = Just "NS" rField (TXT _) = Just "TXT" -rField (MTXT _) = Just "TXT" rField (SRV _ _ _ _) = Just "SRV" rField (SSHFP _ _ _) = Just "SSHFP" rField (INCLUDE _) = Just "$INCLUDE" @@ -326,17 +324,6 @@ rValue (INCLUDE f) = Just f rValue (TXT s) = Just $ [q] ++ filter (/= q) s ++ [q] where q = '"' -rValue (MTXT s) = Just $ [op] ++ [w] - ++ (intercalate "\n\t" $ - map (\x -> [q] ++ filter (/= q) x ++ [q]) $ - splitc n s) - ++ [w] ++ [cp] - where - op = '(' - cp = ')' - w = ' ' - q = '"' - n = '\n' rValue (PTR _) = Nothing -- | Adjusts the serial number of the zone to always be larger diff --git a/src/Propellor/Property/Unbound.hs b/src/Propellor/Property/Unbound.hs @@ -120,7 +120,6 @@ genRecord dom (PTR revip) = Just $ genPTR dom revip genRecord _ (CNAME _) = Nothing genRecord _ (NS _) = Nothing genRecord _ (TXT _) = Nothing -genRecord _ (MTXT _) = Nothing genRecord _ (SRV _ _ _ _) = Nothing genRecord _ (SSHFP _ _ _) = Nothing genRecord _ (INCLUDE _) = Nothing diff --git a/src/Propellor/Types/Dns.hs b/src/Propellor/Types/Dns.hs @@ -113,7 +113,6 @@ data Record | MX Int BindDomain | NS BindDomain | TXT String - | MTXT String | SRV Word16 Word16 Word16 BindDomain | SSHFP Int Int String | INCLUDE FilePath