Skip to content

Commit ef62e94

Browse files
committed
Merge pull request chef-cookbooks#31 from iroller/patch-1
Add docs on enabling collaborator_groups feature
2 parents a30033f + 8dd94ea commit ef62e94

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ supermarket['ssl']['certificate'] = '/full/path/to/ssl.crt'
4242
supermarket['ssl']['certificate_key'] = '/full/path/to/ssl.key'
4343
```
4444

45+
To enable a recent [collaborator groups](https://www.chef.io/blog/2015/12/18/collaborator-groups-on-supermarket/) [feature](https://www.youtube.com/watch?v=1t1T5CQ0j48) you'll need to add the following attribute into your cookbook wrapper:
46+
```ruby
47+
default['supermarket_omnibus']['config']['features'] = 'tools, gravatar, collaborator_groups'
48+
```
49+
4550
:warning: It’s super important to be aware that __supermarket.json always wins__. Best practice is to modify your supermarket configuration via `['config']` setting in a wrapper cookbook.
4651

4752
To find out all supermarket `config` attributes you can override, see [omnibus-supermarket](https://github.com/chef/omnibus-supermarket/blob/master/cookbooks/omnibus-supermarket/attributes/default.rb). Translation of attributes from `supermarket-omnibus-cookbook` to attributes in `omnibus-supermarket` occurs in the `supermarket_server` resource provided by this cookbook which produces a JSON(`/etc/supermarket/supermarket.json`) that `omnibus-supermarket` reads. For example:

0 commit comments

Comments
 (0)