summaryrefslogtreecommitdiff
path: root/Property/Hostname.hs
diff options
context:
space:
mode:
authorJoey Hess2014-03-30 23:37:54 -0400
committerJoey Hess2014-03-30 23:37:54 -0400
commit380c1b0fd6c25dec3c924b82f1d721aa91a001da (patch)
tree7d5b73309b73f13ac2be3f911318fe6a126264ff /Property/Hostname.hs
parent02a7bf5f0e2de1d0dea71781ed0c1ae3a50e6425 (diff)
prepare for hackage
Diffstat (limited to 'Property/Hostname.hs')
-rw-r--r--Property/Hostname.hs9
1 files changed, 0 insertions, 9 deletions
diff --git a/Property/Hostname.hs b/Property/Hostname.hs
deleted file mode 100644
index 204ff5d4..00000000
--- a/Property/Hostname.hs
+++ /dev/null
@@ -1,9 +0,0 @@
-module Property.Hostname where
-
-import Common
-import qualified Property.File as File
-
-set :: HostName -> Property
-set hostname = "/etc/hostname" `File.hasContent` [hostname]
- `onChange` cmdProperty "hostname" [Param hostname]
- `describe` ("hostname " ++ hostname)