sensu / sensu-chef

Sensu Chef cookbook.
https://supermarket.chef.io/cookbooks/sensu
Apache License 2.0
222 stars 280 forks source link

client.json should be owned by user instead of admin_user #572

Closed tmonk42 closed 6 years ago

tmonk42 commented 7 years ago

Explicitly set ownership on client.json to sensu user instead of sensu admin_user. Addresses #571

Description

Updates providers/client.rb to set ownership on that file to sensu user. This should prevent the conf.d directory from incorrectly getting changed from user to admin_user as well.

Motivation and Context

Addresses #571

How Has This Been Tested?

Verified in kitchen.

Screenshots (if appropriate):

Types of changes

Checklist:

majormoses commented 6 years ago

I am now a maintainer here so I can merge this...

majormoses commented 6 years ago

https://supermarket.chef.io/cookbooks/sensu/versions/4.0.5