summaryrefslogtreecommitdiff
path: root/Propellor.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Propellor.hs')
-rw-r--r--Propellor.hs3
1 files changed, 2 insertions, 1 deletions
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"
]