knife-solo 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +53 -0
- data/Rakefile +10 -13
- data/lib/knife-solo/bootstraps.rb +3 -3
- data/lib/knife-solo/bootstraps/darwin.rb +1 -1
- data/lib/knife-solo/bootstraps/linux.rb +1 -1
- data/lib/knife-solo/cookbook_manager.rb +1 -1
- data/lib/knife-solo/cookbook_manager_selector.rb +1 -1
- data/lib/knife-solo/info.rb +1 -1
- data/lib/knife-solo/node_config_command.rb +1 -1
- data/lib/knife-solo/resources/solo.rb.erb +1 -1
- data/lib/knife-solo/ssh_command.rb +21 -18
- data/lib/knife-solo/ssh_connection.rb +1 -1
- data/lib/knife-solo/tools.rb +4 -0
- data/test/gemfiles/Gemfile.chef-10 +8 -0
- data/test/gemfiles/Gemfile.chef-11 +7 -0
- data/test/integration/{amazon_linux_2012_09_bootstrap_test.rb → amazon_linux_2016_03_bootstrap_test.rb} +2 -2
- data/test/integration/{centos5_8_test.rb → centos7_test.rb} +9 -3
- data/test/integration/{omnios_r151004_test.rb → omnios_r151014_test.rb} +2 -2
- data/test/ssh_command_test.rb +2 -10
- data/test/support/ec2_runner.rb +1 -1
- data/test/support/integration_test.rb +2 -0
- metadata +13 -19
- data/test/integration/archlinux_20131128_test.rb +0 -17
- data/test/integration/debian6_bootstrap_test.rb +0 -20
- data/test/integration/gentoo2011_test.rb +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55351e6ed65fb674523ab4ba6047e769bd303644
|
4
|
+
data.tar.gz: ce43f7330c68a474c52ebf41a9cd147a871d2fd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9515a71ab78348df464c4d7e08034057af8d3ae50f2f1e6a480f7f29b3227d35156a2e06a4bb79e733d4025b6c66637776b559b1e2e7803d8c934a21baacacb1
|
7
|
+
data.tar.gz: 850e01f65af5d744e5cd4e69846ffe40c39cd2da1932d5d19079cb52ede78c264f381308b221478c794b30677c4cf01824f8f41c73dbcdbb18139a94b1f9a585
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,39 @@
|
|
1
|
+
# 0.6.0 / 2016-05-23
|
2
|
+
|
3
|
+
## Changes and new features
|
4
|
+
|
5
|
+
* Added support for Mac OS 10.10 ([456][])
|
6
|
+
* **BREAKING** Updated ssh key argument to `--ssh-identity-file` to match new knife conventions
|
7
|
+
|
8
|
+
## Fixes
|
9
|
+
|
10
|
+
* Loosen net-ssh requirement to gain compatibility with newer ChefDK releases ([481][])
|
11
|
+
* Ensure non-interactive mode on Debian x86 boostrap ([471][])
|
12
|
+
* Include user and port in control path ([468][])
|
13
|
+
* Default control master to "no" when running from cygwin ([453][])
|
14
|
+
* Use hashed control path (requires recent openssh) ([470][])
|
15
|
+
* Pass node name down to solo.rb (forward port from 0.4.3) ([452][])
|
16
|
+
* Use `const_get` to help spot bootstrap detection errors more easily ([467][])
|
17
|
+
|
18
|
+
## Thanks to our contributors!
|
19
|
+
|
20
|
+
* [Austin Schutz][aaadschutz]
|
21
|
+
* [Shawn Xu][xunnanxu]
|
22
|
+
* [Derek Tamsen][derektamsen]
|
23
|
+
* [Przemysław Dąbek][szemek]
|
24
|
+
* [Mark Woods][thickpaddy]
|
25
|
+
* [Tomohiko IIDA][iidatomohiko]
|
26
|
+
* [Jeroen Jacobs][jeroenj]
|
27
|
+
|
28
|
+
[470]: https://github.com/matschaffer/knife-solo/issues/470
|
29
|
+
[456]: https://github.com/matschaffer/knife-solo/issues/456
|
30
|
+
[481]: https://github.com/matschaffer/knife-solo/issues/481
|
31
|
+
[471]: https://github.com/matschaffer/knife-solo/issues/471
|
32
|
+
[468]: https://github.com/matschaffer/knife-solo/issues/468
|
33
|
+
[453]: https://github.com/matschaffer/knife-solo/issues/453
|
34
|
+
[452]: https://github.com/matschaffer/knife-solo/issues/452
|
35
|
+
[467]: https://github.com/matschaffer/knife-solo/issues/467
|
36
|
+
|
1
37
|
# 0.5.1 / 2015-08-28
|
2
38
|
|
3
39
|
Re-release of 0.5.0 for test & doc fixes.
|
@@ -65,6 +101,16 @@ Re-release of 0.5.0 for test & doc fixes.
|
|
65
101
|
[440]: https://github.com/matschaffer/knife-solo/issues/440
|
66
102
|
[339]: https://github.com/matschaffer/knife-solo/issues/339
|
67
103
|
|
104
|
+
# 0.4.3 / 2015-09-10
|
105
|
+
|
106
|
+
## Fixes
|
107
|
+
|
108
|
+
* Pass node name down to solo.rb ([452][])
|
109
|
+
|
110
|
+
## Thanks to our contributors!
|
111
|
+
|
112
|
+
* [aaadschutz][aaadschutz]
|
113
|
+
|
68
114
|
# 0.4.2 / 2014-06-05
|
69
115
|
|
70
116
|
## Changes and new features
|
@@ -583,3 +629,10 @@ And a special thanks to [Teemu Matilainen][tmatilai] who is now on the list of d
|
|
583
629
|
[yozlet]: https://github.com/yozlet
|
584
630
|
[yugui]: https://github.com/yugui
|
585
631
|
[zeph]: https://github.com/zeph
|
632
|
+
[aaadschutz]: https://github.com/aaadschutz
|
633
|
+
[xunnanxu]: https://github.com/xunnanxu
|
634
|
+
[derektamsen]: https://github.com/derektamsen
|
635
|
+
[szemek]: https://github.com/szemek
|
636
|
+
[thickpaddy]: https://github.com/thickpaddy
|
637
|
+
[iidatomohiko]: https://github.com/iidatomohiko
|
638
|
+
[jeroenj]: https://github.com/jeroenj
|
data/Rakefile
CHANGED
@@ -71,21 +71,18 @@ task 'gh-pages' do
|
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
74
|
-
|
75
|
-
Rake::TestTask.new(
|
76
|
-
t.libs <<
|
77
|
-
t.
|
78
|
-
|
79
|
-
|
80
|
-
Rake::TestTask.new(:integration) do |t|
|
81
|
-
t.libs << "test"
|
82
|
-
t.test_files = FileList['test/integration/*_test.rb']
|
74
|
+
def test_task(name, glob)
|
75
|
+
Rake::TestTask.new(name) do |t|
|
76
|
+
t.libs << 'test'
|
77
|
+
t.warning = false
|
78
|
+
t.test_files = FileList[glob]
|
83
79
|
end
|
80
|
+
end
|
84
81
|
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
82
|
+
namespace :test do
|
83
|
+
test_task(:performance, 'test/performance/*_test.rb')
|
84
|
+
test_task(:integration, 'test/integration/*_test.rb')
|
85
|
+
test_task(:units, 'test/*_test.rb')
|
89
86
|
|
90
87
|
desc 'Run both unit and integration tests'
|
91
88
|
task :all => [:units, :integration]
|
@@ -8,7 +8,7 @@ module KnifeSolo
|
|
8
8
|
def self.class_exists_for?(os_name)
|
9
9
|
begin
|
10
10
|
true if self.class_for_operating_system(os_name).class == Class
|
11
|
-
rescue
|
11
|
+
rescue
|
12
12
|
false
|
13
13
|
end
|
14
14
|
end
|
@@ -16,9 +16,9 @@ module KnifeSolo
|
|
16
16
|
def self.class_for_operating_system(os_name)
|
17
17
|
begin
|
18
18
|
os_class_name = os_name.gsub(/\s/,'')
|
19
|
-
|
19
|
+
KnifeSolo::Bootstraps.const_get(os_class_name)
|
20
20
|
rescue
|
21
|
-
raise OperatingSystemNotImplementedError.new("#{os_name} not implemented. Feel free to add a bootstrap implementation in KnifeSolo::Bootstraps::#{os_class_name}")
|
21
|
+
raise OperatingSystemNotImplementedError.new("#{os_name.inspect} not implemented. Feel free to add a bootstrap implementation in KnifeSolo::Bootstraps::#{os_class_name}")
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
@@ -52,7 +52,7 @@ module KnifeSolo::Bootstraps
|
|
52
52
|
|
53
53
|
def debianoid_omnibus_install
|
54
54
|
run_command("sudo apt-get update")
|
55
|
-
run_command("sudo apt-get -y install rsync ca-certificates wget")
|
55
|
+
run_command("sudo DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' --force-yes -f install rsync ca-certificates wget")
|
56
56
|
omnibus_install
|
57
57
|
end
|
58
58
|
|
@@ -54,7 +54,7 @@ module KnifeSolo
|
|
54
54
|
|
55
55
|
def select_by_existing_conf_file(base)
|
56
56
|
managers.each do |manager|
|
57
|
-
if manager.conf_file_exists?(
|
57
|
+
if manager.conf_file_exists?(base)
|
58
58
|
Chef::Log.debug "#{manager} selected because of existing #{manager.conf_file}"
|
59
59
|
return manager
|
60
60
|
end
|
data/lib/knife-solo/info.rb
CHANGED
@@ -10,7 +10,7 @@ module KnifeSolo
|
|
10
10
|
other.class_eval do
|
11
11
|
# Lazy load our dependencies if the including class did not call
|
12
12
|
# Knife#deps yet. See KnifeSolo::SshCommand for more information.
|
13
|
-
deps { KnifeSolo::NodeConfigCommand.load_deps } unless @dependency_loader
|
13
|
+
deps { KnifeSolo::NodeConfigCommand.load_deps } unless defined?(@dependency_loader)
|
14
14
|
|
15
15
|
option :chef_node_name,
|
16
16
|
:short => '-N NAME',
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
1
|
module KnifeSolo
|
3
2
|
module SshCommand
|
4
3
|
|
5
4
|
def self.load_deps
|
6
5
|
require 'knife-solo/ssh_connection'
|
6
|
+
require 'knife-solo/tools'
|
7
7
|
require 'net/ssh'
|
8
8
|
require 'net/ssh/gateway'
|
9
9
|
end
|
@@ -22,7 +22,7 @@ module KnifeSolo
|
|
22
22
|
# KnifeSolo::SshCommand.load_deps
|
23
23
|
# end
|
24
24
|
#
|
25
|
-
deps { KnifeSolo::SshCommand.load_deps } unless @dependency_loader
|
25
|
+
deps { KnifeSolo::SshCommand.load_deps } unless defined?(@dependency_loader)
|
26
26
|
|
27
27
|
option :ssh_config,
|
28
28
|
:short => '-F CONFIG_FILE',
|
@@ -43,19 +43,19 @@ module KnifeSolo
|
|
43
43
|
:long => '--ssh-gateway GATEWAY',
|
44
44
|
:description => 'The ssh gateway'
|
45
45
|
|
46
|
-
option :ssh_identity,
|
47
|
-
:long => '--ssh-identity FILE',
|
48
|
-
:description => 'Deprecated. Replaced with --identity-file.'
|
49
|
-
|
50
46
|
option :ssh_control_master,
|
51
47
|
:long => '--ssh-control-master SETTING',
|
52
|
-
:description => 'Control master setting to use when running rsync (use "
|
53
|
-
:default => '
|
48
|
+
:description => 'Control master setting to use when running rsync (use "auto" to enable)',
|
49
|
+
:default => 'no'
|
54
50
|
|
55
51
|
option :identity_file,
|
56
|
-
:
|
57
|
-
:
|
58
|
-
|
52
|
+
:long => "--identity-file IDENTITY_FILE",
|
53
|
+
:description => "The SSH identity file used for authentication. [DEPRECATED] Use --ssh-identity-file instead."
|
54
|
+
|
55
|
+
option :ssh_identity_file,
|
56
|
+
:short => "-i IDENTITY_FILE",
|
57
|
+
:long => "--ssh-identity-file IDENTITY_FILE",
|
58
|
+
:description => "The SSH identity file used for authentication"
|
59
59
|
|
60
60
|
option :forward_agent,
|
61
61
|
:long => '--forward-agent',
|
@@ -102,9 +102,8 @@ module KnifeSolo
|
|
102
102
|
end
|
103
103
|
|
104
104
|
def validate_ssh_options!
|
105
|
-
if config[:
|
106
|
-
ui.warn '`--
|
107
|
-
config[:identity_file] ||= config[:ssh_identity]
|
105
|
+
if config[:identity_file]
|
106
|
+
ui.warn '`--identity-file` is deprecated, please use `--ssh-identity-file`.'
|
108
107
|
end
|
109
108
|
unless first_cli_arg_is_a_hostname?
|
110
109
|
show_usage
|
@@ -123,7 +122,7 @@ module KnifeSolo
|
|
123
122
|
end
|
124
123
|
|
125
124
|
def host_descriptor
|
126
|
-
return @host_descriptor if @host_descriptor
|
125
|
+
return @host_descriptor if defined?(@host_descriptor)
|
127
126
|
parts = @name_args.first.split('@')
|
128
127
|
@host_descriptor = {
|
129
128
|
:host => parts.pop,
|
@@ -160,11 +159,15 @@ module KnifeSolo
|
|
160
159
|
Net::SSH::Config.for(host, config_files)
|
161
160
|
end
|
162
161
|
|
162
|
+
def identity_file
|
163
|
+
config[:ssh_identity] || config[:identity_file] || config[:ssh_identity_file]
|
164
|
+
end
|
165
|
+
|
163
166
|
def connection_options
|
164
167
|
options = config_file_options
|
165
168
|
options[:port] = config[:ssh_port] if config[:ssh_port]
|
166
169
|
options[:password] = config[:ssh_password] if config[:ssh_password]
|
167
|
-
options[:keys] = [
|
170
|
+
options[:keys] = [identity_file] if identity_file
|
168
171
|
options[:gateway] = config[:ssh_gateway] if config[:ssh_gateway]
|
169
172
|
options[:forward_agent] = true if config[:forward_agent]
|
170
173
|
if !config[:host_key_verify]
|
@@ -204,7 +207,7 @@ module KnifeSolo
|
|
204
207
|
args << [user, host].compact.join('@')
|
205
208
|
|
206
209
|
args << "-F #{config[:ssh_config]}" if config[:ssh_config]
|
207
|
-
args << "-i #{
|
210
|
+
args << "-i #{identity_file}" if identity_file
|
208
211
|
args << "-o ForwardAgent=yes" if config[:forward_agent]
|
209
212
|
args << "-p #{config[:ssh_port]}" if config[:ssh_port]
|
210
213
|
args << "-o UserKnownHostsFile=#{connection_options[:user_known_hosts_file]}" if config[:host_key_verify] == false
|
@@ -217,7 +220,7 @@ module KnifeSolo
|
|
217
220
|
def ssh_control_path
|
218
221
|
dir = File.join(ENV['HOME'], '.chef', 'knife-solo-sockets')
|
219
222
|
FileUtils.mkdir_p(dir)
|
220
|
-
File.join(dir, '%
|
223
|
+
File.join(dir, '%C')
|
221
224
|
end
|
222
225
|
|
223
226
|
def custom_sudo_command
|
data/lib/knife-solo/tools.rb
CHANGED
@@ -3,3 +3,11 @@ source 'https://rubygems.org'
|
|
3
3
|
gemspec :path => '../..'
|
4
4
|
|
5
5
|
gem 'chef', '~> 10'
|
6
|
+
|
7
|
+
platform :ruby_19 do
|
8
|
+
gem 'berkshelf-api-client', '~> 1.3.1'
|
9
|
+
gem 'varia_model', '~> 0.4.0'
|
10
|
+
gem 'json', '~> 1.8.1'
|
11
|
+
gem 'mixlib-config', '~> 1.1.2'
|
12
|
+
gem 'ohai', '~> 6.24.2'
|
13
|
+
end
|
@@ -1,12 +1,12 @@
|
|
1
1
|
require 'integration_helper'
|
2
2
|
|
3
|
-
class
|
3
|
+
class AmazonLinux2016_03BootstrapTest < IntegrationTest
|
4
4
|
def user
|
5
5
|
"ec2-user"
|
6
6
|
end
|
7
7
|
|
8
8
|
def image_id
|
9
|
-
"ami-
|
9
|
+
"ami-4f111125"
|
10
10
|
end
|
11
11
|
|
12
12
|
def prepare_server
|
@@ -1,12 +1,18 @@
|
|
1
1
|
require 'integration_helper'
|
2
2
|
|
3
|
-
class
|
3
|
+
class Centos7Test < IntegrationTest
|
4
|
+
# disable_firewall
|
5
|
+
|
6
|
+
def flavor_id
|
7
|
+
"m3.medium"
|
8
|
+
end
|
9
|
+
|
4
10
|
def user
|
5
|
-
"
|
11
|
+
"centos"
|
6
12
|
end
|
7
13
|
|
8
14
|
def image_id
|
9
|
-
"ami-
|
15
|
+
"ami-6d1c2007"
|
10
16
|
end
|
11
17
|
|
12
18
|
include EmptyCook
|
data/test/ssh_command_test.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'test_helper'
|
2
2
|
|
3
3
|
require 'knife-solo/ssh_command'
|
4
|
+
require 'knife-solo/tools'
|
4
5
|
require 'chef/knife'
|
5
6
|
require 'net/ssh'
|
6
7
|
|
@@ -69,7 +70,7 @@ class SshCommandTest < TestCase
|
|
69
70
|
cmd = command("10.0.0.1", "--ssh-gateway=user@gateway")
|
70
71
|
ssh_mock = mock 'ssh_mock'
|
71
72
|
Net::SSH::Gateway.expects(:new).with('gateway', 'user').returns(ssh_mock)
|
72
|
-
ssh_mock.expects(:ssh).with(cmd.host, cmd.user, cmd.connection_options.
|
73
|
+
ssh_mock.expects(:ssh).with(cmd.host, cmd.user, cmd.connection_options.select{|o| o != :gateway})
|
73
74
|
|
74
75
|
Net::SSH.expects(:start).never
|
75
76
|
|
@@ -158,10 +159,6 @@ class SshCommandTest < TestCase
|
|
158
159
|
cmd = command("usertest@10.0.0.1", "--ssh-gateway=test@host.com")
|
159
160
|
cmd.validate_ssh_options!
|
160
161
|
assert_equal "usertest@10.0.0.1", cmd.ssh_args
|
161
|
-
|
162
|
-
cmd = command_internal("usertest@10.0.0.1", "--ssh-gateway=test@host.com")
|
163
|
-
cmd.validate_ssh_options!
|
164
|
-
assert_equal "usertest@10.0.0.1 -o ControlMaster=auto -o ControlPath=#{cmd.ssh_control_path} -o ControlPersist=3600", cmd.ssh_args
|
165
162
|
end
|
166
163
|
|
167
164
|
def test_barks_without_atleast_a_hostname
|
@@ -225,11 +222,6 @@ class SshCommandTest < TestCase
|
|
225
222
|
end
|
226
223
|
|
227
224
|
def command(*args)
|
228
|
-
args << '--ssh-control-master=no'
|
229
|
-
command_internal(*args)
|
230
|
-
end
|
231
|
-
|
232
|
-
def command_internal(*args)
|
233
225
|
Net::SSH::Config.stubs(:default_files)
|
234
226
|
knife_command(DummySshCommand, *args)
|
235
227
|
end
|
data/test/support/ec2_runner.rb
CHANGED
@@ -39,7 +39,7 @@ class EC2Runner < MiniTest::Unit
|
|
39
39
|
server.wait_for { ready? }
|
40
40
|
logger.info "#{test.class} server (#{server.dns_name}) reported ready, trying to connect to ssh..."
|
41
41
|
server.wait_for do
|
42
|
-
`
|
42
|
+
`echo | nc -w 1 #{dns_name} 22`
|
43
43
|
$?.success?
|
44
44
|
end
|
45
45
|
|
@@ -41,7 +41,9 @@ class IntegrationTest < TestCase
|
|
41
41
|
@kitchen.dirname.mkpath
|
42
42
|
system "knife solo init #{@kitchen} --no-berkshelf --no-librarian >> #{log_file}"
|
43
43
|
@start_dir = Dir.pwd
|
44
|
+
# NOTE (matschaffer): On ruby 2.3 Dir.chdir won't set ENV['PWD'] which chef-config-12.8.1 uses for `working_directory`
|
44
45
|
Dir.chdir(@kitchen)
|
46
|
+
ENV['PWD'] = @kitchen.to_s
|
45
47
|
prepare_server
|
46
48
|
end
|
47
49
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-solo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mat Schaffer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: berkshelf
|
@@ -182,22 +182,22 @@ dependencies:
|
|
182
182
|
name: net-ssh
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- - "
|
185
|
+
- - ">="
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: '2.7'
|
188
188
|
- - "<"
|
189
189
|
- !ruby/object:Gem::Version
|
190
|
-
version: '
|
190
|
+
version: '4.0'
|
191
191
|
type: :runtime
|
192
192
|
prerelease: false
|
193
193
|
version_requirements: !ruby/object:Gem::Requirement
|
194
194
|
requirements:
|
195
|
-
- - "
|
195
|
+
- - ">="
|
196
196
|
- !ruby/object:Gem::Version
|
197
197
|
version: '2.7'
|
198
198
|
- - "<"
|
199
199
|
- !ruby/object:Gem::Version
|
200
|
-
version: '
|
200
|
+
version: '4.0'
|
201
201
|
- !ruby/object:Gem::Dependency
|
202
202
|
name: erubis
|
203
203
|
requirement: !ruby/object:Gem::Requirement
|
@@ -281,8 +281,7 @@ files:
|
|
281
281
|
- test/gemfiles/Gemfile.chef-12
|
282
282
|
- test/gemfiles/Gemfile.chef-master
|
283
283
|
- test/gitignore_test.rb
|
284
|
-
- test/integration/
|
285
|
-
- test/integration/archlinux_20131128_test.rb
|
284
|
+
- test/integration/amazon_linux_2016_03_bootstrap_test.rb
|
286
285
|
- test/integration/cases/apache2_bootstrap.rb
|
287
286
|
- test/integration/cases/apache2_cook.rb
|
288
287
|
- test/integration/cases/cache_path_usage.rb
|
@@ -291,12 +290,10 @@ files:
|
|
291
290
|
- test/integration/cases/environment.rb
|
292
291
|
- test/integration/cases/knife_bootstrap.rb
|
293
292
|
- test/integration/cases/ohai_hints.rb
|
294
|
-
- test/integration/centos5_8_test.rb
|
295
293
|
- test/integration/centos6_3_test.rb
|
296
|
-
- test/integration/
|
294
|
+
- test/integration/centos7_test.rb
|
297
295
|
- test/integration/debian7_knife_bootstrap_test.rb
|
298
|
-
- test/integration/
|
299
|
-
- test/integration/omnios_r151004_test.rb
|
296
|
+
- test/integration/omnios_r151014_test.rb
|
300
297
|
- test/integration/scientific_linux_63_test.rb
|
301
298
|
- test/integration/sles_11_test.rb
|
302
299
|
- test/integration/ubuntu12_04_bootstrap_test.rb
|
@@ -365,7 +362,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
365
362
|
version: '0'
|
366
363
|
requirements: []
|
367
364
|
rubyforge_project:
|
368
|
-
rubygems_version: 2.
|
365
|
+
rubygems_version: 2.5.1
|
369
366
|
signing_key:
|
370
367
|
specification_version: 4
|
371
368
|
summary: A collection of knife plugins for dealing with chef solo
|
@@ -377,8 +374,7 @@ test_files:
|
|
377
374
|
- test/gemfiles/Gemfile.chef-12
|
378
375
|
- test/gemfiles/Gemfile.chef-master
|
379
376
|
- test/gitignore_test.rb
|
380
|
-
- test/integration/
|
381
|
-
- test/integration/archlinux_20131128_test.rb
|
377
|
+
- test/integration/amazon_linux_2016_03_bootstrap_test.rb
|
382
378
|
- test/integration/cases/apache2_bootstrap.rb
|
383
379
|
- test/integration/cases/apache2_cook.rb
|
384
380
|
- test/integration/cases/cache_path_usage.rb
|
@@ -387,12 +383,10 @@ test_files:
|
|
387
383
|
- test/integration/cases/environment.rb
|
388
384
|
- test/integration/cases/knife_bootstrap.rb
|
389
385
|
- test/integration/cases/ohai_hints.rb
|
390
|
-
- test/integration/centos5_8_test.rb
|
391
386
|
- test/integration/centos6_3_test.rb
|
392
|
-
- test/integration/
|
387
|
+
- test/integration/centos7_test.rb
|
393
388
|
- test/integration/debian7_knife_bootstrap_test.rb
|
394
|
-
- test/integration/
|
395
|
-
- test/integration/omnios_r151004_test.rb
|
389
|
+
- test/integration/omnios_r151014_test.rb
|
396
390
|
- test/integration/scientific_linux_63_test.rb
|
397
391
|
- test/integration/sles_11_test.rb
|
398
392
|
- test/integration/ubuntu12_04_bootstrap_test.rb
|
@@ -1,17 +0,0 @@
|
|
1
|
-
require 'integration_helper'
|
2
|
-
|
3
|
-
class ArchLinux20131128Test < IntegrationTest
|
4
|
-
def user
|
5
|
-
"root"
|
6
|
-
end
|
7
|
-
|
8
|
-
def image_id
|
9
|
-
"ami-d1cbebb8"
|
10
|
-
end
|
11
|
-
|
12
|
-
# this install method takes over 15m on an m1.small
|
13
|
-
# Uncomment this if you need to verify Arch operation
|
14
|
-
|
15
|
-
# include EmptyCook
|
16
|
-
# include EncryptedDataBag
|
17
|
-
end
|
@@ -1,20 +0,0 @@
|
|
1
|
-
require 'integration_helper'
|
2
|
-
|
3
|
-
|
4
|
-
class Debian6BootstrapTest < IntegrationTest
|
5
|
-
def user
|
6
|
-
"admin"
|
7
|
-
end
|
8
|
-
|
9
|
-
def image_id
|
10
|
-
# PVM 64-bit
|
11
|
-
# From https://wiki.debian.org/Cloud/AmazonEC2Image/Squeeze
|
12
|
-
"ami-5e12dc36"
|
13
|
-
end
|
14
|
-
|
15
|
-
def prepare_server
|
16
|
-
# Do nothing as `solo bootstrap` will do everything
|
17
|
-
end
|
18
|
-
|
19
|
-
include Apache2Bootstrap
|
20
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'integration_helper'
|
2
|
-
|
3
|
-
class Gentoo2011Test < IntegrationTest
|
4
|
-
def user
|
5
|
-
"root"
|
6
|
-
end
|
7
|
-
|
8
|
-
def image_id
|
9
|
-
"ami-ae49b7c7"
|
10
|
-
end
|
11
|
-
|
12
|
-
# `emerge chef` takes a very long time (~ 50 minutes) on an m1.small
|
13
|
-
# Uncomment this if you need to verify Gentoo operation
|
14
|
-
|
15
|
-
# include EmptyCook
|
16
|
-
# include Apache2Cook
|
17
|
-
# include EncryptedDataBag
|
18
|
-
end
|