propellor-0.1: property-based host configuration management in haskell
Propellor.Property.Hostname
set :: HostName -> PropertySource