beaker-puppet 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Zjg2ODMyMTUxOTcyM2NmMzI4MzM5NTE0MTgyMmE0NTgyNjgxNGVjYw==
4
+ MjgzZGZhY2JiYmM4NjY2Zjc0YjRiMzQ1YzQxNzE4MmIzNDU5MGRmYw==
5
5
  data.tar.gz: !binary |-
6
- YmVhNGE0MjlhMjdkY2IyNWFmMGIxNzVkOTQ3ZWEyOWQ4NTVlMjYzOQ==
6
+ ZTgxMWY1OWYyNWI5ODg3MWRjOTQ2MTcwZDUyM2RhYjg1Njg1ZGZkZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MWU5ZTVjZjI0Yzc0Y2ZjMDMyOWY3MzdkNWE3NjVlOTdlYzMyMmRhOTJkMWZh
10
- ZGY2ZmQ0YTQ3NDZiZWEzMzJlZjc0NmFiODM3NDk3ZTEzN2VkMGE0ODc4MDEw
11
- MjNiNTViMDU2NTU2ZTBhMjU1OGRlY2QwNWI1MDFkOWIzNDdkNTg=
9
+ NDA0YWRiZjE0MTYzODFiNTRjY2EwY2MwY2IyOWQ4ZjRmYTIwZjVkZjcxZWM1
10
+ ZjVmZmE5ZDcwYzI1ZjdmYmIwNzJlMzY1N2JmZTk3MmI4ODAyZWQxZDc2M2Mw
11
+ N2M0MjFhOWYwMDliYWJkMmYzODg1NTdiMThlOGEyZDNmODEzMWE=
12
12
  data.tar.gz: !binary |-
13
- NDY0M2FjYzQzYWQ5MjIwMTIwMjQxM2EzNzZkOTBhM2FlNzg0ZGJmMjI4ZjM1
14
- Zjc3YjM0YTQyMzE1NGQzNjk1ZmRkMmNkNTEzNjMwMmFlZGFhMzc0OGYzNmY4
15
- ZDg4MWRmYzVkMTgzMTI3ODZlNDEzMWE1ODE5ZDM0MmM4YTk5ZTA=
13
+ Zjg1NDA2Y2E5Yzg5ZWViYTllNTYzZjJjNGU0YTM1ZGQ3MTIwNjZmMjcyZmZh
14
+ NDM4ZDJjNjc0OGU2ZTE3N2Q4ZWZmYjU2ZWIxNDZlNjZhMTU2ZWU2OTIwMzYx
15
+ MmM3NzA2OWMyMzkxMGVhZDFmYjc3NDk4ZGM0ZTc0MTQwOTMwNzI=
@@ -1267,7 +1267,7 @@ module Beaker
1267
1267
  cmdline_args = ''
1268
1268
  # query packages
1269
1269
  case host[:platform]
1270
- when /cumulus|huaweios/
1270
+ when /cumulus|huaweios|ubuntu/
1271
1271
  pkgs = on(host, "dpkg-query -l | awk '{print $2}' | grep -E '(^pe-|puppet)'", :acceptable_exit_codes => [0,1]).stdout.chomp.split(/\n+/)
1272
1272
  when /aix|sles|el|redhat|centos|oracle|scientific/
1273
1273
  pkgs = on(host, "rpm -qa | grep -E '(^pe-|puppet)'", :acceptable_exit_codes => [0,1]).stdout.chomp.split(/\n+/)
@@ -1,3 +1,3 @@
1
1
  module BeakerPuppet
2
- VERSION = '0.3.0'
2
+ VERSION = '0.4.0'
3
3
  end
@@ -1300,7 +1300,8 @@ describe ClassMixedWithDSLInstallUtils do
1300
1300
  'scientific-7-x86_64',
1301
1301
  'sles-10-x86_64',
1302
1302
  'sles-11-x86_64',
1303
- 'sles-12-s390x'
1303
+ 'sles-12-s390x',
1304
+ 'ubuntu-16.04-power8'
1304
1305
  ]
1305
1306
 
1306
1307
  supported_platforms.each do |platform|
@@ -1322,9 +1323,9 @@ describe ClassMixedWithDSLInstallUtils do
1322
1323
  end
1323
1324
  end
1324
1325
 
1325
- let(:ubuntu12) { make_host('ubuntu-1204-amd64', :platform => 'ubuntu-1204-amd64') }
1326
+ let(:debian6) { make_host('debian-6-amd64', :platform => 'debian-6-amd64') }
1326
1327
  it 'raises error on unsupported platforms' do
1327
- expect { subject.remove_puppet_on( ubuntu12 ) }.to raise_error(RuntimeError, /unsupported platform/)
1328
+ expect { subject.remove_puppet_on( debian6 ) }.to raise_error(RuntimeError, /unsupported platform/)
1328
1329
  end
1329
1330
 
1330
1331
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-17 00:00:00.000000000 Z
11
+ date: 2017-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec