Skip to content
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

Deprecation warning on encrypt and encryption_version #95

Closed
miguelcnf opened this issue Nov 9, 2015 · 1 comment
Closed

Deprecation warning on encrypt and encryption_version #95

miguelcnf opened this issue Nov 9, 2015 · 1 comment

Comments

@miguelcnf
Copy link

Deprecated features used!
  encrypt nil currently does not overwrite the value of encrypt. 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 :encrypt, [MyType, nil]", or stop setting this value to nil. at 1 location:
    - /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/cheffish-1.5.0/lib/chef/provider/chef_data_bag_item.rb:115:in `load_current_resource'
  encryption_version nil currently does not overwrite the value of encryption_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 :encryption_version, [MyType, nil]", or stop setting this value to nil. at 1 location:
    - /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/cheffish-1.5.0/lib/chef/provider/chef_data_bag_item.rb:116:in `load_current_resource'

Just documenting a dep warning I'm seeing.
Versions can be seen in the output.

@thommay
Copy link
Contributor

thommay commented Dec 7, 2016

This was fixed by #107

@thommay thommay closed this as completed Dec 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants