Skip to content

Commit 5bc42f5

Browse files
committed
(FM-7392) - Puppet 6 Testing Changes
1 parent c63a061 commit 5bc42f5

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

.rubocop.yml

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ AllCops:
2121
Metrics/LineLength:
2222
Description: People have wide screens, use them.
2323
Max: 200
24+
GetText/DecorateString:
25+
Description: We don't want to decorate test output.
26+
Exclude:
27+
- spec/*
2428
RSpec/BeforeAfterAll:
2529
Description: Beware of using after(:all) as it may cause state to leak between tests.
2630
A necessary evil in acceptance testing.

.travis.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,36 @@ script:
1313
- 'bundle exec rake $CHECK'
1414
bundler_args: --without system_tests
1515
rvm:
16-
- 2.4.4
16+
- 2.5.0
1717
env:
1818
global:
19-
- BEAKER_PUPPET_COLLECTION=puppet5 PUPPET_GEM_VERSION="~> 5.0"
19+
- BEAKER_PUPPET_COLLECTION=puppet6 PUPPET_GEM_VERSION="~> 6.0"
2020
matrix:
2121
fast_finish: true
2222
include:
2323
-
2424
bundler_args:
2525
dist: trusty
26-
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet5 BEAKER_set=docker/centos-7 BEAKER_TESTMODE=apply
27-
rvm: 2.4.4
26+
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/centos-7 BEAKER_TESTMODE=apply
27+
rvm: 2.5.0
2828
script: bundle exec rake beaker
2929
services: docker
3030
sudo: required
3131
-
3232
bundler_args:
3333
dist: trusty
34-
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet5 BEAKER_set=docker/ubuntu-14.04 BEAKER_TESTMODE=apply
35-
rvm: 2.4.4
34+
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/ubuntu-14.04 BEAKER_TESTMODE=apply
35+
rvm: 2.5.0
3636
script: bundle exec rake beaker
3737
services: docker
3838
sudo: required
3939
-
4040
env: CHECK="syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop"
4141
-
4242
env: CHECK=parallel_spec
43+
-
44+
env: PUPPET_GEM_VERSION="~> 5.0" CHECK=parallel_spec
45+
rvm: 2.4.4
4346
-
4447
env: PUPPET_GEM_VERSION="~> 4.0" CHECK=parallel_spec
4548
rvm: 2.1.9

metadata.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@
8484
],
8585
"description": "MySQL module",
8686
"template-url": "https://github.com/puppetlabs/pdk-templates",
87-
"template-ref": "heads/master-0-g6a90b42",
87+
"template-ref": "heads/master-0-g8fc95db",
8888
"pdk-version": "1.7.0"
8989
}

spec/default_facts.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Facts specified here will override the values provided by rspec-puppet-facts.
44
---
5-
concat_basedir: "/tmp"
5+
concat_basedir: ""
66
ipaddress: "172.16.254.254"
77
is_pe: false
88
macaddress: "AA:AA:AA:AA:AA:AA"

0 commit comments

Comments
 (0)