Safe Haskell | None |
---|---|
Language | Haskell2010 |
Propellor.Property.Localdir
Description
Properties to manipulate propellor's usrlocal/propellor
on spun hosts
Documentation
hasOriginUrl :: String -> Property (HasInfo + DebianLike) Source #
Sets the url to use as the origin of propellor's git repository.
By default, the url is taken from the deploy or origin remote of the repository that propellor --spin is run in. Setting this property overrides that default behavior with a different url.
When hosts are being updated without using -- --spin, eg when using
the runPropellor
cron job, this property can
be set to redirect them to a new git repository url.
removed :: Property UnixLike Source #
Removes the usrlocal/propellor
directory used to spin the host, after
ensuring other properties. Without this property, that directory is left
behind after the spin.
Does not perform other clean up, such as removing Haskell libraries that were
installed in order to build propellor, or removing cronjobs such as created
by runPropellor
.