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

Safe HaskellNone
LanguageHaskell98

Propellor.Property.Bootstrap

Synopsis

Documentation

data RepoSource Source #

Where a propellor repository should be bootstrapped from.

Constructors

GitRepoUrl String 
GitRepoOutsideChroot

When used in a chroot, this copies the git repository from outside the chroot, including its configuration.

bootstrappedFrom :: RepoSource -> Property Linux Source #

Bootstraps a propellor installation into usrlocalpropellor

Normally, propellor is already bootstrapped when it runs, so this property is not useful. However, this can be useful inside a chroot used to build a disk image, to make the disk image have propellor installed.

The git repository is cloned (or pulled to update if it already exists).

All build dependencies are installed, using distribution packages or falling back to using cabal.

clonedFrom :: RepoSource -> Property Linux Source #

Clones the propellor repeository into usrlocalpropellor

If the propellor repo has already been cloned, pulls to get it up-to-date.