From 9f781db6daaff6f6cbc8d50d57bea0c188d3a0fa Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 6 Jul 2014 12:27:05 -0400 Subject: propellor spin --- src/Propellor/Property/Hostname.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Propellor/Property/Hostname.hs b/src/Propellor/Property/Hostname.hs index 8d98eca9..1cce4e60 100644 --- a/src/Propellor/Property/Hostname.hs +++ b/src/Propellor/Property/Hostname.hs @@ -26,7 +26,7 @@ setTo hn = combineProperties desc go [ Just $ "/etc/hostname" `File.hasContent` [basehost] , if null domain then Nothing - else Just $ hostsline "127.0.1.1" [hn, basehost] + else Just $ trivial $ hostsline "127.0.1.1" [hn, basehost] , Just $ trivial $ hostsline "127.0.0.1" ["localhost"] , Just $ trivial $ cmdProperty "hostname" [basehost] ] -- cgit v1.2.3