summaryrefslogtreecommitdiff
path: root/Propellor/Property/OpenId.hs
diff options
context:
space:
mode:
authorJoey Hess2014-04-08 19:31:03 -0400
committerJoey Hess2014-04-08 19:31:03 -0400
commita52a2a89dfe92d7bed4a6446101657a288fd3bae (patch)
tree207f98df36a858276269dcf87926566ea082018b /Propellor/Property/OpenId.hs
parent7561ee0443a33ffc0574dc6b606c9128da3fba4f (diff)
serviceInstalledRunning
Diffstat (limited to 'Propellor/Property/OpenId.hs')
-rw-r--r--Propellor/Property/OpenId.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Propellor/Property/OpenId.hs b/Propellor/Property/OpenId.hs
index 4f22bdb9..c397bdb8 100644
--- a/Propellor/Property/OpenId.hs
+++ b/Propellor/Property/OpenId.hs
@@ -3,15 +3,15 @@ module Propellor.Property.OpenId where
import Propellor
import qualified Propellor.Property.File as File
import qualified Propellor.Property.Apt as Apt
+import qualified Propellor.Property.Service as Service
import Data.List
providerFor :: [UserName] -> String -> Property
providerFor users baseurl = propertyList desc $
- [ serviceRunning "apache2"
- `requires` Apt.installed ["apache2"]
+ [ Apt.serviceInstalledRunning "apache2"
, Apt.installed ["simpleid"]
- `onChange` serviceRestarted "apache2"
+ `onChange` Service.restarted "apache2"
, File.fileProperty desc
(map setbaseurl) "/etc/simpleid/config.inc"
] ++ map identfile users