propellor-0.4.0: property-based host configuration management in haskell

Safe HaskellNone

Propellor.Attr

Synopsis

Documentation

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.)

ipv6 :: String -> PropertySource

Indidate that a host has an AAAA record in the DNS.

alias :: Domain -> PropertySource

Indicates another name for the host in the DNS.

addDNS :: Record -> SetAttrSource

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.

fromHost :: [Host] -> HostName -> Propellor a -> Propellor (Maybe a)Source

Lifts an action into a different host.

For example, `fromHost hosts otherhost getSshPubKey`