Skip to content

Commit

Permalink
Merge pull request #1191 from JacobHenner/fix/1190
Browse files Browse the repository at this point in the history
Fix #1190 Accommodate default package name nginx-mainline for Arch Linux
  • Loading branch information
bastelfreak authored Mar 17, 2018
2 parents 65b7c74 + 42ec6d9 commit f24e992
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/classes/nginx_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@
it { is_expected.not_to contain_apt__source('nginx') }
it { is_expected.not_to contain_package('passenger') }
end
when 'Archlinux'
context 'using defaults' do
it { is_expected.to contain_package('nginx-mainline') }
end
else
it { is_expected.to contain_package('nginx') }
end
Expand Down

0 comments on commit f24e992

Please sign in to comment.