summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Hostname.hs
diff options
context:
space:
mode:
authorJoey Hess2014-07-06 12:26:09 -0400
committerJoey Hess2014-07-06 12:26:09 -0400
commitdbfa9b5051e73b4c0d8f22d5a859b8ae6d67417e (patch)
tree2c4c3ba2fc0cb958d5965ba32b0004dede6ce234 /src/Propellor/Property/Hostname.hs
parent27662406a00181d1b5ea816dc507f225154776b9 (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Property/Hostname.hs')
-rw-r--r--src/Propellor/Property/Hostname.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Hostname.hs b/src/Propellor/Property/Hostname.hs
index 393c380d..8d98eca9 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]
]