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

Prevent downgrading to Chef-InSpec < 4 when using Chef 15 #367

Merged

Conversation

teknofire
Copy link
Contributor

Description

The following changes are included in this PR

  • Prevent downgrading Chef-InSpec < 4 when using Chef 15,
  • Handle installing/removing inspec-core-bin gem when appropriate
  • Update the OS images used for testing and removes EOL ones.

Issues Resolved

Needed to handle the inspec-core-bin gem issue from #364

Check List

Will Fisher added 2 commits May 16, 2019 10:20
Chef-15 has a dependency on `train` 2.0 and when this cookbook attempts to
downgrade to Inspec 3 it will replate it with a 1.x version which breaks
the `chef-client`

Signed-off-by: Will Fisher <[email protected]>
This adds in Ubuntu 18.04 and switches to using the dokken images that
have fixes for TK testing

Signed-off-by: Will Fisher <[email protected]>
@teknofire teknofire requested a review from a team May 16, 2019 18:11
Copy link
Contributor

@alexpop alexpop left a comment

Choose a reason for hiding this comment

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

Thank you Will for the thorough update!

@alexpop alexpop merged commit d4e09e6 into chef-boneyard:master May 17, 2019
@teknofire teknofire deleted the will/chef15_inspec_downgrade_fix branch May 23, 2019 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants