From 354aeb34ea6952d4293a3fc4fa8e67fb62278dc6 Mon Sep 17 00:00:00 2001 From: Greg Sher Date: Fri, 28 Jul 2017 15:01:57 -0500 Subject: [PATCH] Add options hash to 'with_chef_server' example under 'Pointing Boxes at Chef Servers' heading Signed-off-by: Greg Sher --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0d9999f7..428f36fe 100644 --- a/README.md +++ b/README.md @@ -294,8 +294,10 @@ You can use `with_chef_server` instead if you want to point at OSS, Hosted or En ```ruby with_chef_server "https://chef-server.example.org", +:options =>{ :client_name => Chef::Config[:node_name], :signing_key_filename => Chef::Config[:client_key] + } ``` Finally, you can specify a Chef Server for an individual machine by using the `chef_server` attribute. This attribute takes the same additional options (`:client_name`, `:signing_key_filename`) that `with_chef_server` does.