-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing host resource and provider out-of-sync #174
Fixing host resource and provider out-of-sync #174
Conversation
…on. Also kept backward compatibility where it was possible.
It fixes issue #173 |
@@ -19,8 +19,6 @@ | |||
# for appropriate inventory hash keys (Property name from the table) | |||
attribute :inventory, :kind_of => Hash, :default => {} | |||
|
|||
attribute :interfaces, :kind_of => Array, :default => [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you removing interfaces?
You are using it here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a sneak-in small fix for this line to being a duplicate in the resource file (for some time, I've not checked the git blame
for this too much). The other, same line is preserved, see here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. I like to see small fix like that! :)
That mean that some people read the code.
Seems to be ok for me (modulo my inline comments) |
👍 for me if @nightw can guarantee us that TK is OK ;) |
What does 'TK' mean? :) |
Oh sorry, it stand for Test Kitchen |
Oh, my bad, I'm using Test Kitchen myself too, I just did not know the acronym. I've just tested it and it's OK (the Also Foodcritic does not tell any hints. |
Since the TK is also OK, please merge this |
Fixing host resource and provider out-of-sync
From #173
Fixing this issue while I tried to keep the backward compatibility to not brake the agent_registration recipe and other people's application cookbooks using this resource the old way. Could you please review it?