propellor

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

commit 2d558bbdf8c855a5d261ce112c0160f0644ae049
parent f387dc6796f4a954d94f8ea3cb7bec0ee26db023
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun, 17 Jun 2018 16:05:51 +0000

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

This reverts commit 186702835079fac87a018165db25268433bc3271.

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