diff --git a/src/Propellor/Property/Hostname.hs b/src/Propellor/Property/Hostname.hs index 393c380..8d98eca 100644 --- a/src/Propellor/Property/Hostname.hs +++ b/src/Propellor/Property/Hostname.hs @@ -27,7 +27,7 @@ setTo hn = combineProperties desc go , if null domain then Nothing else Just $ hostsline "127.0.1.1" [hn, basehost] - , Just $ hostsline "127.0.0.1" ["localhost"] + , Just $ trivial $ hostsline "127.0.0.1" ["localhost"] , Just $ trivial $ cmdProperty "hostname" [basehost] ]