propellor-0.9.2: property-based host configuration management in haskell

Safe HaskellNone




sane :: Property Source

Ensures that the hostname is set using best practices.

Configures etchostname and the current hostname.

Configures etcmailname with the domain part of the hostname.

etchosts is also configured, with an entry for, which is standard at least on Debian to set the FDQN.

Also, the etchosts line is set to localhost. Putting any other hostnames there is not best practices and can lead to annoying messages from eg, apache.

searchDomain :: Property Source

Makes etcresolv.conf contain search and domain lines for the domain that the hostname is in.