diff options
| author | Joey Hess <joey@kitenet.net> | 2014-05-19 17:29:46 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-05-19 17:29:46 -0400 |
| commit | e1df0634c864c90bb923af5d9edc99275c5faad4 (patch) | |
| tree | d14e2e095941ff28fcde58a7845aefe6e63f44b7 | |
| parent | c8a653af5dfd6f876d2c5d77ef047ba47274e3d7 (diff) | |
hostname setting is trivial property
| -rw-r--r-- | src/Propellor/Property/Hostname.hs | 2 |
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" |
