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

'Deprecated features used!' warning message #140

Closed
kongakong opened this Issue Oct 9, 2015 · 3 comments

Comments

Projects
None yet
3 participants
@kongakong

kongakong commented Oct 9, 2015

Warning message from Chef 13

==> Server-003: Deprecated features used!

==> Server-003:   Cannot specify both default and name_property together on property path of resource yum_globalconfig. Only one (name_property) will be obeyed. In Chef 13, this will become an error. at 1 location:

==> Server-003:     - /var/chef/cache/cookbooks/yum/resources/globalconfig.rb:76:in `class_from_file'

==> Server-003:   version nil currently does not overwrite the value of version. This will change in Chef 13, and the value will be set to nil instead. Please change your code to explicitly accept nil using "property :version, [MyType, nil]", or stop setting this value to nil. at 3 locations:

==> Server-003:     - /var/chef/cache/cookbooks/python/recipes/pip.rb:52:in `block in from_file'

==> Server-003:     - /var/chef/cache/cookbooks/python/recipes/virtualenv.rb:25:in `block in from_file'

==> Server-003:     - /var/chef/cache/cookbooks/python/providers/pip.rb:98:in `load_current_resource'
@someara

This comment has been minimized.

Show comment
Hide comment
@someara

someara Oct 9, 2015

Collaborator

Hello!

We'll be working on getting rid of all these messages for a bit. Thanks for
reporting =)

-s

On Thu, Oct 8, 2015 at 9:13 PM, Anthony Kong notifications@github.com
wrote:

Warning message from Chef 13

==> Server-003: Deprecated features used!

==> Server-003: Cannot specify both default and name_property together on property path of resource yum_globalconfig. Only one (name_property) will be obeyed. In Chef 13, this will become an error. at 1 location:

==> Server-003: - /var/chef/cache/cookbooks/yum/resources/globalconfig.rb:76:in `class_from_file'

==> Server-003: version nil currently does not overwrite the value of version. This will change in Chef 13, and the value will be set to nil instead. Please change your code to explicitly accept nil using "property :version, [MyType, nil]", or stop setting this value to nil. at 3 locations:

==> Server-003: - /var/chef/cache/cookbooks/python/recipes/pip.rb:52:in `block in from_file'

==> Server-003: - /var/chef/cache/cookbooks/python/recipes/virtualenv.rb:25:in `block in from_file'

==> Server-003: - /var/chef/cache/cookbooks/python/providers/pip.rb:98:in `load_current_resource'


Reply to this email directly or view it on GitHub
#140.

Collaborator

someara commented Oct 9, 2015

Hello!

We'll be working on getting rid of all these messages for a bit. Thanks for
reporting =)

-s

On Thu, Oct 8, 2015 at 9:13 PM, Anthony Kong notifications@github.com
wrote:

Warning message from Chef 13

==> Server-003: Deprecated features used!

==> Server-003: Cannot specify both default and name_property together on property path of resource yum_globalconfig. Only one (name_property) will be obeyed. In Chef 13, this will become an error. at 1 location:

==> Server-003: - /var/chef/cache/cookbooks/yum/resources/globalconfig.rb:76:in `class_from_file'

==> Server-003: version nil currently does not overwrite the value of version. This will change in Chef 13, and the value will be set to nil instead. Please change your code to explicitly accept nil using "property :version, [MyType, nil]", or stop setting this value to nil. at 3 locations:

==> Server-003: - /var/chef/cache/cookbooks/python/recipes/pip.rb:52:in `block in from_file'

==> Server-003: - /var/chef/cache/cookbooks/python/recipes/virtualenv.rb:25:in `block in from_file'

==> Server-003: - /var/chef/cache/cookbooks/python/providers/pip.rb:98:in `load_current_resource'


Reply to this email directly or view it on GitHub
#140.

@levmichael3

This comment has been minimized.

Show comment
Hide comment
@levmichael3

levmichael3 Oct 13, 2015

I can see that chef-client version 12.4.1 does not cry about it while 12.5.1 does, am I correct?

levmichael3 commented Oct 13, 2015

I can see that chef-client version 12.4.1 does not cry about it while 12.5.1 does, am I correct?

@someara

This comment has been minimized.

Show comment
Hide comment
@someara

someara Oct 13, 2015

Collaborator

Fixed up in 3.8.1

Collaborator

someara commented Oct 13, 2015

Fixed up in 3.8.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment