Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce user provider and resource
- Fixes #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