beaker-puppet 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjgzZGZhY2JiYmM4NjY2Zjc0YjRiMzQ1YzQxNzE4MmIzNDU5MGRmYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTgxMWY1OWYyNWI5ODg3MWRjOTQ2MTcwZDUyM2RhYjg1Njg1ZGZkZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDA0YWRiZjE0MTYzODFiNTRjY2EwY2MwY2IyOWQ4ZjRmYTIwZjVkZjcxZWM1
|
10
|
+
ZjVmZmE5ZDcwYzI1ZjdmYmIwNzJlMzY1N2JmZTk3MmI4ODAyZWQxZDc2M2Mw
|
11
|
+
N2M0MjFhOWYwMDliYWJkMmYzODg1NTdiMThlOGEyZDNmODEzMWE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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+/)
|
@@ -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(:
|
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(
|
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.
|
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-
|
11
|
+
date: 2017-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|