summaryrefslogtreecommitdiff
path: root/Property/Hostname.hs
diff options
context:
space:
mode:
authorJoey Hess2014-03-30 19:10:32 -0400
committerJoey Hess2014-03-30 19:10:32 -0400
commit61d8214d9d8cea6ba047d1a26f9edc1ea180234b (patch)
tree1e9f0184af88eed1dd5974bf2f47b0765c23b321 /Property/Hostname.hs
parent4e442f4bcf04a68f638393d180ac7664ddd0fe4b (diff)
propellor spin
Diffstat (limited to 'Property/Hostname.hs')
-rw-r--r--Property/Hostname.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/Property/Hostname.hs b/Property/Hostname.hs
index 3d9d2ad0..204ff5d4 100644
--- a/Property/Hostname.hs
+++ b/Property/Hostname.hs
@@ -3,8 +3,6 @@ module Property.Hostname where
import Common
import qualified Property.File as File
-type HostName = String
-
set :: HostName -> Property
set hostname = "/etc/hostname" `File.hasContent` [hostname]
`onChange` cmdProperty "hostname" [Param hostname]