Skip to content

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

@alueking

Description

@alueking

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions