-
-
Notifications
You must be signed in to change notification settings - Fork 875
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
Add Debian 9 support #1200
Conversation
ee0071a
to
1c631dc
Compare
There was a problem hiding this 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.
spec/acceptance/class_spec.rb
Outdated
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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/ngin/nginx/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
spec/acceptance/class_spec.rb
Outdated
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' |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Thanks! |
Add Debian 9 support
This is a rebase of #1154