From ca785718af1c3deb56508ba548d25496ff38e82c Mon Sep 17 00:00:00 2001 From: Anatoly Pulyaevskiy Date: Thu, 2 Oct 2014 16:38:05 -0700 Subject: [PATCH] Added docs for owner attribute --- README.md | 5 +++++ known_hosts | 1 + 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index c3a8fab..c11c3e6 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,11 @@ state 'present' to add the host, 'absent' to remove it. Defaults to 'present' +owner +----- + +Username of the owner of 'known_hosts' file, usually useful in case you specified custom filepath in 'file' attribute. + NOTE ==== diff --git a/known_hosts b/known_hosts index 46a7ccf..53d9ba8 100755 --- a/known_hosts +++ b/known_hosts @@ -7,6 +7,7 @@ eval $(sed -e "s/\s?\([^=]+\)\s?=\s?\(\x22\([^\x22]+\)\x22|\x27\([^\x27]+\)\x27| # port # state present|absent # file +# owner if [ -z "$host" ] then