Skip to content

Commit

Permalink
Merge pull request voxpupuli#425 from bastelfreak/acceptance2
Browse files Browse the repository at this point in the history
Add CentOS 6/7 acceptance tests
  • Loading branch information
solarkennedy authored Jun 27, 2018
2 parents 3e55b46 + 57afc91 commit 2303b38
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,13 @@ matrix:
env: BEAKER_PUPPET_COLLECTION=puppet5 PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_setfile=ubuntu1804-64{hypervisor=docker} CHECK=beaker
services: docker
sudo: required
- rvm: 2.5.1
dist: trusty
env: BEAKER_PUPPET_COLLECTION=puppet5 PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_setfile=centos7-64{hypervisor=docker} CHECK=beaker
services: docker
sudo: required
- rvm: 2.5.1
dist: trusty
env: BEAKER_PUPPET_COLLECTION=puppet5 PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_setfile=centos6-64{hypervisor=docker} CHECK=beaker
services: docker
sudo: required
4 changes: 2 additions & 2 deletions spec/acceptance/class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
context 'default parameters' do
it 'should work with no errors based on the example' do
pp = <<-EOS
package { 'zip': ensure => present } ->
package { 'unzip': ensure => present } ->
# Don't manage the service as it doesn't work well in docker
class { 'consul':
version => '1.0.5',
Expand Down Expand Up @@ -41,7 +41,7 @@ class { 'consul':
context 'default parameters' do
it 'should work with no errors based on the example' do
pp = <<-EOS
package { 'zip': ensure => present } ->
package { 'unzip': ensure => present } ->
# Don't manage the service as it doesn't work well in docker
class { 'consul':
version => '1.1.0',
Expand Down

0 comments on commit 2303b38

Please sign in to comment.