From c3d751fa67868cd6dc821f552572edf5021693dd Mon Sep 17 00:00:00 2001 From: Jacob Henner Date: Thu, 15 Mar 2018 23:48:28 -0400 Subject: [PATCH] Fix #1190 Accommodate default package name nginx-mainline for Arch --- spec/classes/nginx_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/classes/nginx_spec.rb b/spec/classes/nginx_spec.rb index 790b77f7f..f5c517481 100644 --- a/spec/classes/nginx_spec.rb +++ b/spec/classes/nginx_spec.rb @@ -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