diff options
| author | Joey Hess <joey@kitenet.net> | 2014-04-14 15:42:26 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-04-14 15:42:26 -0400 |
| commit | e8db2577a8e07deda5ad121f7a574e2f4d88c543 (patch) | |
| tree | ea0b9c497d862512e92f5ff86672427ffb2d5fce /Propellor/Property/Hostname.hs | |
| parent | 8bb029002e547f272e705d92dbc9c4fa53a63d78 (diff) | |
propellor spin
Diffstat (limited to 'Propellor/Property/Hostname.hs')
| -rw-r--r-- | Propellor/Property/Hostname.hs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Propellor/Property/Hostname.hs b/Propellor/Property/Hostname.hs index 59aade45..30e0992d 100644 --- a/Propellor/Property/Hostname.hs +++ b/Propellor/Property/Hostname.hs @@ -6,8 +6,6 @@ import qualified Propellor.Property.File as File -- | Ensures that the hostname is set to the HostAttr value. -- Configures /etc/hostname and the current hostname. -- --- When the hostname is a FQDN, also configures /etc/mailname --- with the domain part. -- A FQDN also configures /etc/hosts, with an entry for 127.0.1.1, which is -- standard at least on Debian to set the FDQN (127.0.0.1 is localhost). sane :: Property @@ -26,9 +24,6 @@ setTo hn = combineProperties desc go then Nothing else Just $ File.fileProperty desc addhostline "/etc/hosts" - , if null domain - then Nothing - else Just $ "/etc/mailname" `File.hasContent` [domain] ] hostip = "127.0.1.1" |
