Safe Haskell | None |
---|---|
Language | Haskell98 |
- pureInfoProperty :: Desc -> Info -> Property
- askInfo :: (Info -> Val a) -> Propellor (Maybe a)
- os :: System -> Property
- getOS :: Propellor (Maybe System)
- ipv4 :: String -> Property
- ipv6 :: String -> Property
- alias :: Domain -> Property
- addDNS :: Record -> Property
- sshPubKey :: String -> Property
- getSshPubKey :: Propellor (Maybe String)
- hostMap :: [Host] -> Map HostName Host
- aliasMap :: [Host] -> Map HostName Host
- findHost :: [Host] -> HostName -> Maybe Host
- findAlias :: [Host] -> HostName -> Maybe Host
- getAddresses :: Info -> [IPAddr]
- hostAddresses :: HostName -> [Host] -> [IPAddr]
Documentation
pureInfoProperty :: Desc -> Info -> Property Source
ipv4 :: String -> Property Source
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.)
alias :: Domain -> Property Source
Indicates another name for the host in the DNS.
When the host's ipv4/ipv6 addresses are known, the alias is set up to use their address, rather than using a CNAME. This avoids various problems with CNAMEs, and also means that when multiple hosts have the same alias, a DNS round-robin is automatically set up.
getAddresses :: Info -> [IPAddr] Source
hostAddresses :: HostName -> [Host] -> [IPAddr] Source