Skip to content

Commit

Permalink
Fix voxpupuli#1190 Accommodate default package name nginx-mainline fo…
Browse files Browse the repository at this point in the history
…r Arch
  • Loading branch information
JacobHenner authored and ceonizm committed Jan 23, 2019
1 parent b496366 commit 81b0610
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 81b0610

Please sign in to comment.