From baba668033f86b7c91f6b15c58002ea4bdbf3da2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 23 Nov 2014 16:39:49 -0400 Subject: 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) --- config-simple.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config-simple.hs') 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 -- cgit v1.2.3