summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Hostname.hs
diff options
context:
space:
mode:
authorJoey Hess2014-05-19 10:52:00 -0400
committerJoey Hess2014-05-19 10:52:00 -0400
commit533ac36412d6366f536f8817ade7fd78fa84cbd7 (patch)
tree9fd43e9eea6b8adbeb33d4c04edf12544b4dfa3f /src/Propellor/Property/Hostname.hs
parent8ab6799d4868ffc9430353597d903d7b19904f44 (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Property/Hostname.hs')
-rw-r--r--src/Propellor/Property/Hostname.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Hostname.hs b/src/Propellor/Property/Hostname.hs
index d5af32a9..a9248011 100644
--- a/src/Propellor/Property/Hostname.hs
+++ b/src/Propellor/Property/Hostname.hs
@@ -23,7 +23,7 @@ setTo hn = combineProperties desc go
then Nothing
else Just $ File.fileProperty desc
addhostline "/etc/hosts"
- , cmdProperty "hostname" [basehost]
+ , Just $ cmdProperty "hostname" [basehost]
]
hostip = "127.0.1.1"