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

Safe HaskellNone

Propellor.Property.Git

Synopsis

Documentation

daemonRunning :: FilePath -> RevertablePropertySource

Exports all git repos in a directory (that user nobody can read) using git-daemon, run from inetd.

Note that reverting this property does not remove or stop inetd.

cloned :: UserName -> RepoUrl -> FilePath -> Maybe Branch -> PropertySource

Specified git repository is cloned to the specified directory.

If the firectory exists with some other content, it will be recursively deleted.

A branch can be specified, to check out.