propellor/Property/Hostname.hs

9 lines
158 B
Haskell
Raw Normal View History

2014-03-30 03:45:48 +00:00
module Property.Hostname where
import Property
type HostName = String
set :: HostName -> Property
set hostname = fileHasContent "/etc/hostname" [hostname]