summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2019-09-22 19:15:24 -0400
committerJoey Hess2019-09-22 19:17:38 -0400
commita820c5c9ed876c70cf18c141cd6be471313dad65 (patch)
tree5df25e1ceb59030e8a73e3236f26ac52959c6b41
parentf2328f19a9be8f97d31625456ffbf6c7783d89ab (diff)
changed modbus library
-rw-r--r--src/Propellor/Property/SiteSpecific/JoeySites.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs
index f8e261a5..493a0ce5 100644
--- a/src/Propellor/Property/SiteSpecific/JoeySites.hs
+++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs
@@ -904,9 +904,10 @@ alarmClock oncalendar (User user) command = combineProperties "goodmorning timer
house :: IsContext c => User -> [Host] -> c -> (SshKeyType, Ssh.PubKeyText) -> Property (HasInfo + DebianLike)
house user hosts ctx sshkey = propertyList "home automation" $ props
& Apache.installed
- & Apt.installed ["python", "python-pymodbus", "rrdtool", "rsync"]
+ & Apt.installed ["libmodbus-dev", "rrdtool", "rsync"]
& Git.cloned user "https://git.joeyh.name/git/joey/house.git" d Nothing
& Git.cloned user "https://git.joeyh.name/git/reactive-banana-automation.git" (d </> "reactive-banana-automation") Nothing
+ & Git.cloned user "https://git.joeyh.name/git/haskell-libmodbus.git" (d </> "haskell-libmodbus") Nothing
& websitesymlink
& build
& Systemd.enabled setupservicename
@@ -943,6 +944,8 @@ house user hosts ctx sshkey = propertyList "home automation" $ props
userScriptProperty (User "joey")
[ "cd " ++ d </> "reactive-banana-automation"
, "cabal install"
+ , "cd " ++ d </> "haskell-libmodbus"
+ , "cabal install"
, "cd " ++ d
, "make"
]