summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
authorSean Whitton2016-05-21 22:07:18 +0900
committerSean Whitton2016-05-21 22:07:18 +0900
commit36d005c1bb298d4cf8cf274680d41b90c2425f87 (patch)
tree871392b4792bb8d3d1209c67aa12707e94c6a27a /src/Propellor
parent53cda0948dba7a4bf1661c9a27b864b741e39654 (diff)
descs
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/Property/Ccache.hs2
-rw-r--r--src/Propellor/Property/Sbuild.hs1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Propellor/Property/Ccache.hs b/src/Propellor/Property/Ccache.hs
index 45208508..f511def7 100644
--- a/src/Propellor/Property/Ccache.hs
+++ b/src/Propellor/Property/Ccache.hs
@@ -36,7 +36,7 @@ data Limit
hasGroupCache :: Group -> Limit -> RevertableProperty DebianLike UnixLike
group@(Group g) `hasGroupCache` limit = (make `requires` installed) <!> delete
where
- make = propertyList ("ccache for " ++ g ++ " exists") $ props
+ make = propertyList ("ccache for " ++ g ++ " group exists") $ props
& File.dirExists path
& File.ownerGroup path (User "root") group
& File.mode path (combineModes $
diff --git a/src/Propellor/Property/Sbuild.hs b/src/Propellor/Property/Sbuild.hs
index 87c93315..21a1fc8d 100644
--- a/src/Propellor/Property/Sbuild.hs
+++ b/src/Propellor/Property/Sbuild.hs
@@ -318,6 +318,7 @@ ccachePrepared = propertyList "sbuild group ccache configured" $ props
& Group "sbuild" `Ccache.hasGroupCache` (Ccache.MaxSize "2G")
& "/etc/schroot/sbuild/fstab" `File.containsLine`
"/var/cache/ccache-sbuild /var/cache/ccache-sbuild none rw,bind 0 0"
+ `describe` "ccache mounted in sbuild schroots"
& "/var/cache/ccache-sbuild/sbuild-setup" `File.hasContent`
[ "#!/bin/sh"
, ""