issue with changing config because attributes saved as node.normal #392
Labels
Bug
Something isn't working
hacktoberfest
An issue highlighted for the digital ocean Hacktoberfest Event
Help Wanted
Assistance is required to resolve this issue
Priority: High
Critical work that must be completed
Cookbook version
3.0.0
Chef-client version
12+
Platform Details
n/a
Scenario:
updating the config in the recipe does not ever change the config on a server, because the attributes are initially saved to node.normal level at https://github.com/sous-chefs/redisio/blob/master/recipes/configure.rb#L75
I can understand not wanting to restart a running redis when a config change happens, but this currently limits the updating the configs on a box without doing a
knife exec ...
to delete the attributes.Steps to Reproduce:
change one of these default_settings in https://github.com/sous-chefs/redisio/blob/master/attributes/default.rb#L87 in your wrapper cookbook, and when you release your changes, they do not get reflected on the server because they've already been set at node.normal level. relevant files are in /etc/redis/
Expected Result:
files in /etc/redis to get updated with new configs from default_settings attributes
Actual Result:
changes do not get reflected
The text was updated successfully, but these errors were encountered: