From bdde67c6da5a9b88c309fd584be261ac4546e5f3 Mon Sep 17 00:00:00 2001 From: Scott Buchanan Date: Mon, 17 Nov 2014 12:29:59 -0500 Subject: [PATCH] Clarification of hostname specification. --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f917f38..0ea46f5 100644 --- a/README.md +++ b/README.md @@ -49,12 +49,14 @@ The `clustersync::serverset` resource matches up to one or more values from the hash in the `clustersync` declaration. It specifies the servers that the indicated directory will be synced to. Parameters: -* `servers`: array of hostnames to sync with -* `key_source`: path to the pre-shared key (mutually exclusive with `key_content`) +* `servers`: array of hosts to sync with* +* `key_source`: path to the pre-shared key (mutually exclusive with `key_content`)** * `key_content`: content of the pre-shared key (mutually exclusive with `key_source`) * `csync2_template`: override of csync2 config template -A pre-shared key can be generated with the command `csync2 -k filename`. +\* Hostnames must match the output of the `hostname` command. An IP address may +optionally be specified in addition using the syntax `hostname@ipaddress`.
+\** A pre-shared key can be generated with the command `csync2 -k filename`. ## Example