From e1df0634c864c90bb923af5d9edc99275c5faad4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 19 May 2014 17:29:46 -0400 Subject: [PATCH] hostname setting is trivial property --- src/Propellor/Property/Hostname.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Propellor/Property/Hostname.hs b/src/Propellor/Property/Hostname.hs index a924801..3859649 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"