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

Add apache library from core inspec as it was deprecated in inspec 4 #30

Merged
merged 2 commits into from
May 7, 2019

Conversation

alexpop
Copy link
Contributor

@alexpop alexpop commented May 7, 2019

The apache resource used by this profile has been deprecated in InSpec 4

$ inspec version
4.3.2

$ inspec exec https://github.com/dev-sec/apache-baseline/archive/master.tar.gz
[2019-05-07T10:25:06+01:00] ERROR: DEPRECATION: The apache resource is deprecated This resource was removed in InSpec 4.0. (used at apache-baseline-master/controls/apache_spec.rb:25)

$ echo $?
3

In this PR, I copied the resource from InSpec and removed the deprecation call from initialize.

If this gets merged, is it ok to bump the profile version to 2.1.0 and release it?

Signed-off-by: Alex Pop <alexpop@users.noreply.github.com>
Copy link
Member

@chris-rock chris-rock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexpop thank you very much! LGTM once green. Yes we can bump the release once merged.

Signed-off-by: Alex Pop <alexpop@users.noreply.github.com>
@alexpop
Copy link
Contributor Author

alexpop commented May 7, 2019

Thanks Chris. It's green!

Copy link
Member

@chris-rock chris-rock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥇 @alexpop

@chris-rock chris-rock merged commit e5a1aa4 into master May 7, 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

Successfully merging this pull request may close these issues.

2 participants