diff options
| author | Joey Hess <joey@kitenet.net> | 2014-07-06 12:27:05 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-07-06 12:27:05 -0400 |
| commit | 9f781db6daaff6f6cbc8d50d57bea0c188d3a0fa (patch) | |
| tree | a5c7adfb669d8bbd69e6b99ef56dd44d76f7f797 | |
| parent | dbfa9b5051e73b4c0d8f22d5a859b8ae6d67417e (diff) | |
propellor spin
| -rw-r--r-- | src/Propellor/Property/Hostname.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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] ] |
