summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Hostname.hs
diff options
context:
space:
mode:
authorJoey Hess2014-05-19 17:29:46 -0400
committerJoey Hess2014-05-19 17:29:46 -0400
commite1df0634c864c90bb923af5d9edc99275c5faad4 (patch)
treed14e2e095941ff28fcde58a7845aefe6e63f44b7 /src/Propellor/Property/Hostname.hs
parentc8a653af5dfd6f876d2c5d77ef047ba47274e3d7 (diff)
hostname setting is trivial property
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 a9248011..3859649e 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"
- , Just $ cmdProperty "hostname" [basehost]
+ , Just $ trivial $ cmdProperty "hostname" [basehost]
]
hostip = "127.0.1.1"