Safe Haskell | None |
---|---|
Language | Haskell98 |
Propellor.Host
Documentation
host :: HostName -> Host Source
Starts accumulating the properties of a Host.
host "example.com" & someproperty ! oldproperty & otherproperty
Something that can accumulate properties.
Methods
(&) :: IsProp p => h -> p -> h infixl 1 Source
Adds a property.
Can add Properties and RevertableProperties
(&^) :: IsProp p => h -> p -> h infixl 1 Source
Like (&), but adds the property as the first property of the host. Normally, property order should not matter, but this is useful when it does.
(!) :: Hostlike h => h -> RevertableProperty -> h infixl 1 Source
Adds a property in reverted form.
propigateInfo :: Hostlike hl => hl -> Property -> (Info -> Info) -> Property Source
When eg, docking a container, some of the Info about the container should propigate out to the Host it's on. This includes DNS info, so that eg, aliases of the container are reflected in the dns for the host where it runs.
This adjusts the Property that docks a container, to include such info from the container.