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

Deprecated feature sysctl_param used #230

Closed
0x022b opened this issue Oct 29, 2018 · 3 comments
Closed

Deprecated feature sysctl_param used #230

0x022b opened this issue Oct 29, 2018 · 3 comments

Comments

@0x022b
Copy link

0x022b commented Oct 29, 2018

Describe the bug
Running the latest os-hardening cookbook with the lastest Chef client I get the following warning:

Deprecated features used!
Resource sysctl_param from a cookbook is overriding the resource from the client. Please upgrade your cookbook or remove the cookbook from your run_list before the next major release of Chef.

Expected behavior
The run should finish without errors.

OS / Environment

This has been verified to happen on CentOS 7 and Ubuntu 18.04.

Chef Version

Chef: 14.6.47

Cookbook Version

os-hardening: 3.1.0

Additional context
The sysctl cookbook has been deprecated and now shipping as part of Chef 14. It will continue to function for Chef 13 users, but will not be updated.

@artem-sidorenko
Copy link
Member

@0x022b thanks for raising this issue! This is related to #228 and will be fixed in the near future with a next major release.

@marcomoscatiello
Copy link

got in the same issue too using chef 14.8 , hope it get sorted soon

@artem-sidorenko
Copy link
Member

Resolved with #228. I want to have/add some other cleanups and refactorings to the new major release, it will take a little time to see this released.

@artem-sidorenko artem-sidorenko changed the title Deprecated features used Deprecated feature sysctl_param used Apr 10, 2019
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

3 participants