From 8e7b296e820e7513c7846ceeb3fbd87d60bc95f4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 30 Mar 2014 13:12:33 -0400 Subject: split out Property.FIle --- Propellor.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Propellor.hs') diff --git a/Propellor.hs b/Propellor.hs index 1bc1373a..44673d10 100644 --- a/Propellor.hs +++ b/Propellor.hs @@ -1,5 +1,6 @@ import Property import HostName +import qualified Property.File as File import qualified Property.Apt as Apt import qualified Property.Ssh as Ssh import qualified Property.User as User @@ -47,7 +48,7 @@ standardSystem suite = propertyList "standard system" , User.nonsystem "joey" , Apt.installed ["sudo"] -- nopasswd because no password is set up for joey. - , lineInFile "/etc/sudoers" "joey ALL=(ALL:ALL) NOPASSWD:ALL" + , "/etc/sudoers" `File.containsLine` "joey ALL=(ALL:ALL) NOPASSWD:ALL" , GitHome.installedFor "joey" ] -- cgit v1.2.3