Skip to content

Commit

Permalink
Merge pull request chef-boneyard#588 from gregsher88/master
Browse files Browse the repository at this point in the history
Add options hash to 'with_chef_server' example
  • Loading branch information
tas50 authored Mar 6, 2018
2 parents 5860382 + 03dc3df commit f563acc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,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.
Expand Down

0 comments on commit f563acc

Please sign in to comment.