Skip to content

Commit

Permalink
Merge pull request #9 from pulyaevskiy/add-owner-to-docs
Browse files Browse the repository at this point in the history
Added docs for owner attribute
  • Loading branch information
brycebaril committed Mar 16, 2015
2 parents 9f684ad + ca78571 commit abed772
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -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
====

Expand Down
1 change: 1 addition & 0 deletions known_hosts
Expand Up @@ -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
Expand Down

0 comments on commit abed772

Please sign in to comment.