propellor spin
This commit is contained in:
parent
7932c5abec
commit
d19171ed53
|
@ -12,7 +12,6 @@ import qualified Propellor.Property.File as File
|
||||||
set :: HostName -> Property
|
set :: HostName -> Property
|
||||||
set hostname = propertyList desc go
|
set hostname = propertyList desc go
|
||||||
`onChange` cmdProperty "hostname" [host]
|
`onChange` cmdProperty "hostname" [host]
|
||||||
`describe` desc
|
|
||||||
where
|
where
|
||||||
desc = "hostname " ++ hostname
|
desc = "hostname " ++ hostname
|
||||||
(host, domain) = separate (== '.') hostname
|
(host, domain) = separate (== '.') hostname
|
||||||
|
|
Loading…
Reference in New Issue