chef-cookbooks / aix

Resources for AIX hosts
https://supermarket.chef.io/cookbooks/aix
Apache License 2.0
23 stars 42 forks source link

Version 2.3.2 in supermarket differs from the current version 2.3.2 on github #109

Open alueking opened 5 years ago

alueking commented 5 years ago

Cookbook version

2.3.2 from supermarket.chef.io

Chef-client version

Chef: 14.10.9

Platform Details

AIX 7.2.0.3

Scenario:

line 53 is missing in resources/chdev.rb in tar file on supermarket.chef.io

attribute = attribute.downcase.to_sym unless attribute.is_a? Symbol

Steps to Reproduce:

download version 2.3.2 from supermarket.chef.io

aix_chdev 'en1' do
    attributes(state: 'up')
    action :update
end

Expected Result:

device state of en1 should be set to "up"

Actual Result:

use of aix_chdev will result in a failure that the device attribute is not present

aix_chdev[en1] (itc_aix_basic::network line 10) had an error: RuntimeError: chdev device en1 has not attribute state
welcomebot commented 5 years ago

Hey There It looks like this is the first issue you've filed against the chef-cookbooks project. I'm here to offer you a bit of extra help to make sure we can quickly get back to you. Make sure you've filled out all the fields in our issue template. Make sure you've provided us with the version of chef-client you're running, your operating system and the version of the cookbook. If you're not using the most up to date version of the cookbook then please make sure to update first. Lots of things change between versions even if you're issue isn't listed in the changelog. Finally please give us a detailed description of the issue you're having. The more we know about what you're trying to do, what actually happens, and how you can reproduce the problem, the better.

If you're looking for more immediate troubleshooting help make sure to check out #general on the Chef Community Slack. There's plenty of folks there willing to lend a helping hand. Thanks for the first issue. We hope we can get back to you soon with a solution.