Skip to content

Commit

Permalink
Fixes an acceptance test for non-Debian builds
Browse files Browse the repository at this point in the history
This commit will disable the task test on non-Debian/Ubuntu based masters.
  • Loading branch information
Will Meek committed Nov 3, 2017
1 parent dc3ead0 commit 23e0351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/acceptance/init_task_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require 'spec_helper_acceptance'

describe 'apt tasks' do
describe 'update and upgrade', if: pe_install? && puppet_version =~ %r{(5\.\d\.\d)} do
describe 'update and upgrade', if: pe_install? && puppet_version =~ %r{(5\.\d\.\d)} && fact_on(master, 'osfamily') == 'Debian' do
it 'execute arbitary sql' do
result = run_task(task_name: 'apt', params: 'action=update')
expect_multiple_regexes(result: result, regexes: [%r{Reading package lists}, %r{Job completed. 1/1 nodes succeeded}])
Expand Down

0 comments on commit 23e0351

Please sign in to comment.