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 Debian 9 support #1200

Merged
merged 8 commits into from
Mar 25, 2018
Merged

Add Debian 9 support #1200

merged 8 commits into from
Mar 25, 2018

Conversation

bastelfreak
Copy link
Member

This is a rebase of #1154

@bastelfreak bastelfreak added enhancement New feature or request needs-work not ready to merge just yet labels Mar 24, 2018
@bastelfreak bastelfreak force-pushed the debian9 branch 3 times, most recently from ee0071a to 1c631dc Compare March 24, 2018 23:39
@bastelfreak bastelfreak removed the needs-work not ready to merge just yet label Mar 24, 2018
Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

Looks good. Acceptance tests are a great way forward for Voxpupuli because we can't expect every contributor/maintainer to know every platform.

it 'comes from the expected source' do
pkg_output = shell(pkg_cmd)
expect(pkg_output.stdout).to match pkg_match
# the passenger people package ngin, except for Debian 9 systems!
Copy link
Member

Choose a reason for hiding this comment

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

s/ngin/nginx/

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

pkg_output = shell(pkg_cmd)
expect(pkg_output.stdout).to match pkg_match
# the passenger people package ngin, except for Debian 9 systems!
unless fact('os.family') == 'Debian' && fact('os.release.major') == '9'
Copy link
Member

Choose a reason for hiding this comment

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

I'd prefer to change pkg_match above on Debian 9 to verify it comes from Debian itself. That makes this testing a bit more straightforward.

Copy link
Member Author

Choose a reason for hiding this comment

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

sounds good, I will update it.

@ekohl ekohl merged commit 16f9808 into voxpupuli:master Mar 25, 2018
@ekohl
Copy link
Member

ekohl commented Mar 25, 2018

Thanks!

@bastelfreak bastelfreak deleted the debian9 branch March 25, 2018 12:44
@wyardley wyardley mentioned this pull request Mar 26, 2018
Rubueno pushed a commit to Rubueno/puppet-nginx that referenced this pull request Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants