Skip to content

Warning property source is declared in both resources #490

Open
@runningman84

Description

I get a lot of warnings like this

[2016-09-02T09:25:47+00:00] WARN: /var/chef/cache/cookbooks/sensu/providers/gem.rb:5:in `block (2 levels) in class_from_file': property source is declared in both gem_package[ohai] and #<#<Class:0x0000000486ea58>:0x00000006a08678>. Use new_resource.source instead. At /var/chef/cache/cookbooks/sensu/providers/gem.rb:5:in `block (2 levels) in class_from_file'
[2016-09-02T09:25:47+00:00] WARN: /var/chef/cache/cookbooks/sensu/providers/gem.rb:6:in `block (2 levels) in class_from_file': property options is declared in both gem_package[ohai] and #<#<Class:0x0000000486ea58>:0x00000006a08678>. Use new_resource.options instead. At /var/chef/cache/cookbooks/sensu/providers/gem.rb:6:in `block (2 levels) in class_from_file'

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