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

Safe HaskellNone

Propellor.Property.Hostname

Synopsis

Documentation

set :: HostName -> PropertySource

Sets the hostname. Configures both etchostname and the current hostname.

When provided with a FQDN, also configures etchosts, 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).