propellor/Property/Hostname.hs

9 lines
158 B
Haskell

module Property.Hostname where
import Property
type HostName = String
set :: HostName -> Property
set hostname = fileHasContent "/etc/hostname" [hostname]