summaryrefslogtreecommitdiff
path: root/Propellor.hs
diff options
context:
space:
mode:
authorJoey Hess2014-03-30 13:12:33 -0400
committerJoey Hess2014-03-30 13:12:33 -0400
commit8e7b296e820e7513c7846ceeb3fbd87d60bc95f4 (patch)
tree4eb80ad32b42ee871f5704cd1af99baf9e8cacc6 /Propellor.hs
parente741b7b82e0b5be2809d1da7f54d8b0fcd0449e3 (diff)
split out Property.FIle
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"
]