summaryrefslogtreecommitdiff
path: root/src/Propellor/Info.hs
diff options
context:
space:
mode:
authorJoey Hess2015-01-04 19:24:18 -0400
committerJoey Hess2015-01-04 19:24:18 -0400
commit8e442f0656365e48565547b5d6b45f0c42ae320f (patch)
treebdd7252833db4e8443c4ed1de54df64691fa2d7d /src/Propellor/Info.hs
parent302fb3183fc60cbd3fd6dcca21257df11e3bae59 (diff)
DNS records for hosts with known ssh public keys now automatically include SSHFP records.
Diffstat (limited to 'src/Propellor/Info.hs')
-rw-r--r--src/Propellor/Info.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Propellor/Info.hs b/src/Propellor/Info.hs
index b7ca81b5..ccb27cf3 100644
--- a/src/Propellor/Info.hs
+++ b/src/Propellor/Info.hs
@@ -64,6 +64,7 @@ addDNS r = pureInfoProperty (rdesc r) $ mempty { _dns = S.singleton r }
rdesc (NS d) = unwords ["NS", ddesc d]
rdesc (TXT s) = unwords ["TXT", s]
rdesc (SRV x y z d) = unwords ["SRV", show x, show y, show z, ddesc d]
+ rdesc (SSHFP x y s) = unwords ["SSHFP", show x, show y, s]
rdesc (INCLUDE f) = unwords ["$INCLUDE", f]
ddesc (AbsDomain domain) = domain