Skip to content

Commit f81fd7f

Browse files
committed
[travis] fixing tests - puppetserver_gem is a puppet module on the puppetserver, so tests should rely on gem.
1 parent 457d1db commit f81fd7f

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

spec/classes/datadog_agent_reports_spec.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
api_key: 'notanapikey',
88
hostname_extraction_regex: nil,
99
puppetmaster_user: 'puppet',
10-
dogapi_version: 'installed'
10+
dogapi_version: 'installed',
11+
puppet_gem_provider: 'gem'
1112
}
1213
end
1314
ALL_OS.each do |operatingsystem|
@@ -59,7 +60,8 @@
5960
api_key: 'notanapikey',
6061
hostname_extraction_regex: nil,
6162
puppetmaster_user: 'puppet',
62-
dogapi_version: '1.2.2'
63+
dogapi_version: '1.2.2',
64+
puppet_gem_provider: 'gem'
6365
}
6466
end
6567
describe "datadog_agent class dogapi version override" do

spec/classes/datadog_agent_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
context 'all supported operating systems' do
2323
ALL_OS.each do |operatingsystem|
2424
describe "datadog_agent class common actions on #{operatingsystem}" do
25-
let(:params) { { puppet_run_reports: true } }
25+
let(:params) { { puppet_run_reports: true, puppet_gem_provider: 'gem' } }
2626
let(:facts) do
2727
{
2828
operatingsystem: operatingsystem,

0 commit comments

Comments
 (0)