propellor spin
This commit is contained in:
parent
fbd1e5c109
commit
b13574372c
|
@ -192,7 +192,7 @@ spin host = do
|
||||||
bootstrapcmd = shellWrap $ intercalate " ; "
|
bootstrapcmd = shellWrap $ intercalate " ; "
|
||||||
[ "if [ ! -d " ++ localdir ++ " ]"
|
[ "if [ ! -d " ++ localdir ++ " ]"
|
||||||
, "then " ++ intercalate " && "
|
, "then " ++ intercalate " && "
|
||||||
[ "apt-get -y install git"
|
[ "apt-get -y install git make"
|
||||||
, "echo " ++ toMarked statusMarker (show NeedGitClone)
|
, "echo " ++ toMarked statusMarker (show NeedGitClone)
|
||||||
]
|
]
|
||||||
, "else " ++ intercalate " && "
|
, "else " ++ intercalate " && "
|
||||||
|
|
|
@ -59,10 +59,11 @@ host hostname@"diatom.kitenet.net" = Just $ props
|
||||||
& standardSystem Stable
|
& standardSystem Stable
|
||||||
& Hostname.set hostname
|
& Hostname.set hostname
|
||||||
& Apt.unattendedUpgrades
|
& Apt.unattendedUpgrades
|
||||||
& Apt.serviceInstalledRunning "apache2"
|
|
||||||
& Apt.serviceInstalledRunning "bind9"
|
|
||||||
& Apt.serviceInstalledRunning "ntp"
|
& Apt.serviceInstalledRunning "ntp"
|
||||||
& Apt.installed ["git", "git-annex"]
|
& Apt.serviceInstalledRunning "bind9"
|
||||||
|
& Apt.serviceInstalledRunning "apache2"
|
||||||
|
& Apt.serviceInstalledRunning "git-daemon-sysvinit"
|
||||||
|
& Apt.installed ["git", "git-annex", "rsync"]
|
||||||
& Apt.buildDep ["git-annex"] `period` Daily
|
& Apt.buildDep ["git-annex"] `period` Daily
|
||||||
-- My laptop
|
-- My laptop
|
||||||
host _hostname@"darkstar.kitenet.net" = Just $ props
|
host _hostname@"darkstar.kitenet.net" = Just $ props
|
||||||
|
|
Loading…
Reference in New Issue