Skip to content

Commit

Permalink
Introduce user provider and resource
Browse files Browse the repository at this point in the history
- Fixes sous-chefs#269, adds an `elasticsearch_user` resource with provider that creates a user, group, and removes the automatic homedir

- Pins chef to 11.16.4 since chef 12 and many libraries like poise aren't compatible yet, explicit depends on rspec

- Adds a unit test with chefspec matcher under `libraries/matchers.rb` for testing chef resources were created with correct data and actions

- Adds an `elasticsearch_test` kitchenCI suite that tests edge cases, so the default test suite can test the expected way people use the cookbook

- Tweak rubocop rules to avoid style complaints about methods that are too complex (controversial rule) and compact class styles (also controversial at the moment)

- Updated `README.md` with an example of how to use the `elasticsearch_user` resource
  • Loading branch information
martinb3 committed Jan 6, 2015
1 parent d8fcf17 commit 1440a9f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Gemfile
Expand Up @@ -6,11 +6,9 @@ group :lint do
end

group :unit do
gem 'rspec'
gem 'chef', '>= 11.16'
gem 'berkshelf', '~> 3'
gem 'chefspec', '>= 4.2'
gem 'chef-sugar'
gem 'berkshelf', '~> 3'
end

group :kitchen_common do
Expand Down

0 comments on commit 1440a9f

Please sign in to comment.