summaryrefslogtreecommitdiff
path: root/config-simple.hs
diff options
context:
space:
mode:
authorJoey Hess2014-11-23 16:39:49 -0400
committerJoey Hess2014-11-23 16:40:21 -0400
commitbaba668033f86b7c91f6b15c58002ea4bdbf3da2 (patch)
tree8cac82bbfdc2dff3965cd0d857419b6403efd878 /config-simple.hs
parentd8624e2e5df9baf6883eb91b4be8282fb4b62304 (diff)
hasSomePassword and hasPassword now default to using the name of the host as the Context for the password. To specify a different context, use hasSomePassword' and hasPassword' (API change)
Diffstat (limited to 'config-simple.hs')
-rw-r--r--config-simple.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-simple.hs b/config-simple.hs
index fb02e279..c03149ed 100644
--- a/config-simple.hs
+++ b/config-simple.hs
@@ -29,7 +29,7 @@ hosts =
& Apt.unattendedUpgrades
& Apt.installed ["etckeeper"]
& Apt.installed ["ssh"]
- & User.hasSomePassword "root" (Context "mybox.example.com")
+ & User.hasSomePassword "root"
& Network.ipv6to4
& File.dirExists "/var/www"
& Docker.docked webserverContainer