From 3c6c78962033321e891f2d183a6e18475e0d5b01 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 3 Aug 2017 11:42:14 -0400 Subject: minor --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Propellor') 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` -- cgit v1.2.3