summaryrefslogtreecommitdiff
path: root/Propellor/Property/Hostname.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Propellor/Property/Hostname.hs')
-rw-r--r--Propellor/Property/Hostname.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Propellor/Property/Hostname.hs b/Propellor/Property/Hostname.hs
index 8daf6bb2..25f0e1b2 100644
--- a/Propellor/Property/Hostname.hs
+++ b/Propellor/Property/Hostname.hs
@@ -1,9 +1,9 @@
module Propellor.Property.Hostname where
-import Propellor.Common
+import Propellor
import qualified Propellor.Property.File as File
set :: HostName -> Property
set hostname = "/etc/hostname" `File.hasContent` [hostname]
- `onChange` cmdProperty "hostname" [Param hostname]
+ `onChange` cmdProperty "hostname" [hostname]
`describe` ("hostname " ++ hostname)