summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
authorJoey Hess2017-08-03 11:42:14 -0400
committerJoey Hess2017-08-03 11:42:14 -0400
commit3c6c78962033321e891f2d183a6e18475e0d5b01 (patch)
tree7b3d59ac0ca634cd40ed3df4f44c5371249e71ef /src/Propellor
parent0065be28e904ab882e3d425b563df5e12ffc8e22 (diff)
minor
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/Property/SiteSpecific/JoeySites.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs
index 50cedcc8..a87b6d3e 100644
--- a/src/Propellor/Property/SiteSpecific/JoeySites.hs
+++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs
@@ -936,7 +936,6 @@ homePowerMonitor :: Property DebianLike
homePowerMonitor = propertyList "home power monitor" $ props
& Apache.installed
& Apt.installed ["python2", "python-pymodbus"]
- & Apt.installed ["ghc", "make"]
& File.ownerGroup "/var/www/html" (User "joey") (Group "joey")
& Git.cloned (User "joey") "git://git.kitenet.net/joey/homepower" d Nothing
`onChange` buildpoller
@@ -950,6 +949,7 @@ homePowerMonitor = propertyList "home power monitor" $ props
, "make"
]
`assume` MadeChange
+ `requires` Apt.installed ["ghc", "make"]
servicename = "homepower"
servicefile = "/etc/systemd/system/" ++ servicename ++ ".service"
serviceinstalled = servicefile `File.hasContent`