From 36d005c1bb298d4cf8cf274680d41b90c2425f87 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 21 May 2016 22:07:18 +0900 Subject: descs --- src/Propellor/Property/Ccache.hs | 2 +- src/Propellor/Property/Sbuild.hs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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" , "" -- cgit v1.2.3