summaryrefslogtreecommitdiff
path: root/joeyconfig.hs
diff options
context:
space:
mode:
authorJoey Hess2017-07-26 13:13:32 -0400
committerJoey Hess2017-07-26 13:13:32 -0400
commit4b148a2c29a78cc07930d665283e5691a5d2156d (patch)
treed8fe0c86d9b51a966df7b256fb1c2c4d3f67108a /joeyconfig.hs
parentfb1c34c78c3f2b248fea5be17df7295987953f88 (diff)
propellor spin
Diffstat (limited to 'joeyconfig.hs')
-rw-r--r--joeyconfig.hs38
1 files changed, 18 insertions, 20 deletions
diff --git a/joeyconfig.hs b/joeyconfig.hs
index 35b5363c..be7b9ef0 100644
--- a/joeyconfig.hs
+++ b/joeyconfig.hs
@@ -182,42 +182,40 @@ orca = host "orca.kitenet.net" $ props
honeybee :: Host
honeybee = host "honeybee.kitenet.net" $ props
- & standardSystem Testing ARMHF [ "Arm git-annex build box." ]
+ & standardSystem Testing ARMHF [ "Home router and arm git-annex build box." ]
- -- I have to travel to get console access, so no automatic
- -- upgrades, and try to be robust.
+ -- Hard to get console access, so no automatic upgrades,
+ -- and try to be robust.
& "/etc/default/rcS" `File.containsLine` "FSCKFIX=yes"
& Apt.installed ["flash-kernel"]
& "/etc/flash-kernel/machine" `File.hasContent` ["Cubietech Cubietruck"]
& Apt.installed ["linux-image-armmp"]
- & Network.dhcp "eth0" `requires` Network.cleanInterfacesFile
& Postfix.satellite
- -- ipv6 used for remote access thru firewalls
- & Apt.serviceInstalledRunning "aiccu"
- & ipv6 "2001:4830:1600:187::2"
- -- restart to deal with failure to connect, tunnel issues, etc
- & Cron.job "aiccu restart daily" Cron.Daily (User "root") "/"
- "service aiccu stop; service aiccu start"
-
- -- In case compiler needs more than available ram
- & Apt.serviceInstalledRunning "swapspace"
-
-- No hardware clock.
& Apt.serviceInstalledRunning "ntp"
- -- Runs only on weekdays.
+ -- Home router
+ & Network.dhcp "eth0" `requires` Network.cleanInterfacesFile
+ -- todo configure wlan0 on ip 10.1.1.1
+ & Apt.serviceInstalledRunning "hostapd" -- todo write hostapd.conf 1st
+ & Apt.serviceInstalledRunning "dnsmasq" -- todo write dnsmasq.conf file
+ & JoeySites.ipmasq "eth0" "wlan0"
+
+ -- Autobuild runs only on weekdays.
& Systemd.nspawned (GitAnnexBuilder.autoBuilderContainer
GitAnnexBuilder.armAutoBuilder
- Unstable ARMEL Nothing weekends "23h")
- -- Runs only on weekends.
+ Unstable ARMEL Nothing weekends "10h")
+ -- Autobuild runs only on weekends.
& Systemd.nspawned (GitAnnexBuilder.autoBuilderContainer
GitAnnexBuilder.stackAutoBuilder
- (Stable "jessie") ARMEL (Just "ancient") weekdays "23h")
+ (Stable "jessie") ARMEL (Just "ancient") weekdays "10h")
+ -- In case compiler needs more than available ram
+ & Apt.serviceInstalledRunning "swapspace"
where
- weekdays = Cron.Times "15 6 * * 2-5"
- weekends = Cron.Times "15 6 * * 6-7"
+ weekdays = Cron.Times "15 10 * * 2-5"
+ weekends = Cron.Times "15 10 * * 6-7"
-- This is not a complete description of kite, since it's a
-- multiuser system with eg, user passwords that are not deployed