Safe Haskell | None |
---|
- pureAttrProperty :: Desc -> SetAttr -> Property
- hostname :: HostName -> Property
- getHostName :: Propellor HostName
- os :: System -> Property
- getOS :: Propellor (Maybe System)
- ipv4 :: String -> Property
- ipv6 :: String -> Property
- alias :: Domain -> Property
- addDNS :: Record -> SetAttr
- addNamedConf :: NamedConf -> SetAttr
- getNamedConf :: Propellor (Map Domain NamedConf)
- sshPubKey :: String -> Property
- getSshPubKey :: Propellor (Maybe String)
- hostnameless :: Attr
- hostAttr :: Host -> Attr
- hostProperties :: Host -> [Property]
- hostMap :: [Host] -> Map HostName Host
- hostAttrMap :: [Host] -> Map HostName Attr
- findHost :: [Host] -> HostName -> Maybe Host
- getAddresses :: Attr -> [IPAddr]
- hostAddresses :: HostName -> [Host] -> [IPAddr]
- fromHost :: [Host] -> HostName -> Propellor a -> Propellor (Maybe a)
Documentation
pureAttrProperty :: Desc -> SetAttr -> PropertySource
ipv4 :: String -> PropertySource
Indidate that a host has an A record in the DNS.
TODO check at run time if the host really has this address. (Can't change the host's address, but as a sanity check.)
addNamedConf :: NamedConf -> SetAttrSource
Adds a DNS NamedConf stanza.
Note that adding a Master stanza for a domain always overrides an existing Secondary stanza, while a Secondary stanza is only added when there is no existing Master stanza.
hostProperties :: Host -> [Property]Source
getAddresses :: Attr -> [IPAddr]Source
hostAddresses :: HostName -> [Host] -> [IPAddr]Source