beaker 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/lib/beaker/dsl/install_utils.rb +2 -2
- data/lib/beaker/version.rb +1 -1
- data/spec/beaker/dsl/install_utils_spec.rb +2 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ODYxYzQzYzY0MzQ5MmQ5ZDQ1ODNiMzNjYzhkYmNkNTQ1ZTAxNDIzZg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YzU4NjI5MzAxMWNlOWFlYWMyNzI5YWRiMzEwNjA5YjZhNDFhN2ZmYg==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
YjUzZjA3MmMwYzU0Njg3MzBjNWZhMGNjZmVmYzRiNzc1MjMxMjQ3Y2ZkZDYz
|
10
|
+
YzgzNGVhNzMzNDQ1ZTkyYTgwNDQ2OGQ0YjVhZTlmZDQ1MTIzODQ5MzEyZmY5
|
11
|
+
YmEwYTExZjk2ZGE0ZjA0NDVhMGNmZmMzZDI0NzM3MTc5ODA3ZDM=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NzBiMGNmNTMwOGMwMzc5MGMzNWFkZmI0YTIyNjIwMDZlNmQzZWMyZTQyMDMy
|
14
|
+
MTk2NDgwMDkyZDdlZWNhNzkyNmEyNzhlYWE4MWIzZWVkNTFiMjU4OTZlMjMy
|
15
|
+
ZmRlZmE3MTkyNGZkZmJlMzFkNjk3MmQ0NzMwOTU3MjAyODYyYjY=
|
@@ -144,7 +144,7 @@ module Beaker
|
|
144
144
|
version = options[:pe_ver] || host['pe_ver']
|
145
145
|
if host['platform'] =~ /windows/
|
146
146
|
version = options[:pe_ver_win] || host['pe_ver']
|
147
|
-
"cd #{host['working_dir']} && msiexec.exe /qn /i puppet-enterprise-#{version}.msi"
|
147
|
+
"cd #{host['working_dir']} && cmd /C 'start /w msiexec.exe /qn /i puppet-enterprise-#{version}.msi PUPPET_MASTER_SERVER=#{master} PUPPET_AGENT_CERTNAME=#{host}'"
|
148
148
|
# Frictionless install didn't exist pre-3.2.0, so in that case we fall
|
149
149
|
# through and do a regular install.
|
150
150
|
elsif host['roles'].include? 'frictionless' and ! version_is_less(version, '3.2.0')
|
@@ -292,7 +292,7 @@ module Beaker
|
|
292
292
|
# Database host was added in 3.0. Skip it if installing an older version
|
293
293
|
next if host == database and host != master and host != dashboard and pre30database
|
294
294
|
if host['platform'] =~ /windows/
|
295
|
-
on host,
|
295
|
+
on host, installer_cmd(host, options)
|
296
296
|
else
|
297
297
|
# We only need answers if we're using the classic installer
|
298
298
|
version = options[:pe_ver] || host['pe_ver']
|
data/lib/beaker/version.rb
CHANGED
@@ -126,7 +126,8 @@ describe ClassMixedWithDSLInstallUtils do
|
|
126
126
|
describe 'installer_cmd' do
|
127
127
|
|
128
128
|
it 'generates a windows PE install command for a windows host' do
|
129
|
-
|
129
|
+
subject.stub( :hosts ).and_return( [ hosts[1], hosts[0], hosts[2], winhost ] )
|
130
|
+
expect( subject.installer_cmd( winhost, {} ) ).to be === "cd /tmp && cmd /C 'start /w msiexec.exe /qn /i puppet-enterprise-3.0.msi PUPPET_MASTER_SERVER=vm1 PUPPET_AGENT_CERTNAME=winhost'"
|
130
131
|
end
|
131
132
|
|
132
133
|
it 'generates a unix PE install command for a unix host' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppetlabs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -42,70 +42,70 @@ dependencies:
|
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - '>='
|
45
|
+
- - ! '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - '>='
|
52
|
+
- - ! '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: simplecov
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - '>='
|
59
|
+
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - '>='
|
66
|
+
- - ! '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: yard
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - '>='
|
73
|
+
- - ! '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - '>='
|
80
|
+
- - ! '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: markdown
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - '>='
|
87
|
+
- - ! '>='
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - '>='
|
94
|
+
- - ! '>='
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: thin
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - '>='
|
101
|
+
- - ! '>='
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - '>='
|
108
|
+
- - ! '>='
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
@@ -401,12 +401,12 @@ require_paths:
|
|
401
401
|
- lib
|
402
402
|
required_ruby_version: !ruby/object:Gem::Requirement
|
403
403
|
requirements:
|
404
|
-
- - '>='
|
404
|
+
- - ! '>='
|
405
405
|
- !ruby/object:Gem::Version
|
406
406
|
version: '0'
|
407
407
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
408
408
|
requirements:
|
409
|
-
- - '>='
|
409
|
+
- - ! '>='
|
410
410
|
- !ruby/object:Gem::Version
|
411
411
|
version: '0'
|
412
412
|
requirements: []
|