motherbrain 0.0.0.placeholder → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.ruby-version +1 -0
- data/.travis.yml +9 -0
- data/CHANGELOG.md +196 -0
- data/COMMANDS.md +9 -0
- data/CONTRIBUTING.md +24 -0
- data/Dockerfile +26 -0
- data/Gemfile +60 -2
- data/Guardfile +30 -0
- data/LICENSE +10 -0
- data/MANIFESTS.md +90 -0
- data/OPERATORS_GUIDE.md +195 -0
- data/PLUGINS.md +268 -0
- data/README.md +304 -16
- data/Thorfile +123 -0
- data/VAGRANT.md +116 -0
- data/bin/boot +9 -0
- data/bin/mb +5 -0
- data/bin/mbsrv +5 -0
- data/config.json +32 -0
- data/features/cli/bootstrap_command/configurable_scripts.feature +32 -0
- data/features/cli/configure_command.feature +57 -0
- data/features/cli/environment_command/create_command.feature +22 -0
- data/features/cli/environment_command/destroy_command.feature +33 -0
- data/features/cli/environment_command/from_command.feature +29 -0
- data/features/cli/environment_command/list_command.feature +0 -0
- data/features/cli/node_limiting.feature +47 -0
- data/features/cli/plugin_command/list_command.feature +46 -0
- data/features/cli/service_command/service_command.feature +21 -0
- data/features/cli/template_command.feature +10 -0
- data/features/cli/validate_config.feature +46 -0
- data/features/step_definitions/bootstrap_steps.rb +57 -0
- data/features/step_definitions/chef_server_steps.rb +3 -0
- data/features/step_definitions/configuration_steps.rb +18 -0
- data/features/step_definitions/core_cli_steps.rb +33 -0
- data/features/step_definitions/environment_steps.rb +43 -0
- data/features/step_definitions/node_steps.rb +3 -0
- data/features/step_definitions/plugin_steps.rb +15 -0
- data/features/step_definitions/template_steps.rb +7 -0
- data/features/support/env.rb +68 -0
- data/lib/mb/api.rb +8 -0
- data/lib/mb/api/application.rb +7 -0
- data/lib/mb/api/endpoint.rb +5 -0
- data/lib/mb/api/helpers.rb +38 -0
- data/lib/mb/api/v1.rb +56 -0
- data/lib/mb/api/v1/config_endpoint.rb +12 -0
- data/lib/mb/api/v1/environments_endpoint.rb +174 -0
- data/lib/mb/api/v1/jobs_endpoint.rb +31 -0
- data/lib/mb/api/v1/plugins_endpoint.rb +90 -0
- data/lib/mb/api/validators.rb +5 -0
- data/lib/mb/api/validators/sem_ver.rb +18 -0
- data/lib/mb/application.rb +148 -0
- data/lib/mb/berkshelf.rb +50 -0
- data/lib/mb/bootstrap.rb +9 -0
- data/lib/mb/bootstrap/manager.rb +250 -0
- data/lib/mb/bootstrap/manifest.rb +131 -0
- data/lib/mb/bootstrap/routine.rb +199 -0
- data/lib/mb/bootstrap/template.rb +73 -0
- data/lib/mb/bootstrap/worker.rb +227 -0
- data/lib/mb/chef.rb +6 -0
- data/lib/mb/chef/config.rb +69 -0
- data/lib/mb/chef/run_list_item.rb +115 -0
- data/lib/mb/chef_mutex.rb +304 -0
- data/lib/mb/clean_room_base.rb +39 -0
- data/lib/mb/cli.rb +50 -0
- data/lib/mb/cli/base.rb +51 -0
- data/lib/mb/cli/shell.rb +29 -0
- data/lib/mb/cli/shell/basic.rb +11 -0
- data/lib/mb/cli/shell/color.rb +11 -0
- data/lib/mb/cli/shell/ext.rb +41 -0
- data/lib/mb/cli/sub_command.rb +95 -0
- data/lib/mb/cli/sub_command/component.rb +56 -0
- data/lib/mb/cli/sub_command/plugin.rb +232 -0
- data/lib/mb/cli_client.rb +178 -0
- data/lib/mb/cli_gateway.rb +426 -0
- data/lib/mb/cli_gateway/sub_commands.rb +3 -0
- data/lib/mb/cli_gateway/sub_commands/environment.rb +124 -0
- data/lib/mb/cli_gateway/sub_commands/plugin.rb +148 -0
- data/lib/mb/command.rb +88 -0
- data/lib/mb/command_invoker.rb +235 -0
- data/lib/mb/command_invoker/worker.rb +40 -0
- data/lib/mb/command_runner.rb +233 -0
- data/lib/mb/component.rb +245 -0
- data/lib/mb/config.rb +275 -0
- data/lib/mb/config_manager.rb +75 -0
- data/lib/mb/console.rb +35 -0
- data/lib/mb/cookbook_metadata.rb +73 -0
- data/lib/mb/core_ext.rb +3 -0
- data/lib/mb/core_ext/dir.rb +37 -0
- data/lib/mb/core_ext/enumerable.rb +48 -0
- data/lib/mb/core_ext/file.rb +24 -0
- data/lib/mb/core_ext/signal.rb +11 -0
- data/lib/mb/environment_manager.rb +195 -0
- data/lib/mb/error_handler.rb +212 -0
- data/lib/mb/errors.rb +693 -0
- data/lib/mb/file_system.rb +60 -0
- data/lib/mb/file_system/tempfile.rb +25 -0
- data/lib/mb/gear.rb +154 -0
- data/lib/mb/gears.rb +8 -0
- data/lib/mb/gears/dynamic_service.rb +218 -0
- data/lib/mb/gears/jmx.rb +24 -0
- data/lib/mb/gears/jmx/action.rb +46 -0
- data/lib/mb/gears/mysql.rb +20 -0
- data/lib/mb/gears/mysql/action.rb +190 -0
- data/lib/mb/gears/service.rb +163 -0
- data/lib/mb/gears/service/action.rb +58 -0
- data/lib/mb/gears/service/action_runner.rb +161 -0
- data/lib/mb/grape_ext.rb +3 -0
- data/lib/mb/grape_ext/endpoint.rb +13 -0
- data/lib/mb/group.rb +143 -0
- data/lib/mb/job.rb +183 -0
- data/lib/mb/job/state_machine.rb +34 -0
- data/lib/mb/job/states.rb +46 -0
- data/lib/mb/job_manager.rb +96 -0
- data/lib/mb/job_record.rb +67 -0
- data/lib/mb/job_ticket.rb +25 -0
- data/lib/mb/lock_manager.rb +116 -0
- data/lib/mb/logging.rb +134 -0
- data/lib/mb/logging/basic_format.rb +31 -0
- data/lib/mb/manifest.rb +128 -0
- data/lib/mb/mixin.rb +3 -0
- data/lib/mb/mixin/attribute_setting.rb +265 -0
- data/lib/mb/mixin/coded_exit.rb +49 -0
- data/lib/mb/mixin/locks.rb +54 -0
- data/lib/mb/mixin/services.rb +100 -0
- data/lib/mb/node_filter.rb +97 -0
- data/lib/mb/node_querier.rb +527 -0
- data/lib/mb/plugin.rb +300 -0
- data/lib/mb/plugin_manager.rb +589 -0
- data/lib/mb/provisioner.rb +186 -0
- data/lib/mb/provisioner/manager.rb +213 -0
- data/lib/mb/provisioner/manifest.rb +125 -0
- data/lib/mb/provisioner/provision_data.rb +96 -0
- data/lib/mb/provisioners.rb +5 -0
- data/lib/mb/provisioners/aws.rb +395 -0
- data/lib/mb/rest_gateway.rb +72 -0
- data/lib/mb/ridley_ext.rb +5 -0
- data/lib/mb/ridley_ext/cookbook_object.rb +15 -0
- data/lib/mb/srv_ctl.rb +183 -0
- data/lib/mb/test.rb +104 -0
- data/lib/mb/thor_ext.rb +49 -0
- data/lib/mb/upgrade.rb +6 -0
- data/lib/mb/upgrade/manager.rb +85 -0
- data/lib/mb/upgrade/worker.rb +149 -0
- data/lib/mb/version.rb +1 -1
- data/lib/motherbrain.rb +166 -2
- data/man/man_helper.rb +81 -0
- data/man/mb.1 +494 -0
- data/man/mb.1.html +300 -0
- data/man/mb.1.ronn.erb +62 -0
- data/motherbrain.gemspec +56 -20
- data/scripts/node_name.rb +14 -0
- data/spec/fixtures/cb_metadata.json +7 -0
- data/spec/fixtures/cb_metadata.rb +14 -0
- data/spec/fixtures/fake_id_rsa +27 -0
- data/spec/fixtures/fake_key.pem +27 -0
- data/spec/fixtures/myface-0.1.0/metadata.rb +14 -0
- data/spec/fixtures/myface-0.1.0/motherbrain.rb +0 -0
- data/spec/fixtures/test_env.json +15 -0
- data/spec/spec_helper.rb +67 -0
- data/spec/support/actor_mocking.rb +7 -0
- data/spec/support/berkshelf.rb +24 -0
- data/spec/support/chef_server.rb +102 -0
- data/spec/support/doubles.rb +11 -0
- data/spec/support/klass.rb +10 -0
- data/spec/support/matchers/each.rb +12 -0
- data/spec/support/matchers/error_codes.rb +5 -0
- data/spec/support/matchers/exit_codes.rb +57 -0
- data/spec/support/matchers/jobs.rb +11 -0
- data/spec/support/spec_helpers.rb +145 -0
- data/spec/unit/mb/api/application_spec.rb +11 -0
- data/spec/unit/mb/api/helpers_spec.rb +5 -0
- data/spec/unit/mb/api/v1/config_endpoint_spec.rb +19 -0
- data/spec/unit/mb/api/v1/environments_endpoint_spec.rb +71 -0
- data/spec/unit/mb/api/v1/jobs_endpoint_spec.rb +24 -0
- data/spec/unit/mb/api/v1/plugins_endpoint_spec.rb +298 -0
- data/spec/unit/mb/api/v1_spec.rb +37 -0
- data/spec/unit/mb/api/validators/sem_ver_spec.rb +5 -0
- data/spec/unit/mb/application_spec.rb +19 -0
- data/spec/unit/mb/berkshelf_spec.rb +38 -0
- data/spec/unit/mb/bootstrap/manager_spec.rb +347 -0
- data/spec/unit/mb/bootstrap/manifest_spec.rb +333 -0
- data/spec/unit/mb/bootstrap/routine_spec.rb +393 -0
- data/spec/unit/mb/bootstrap/template_spec.rb +100 -0
- data/spec/unit/mb/bootstrap/worker_spec.rb +194 -0
- data/spec/unit/mb/chef/config_spec.rb +33 -0
- data/spec/unit/mb/chef/run_list_item_spec.rb +34 -0
- data/spec/unit/mb/chef_mutex_spec.rb +314 -0
- data/spec/unit/mb/clean_room_base_spec.rb +31 -0
- data/spec/unit/mb/cli/base_spec.rb +43 -0
- data/spec/unit/mb/cli/shell/basic_spec.rb +5 -0
- data/spec/unit/mb/cli/shell/color_spec.rb +5 -0
- data/spec/unit/mb/cli/shell/ext_spec.rb +11 -0
- data/spec/unit/mb/cli/shell_spec.rb +38 -0
- data/spec/unit/mb/cli/sub_command/base_spec.rb +102 -0
- data/spec/unit/mb/cli/sub_command/component_spec.rb +5 -0
- data/spec/unit/mb/cli/sub_command/plugin_spec.rb +91 -0
- data/spec/unit/mb/cli/sub_command_spec.rb +43 -0
- data/spec/unit/mb/cli/ui.rb +0 -0
- data/spec/unit/mb/cli_client_spec.rb +51 -0
- data/spec/unit/mb/cli_gateway_spec.rb +386 -0
- data/spec/unit/mb/command_invoker/worker_spec.rb +43 -0
- data/spec/unit/mb/command_invoker_spec.rb +230 -0
- data/spec/unit/mb/command_runner_spec.rb +299 -0
- data/spec/unit/mb/command_spec.rb +76 -0
- data/spec/unit/mb/component_spec.rb +185 -0
- data/spec/unit/mb/config_manager_spec.rb +31 -0
- data/spec/unit/mb/config_spec.rb +408 -0
- data/spec/unit/mb/cookbook_metadata_spec.rb +89 -0
- data/spec/unit/mb/core_ext/dir_spec.rb +92 -0
- data/spec/unit/mb/core_ext/enumerable_spec.rb +104 -0
- data/spec/unit/mb/core_ext/file_spec.rb +58 -0
- data/spec/unit/mb/core_ext/signal_spec.rb +24 -0
- data/spec/unit/mb/environment_manager_spec.rb +166 -0
- data/spec/unit/mb/error_handler_spec.rb +173 -0
- data/spec/unit/mb/errors_spec.rb +132 -0
- data/spec/unit/mb/file_system/tempfile_spec.rb +14 -0
- data/spec/unit/mb/file_system_spec.rb +69 -0
- data/spec/unit/mb/gear_spec.rb +125 -0
- data/spec/unit/mb/gears/dynamic_service_spec.rb +187 -0
- data/spec/unit/mb/gears/jmx/action_spec.rb +34 -0
- data/spec/unit/mb/gears/jmx_spec.rb +32 -0
- data/spec/unit/mb/gears/mysql/action_spec.rb +118 -0
- data/spec/unit/mb/gears/mysql_spec.rb +21 -0
- data/spec/unit/mb/gears/service/action_runner_spec.rb +182 -0
- data/spec/unit/mb/gears/service/action_spec.rb +44 -0
- data/spec/unit/mb/gears/service_spec.rb +124 -0
- data/spec/unit/mb/group_spec.rb +280 -0
- data/spec/unit/mb/job_manager_spec.rb +56 -0
- data/spec/unit/mb/job_record_spec.rb +60 -0
- data/spec/unit/mb/job_spec.rb +201 -0
- data/spec/unit/mb/locks_manager_spec.rb +88 -0
- data/spec/unit/mb/logging_spec.rb +133 -0
- data/spec/unit/mb/manifest_spec.rb +105 -0
- data/spec/unit/mb/mixin/attribute_setting_spec.rb +180 -0
- data/spec/unit/mb/mixin/coded_exit_spec.rb +25 -0
- data/spec/unit/mb/mixin/locks_spec.rb +32 -0
- data/spec/unit/mb/mixin/services_spec.rb +75 -0
- data/spec/unit/mb/node_filter_spec.rb +86 -0
- data/spec/unit/mb/node_querier_spec.rb +532 -0
- data/spec/unit/mb/plugin_manager_spec.rb +724 -0
- data/spec/unit/mb/plugin_spec.rb +247 -0
- data/spec/unit/mb/provisioner/manager_spec.rb +141 -0
- data/spec/unit/mb/provisioner/manifest_spec.rb +182 -0
- data/spec/unit/mb/provisioner/provision_data_spec.rb +113 -0
- data/spec/unit/mb/provisioner_spec.rb +251 -0
- data/spec/unit/mb/provisioners/aws_spec.rb +392 -0
- data/spec/unit/mb/provisioners/environment_factory_spec.rb +108 -0
- data/spec/unit/mb/rest_gateway_spec.rb +13 -0
- data/spec/unit/mb/ridley_ext/cookbook_object_spec.rb +105 -0
- data/spec/unit/mb/srv_ctl_spec.rb +142 -0
- data/spec/unit/mb/upgrade/manager_spec.rb +37 -0
- data/spec/unit/mb/upgrade/worker_spec.rb +219 -0
- data/spec/unit/motherbrain_spec.rb +58 -0
- data/templates/bootstrap.json +8 -0
- data/templates/motherbrain.rb +44 -0
- metadata +694 -15
- data/Rakefile +0 -1
@@ -0,0 +1,58 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe MotherBrain do
|
4
|
+
subject { MotherBrain }
|
5
|
+
|
6
|
+
describe "::app_root" do
|
7
|
+
it "returns a pathname" do
|
8
|
+
subject.app_root.should be_a(Pathname)
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
describe "::scripts" do
|
13
|
+
it "returns a pathname" do
|
14
|
+
subject.scripts.should be_a(Pathname)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
describe "::logger" do
|
19
|
+
it "delegates to MB::Logging.logger" do
|
20
|
+
MB::Logging.should_receive(:logger)
|
21
|
+
|
22
|
+
subject.logger
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
describe "::set_logger" do
|
27
|
+
it "delegates to MB::Logging.set_logger" do
|
28
|
+
new_logger = Logger.new('/dev/null')
|
29
|
+
MB::Logging.should_receive(:set_logger).with(new_logger)
|
30
|
+
|
31
|
+
subject.set_logger(new_logger)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
describe "::expand_procs" do
|
36
|
+
it "returns an array of arrays containing the result of the evaluated procs" do
|
37
|
+
procs = [
|
38
|
+
-> { :one },
|
39
|
+
-> { :two },
|
40
|
+
[
|
41
|
+
-> { :nested },
|
42
|
+
[
|
43
|
+
-> { :deep_nested }
|
44
|
+
]
|
45
|
+
]
|
46
|
+
]
|
47
|
+
result = subject.expand_procs(procs)
|
48
|
+
|
49
|
+
result.should have(3).items
|
50
|
+
result[0].should eql(:one)
|
51
|
+
result[1].should eql(:two)
|
52
|
+
result[2].should have(2).items
|
53
|
+
result[2][0].should eql(:nested)
|
54
|
+
result[2][1].should have(1).item
|
55
|
+
result[2][1][0].should eql(:deep_nested)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# This is an example motherbrain plugin.
|
2
|
+
#
|
3
|
+
# To see a list of all commands this plugin provides, run:
|
4
|
+
#
|
5
|
+
# mb <%= config[:name] %> help
|
6
|
+
#
|
7
|
+
# For documentation, visit https://github.com/RiotGames/motherbrain
|
8
|
+
|
9
|
+
# When bootstrapping a cluster for the first time, you'll need to specify which
|
10
|
+
# components and groups you want to bootstrap.
|
11
|
+
stack_order do
|
12
|
+
<% config[:groups].each do |group| -%>
|
13
|
+
bootstrap 'app::<%= group %>'
|
14
|
+
<% end -%>
|
15
|
+
end
|
16
|
+
|
17
|
+
# Components are logical parts of your application. For instance, a web app
|
18
|
+
# might have "web" and "database" components.
|
19
|
+
component 'app' do
|
20
|
+
# Replace this with a better description for the component.
|
21
|
+
description "<%= config[:name].capitalize %> application"
|
22
|
+
|
23
|
+
# You can signify that a component's version is mapped to an environment
|
24
|
+
# attribute, and then change the version with:
|
25
|
+
#
|
26
|
+
# mb <%= config[:name] %> upgrade --components app:1.2.3
|
27
|
+
#
|
28
|
+
versioned # This defaults to 'app.version'
|
29
|
+
# You can also specify a custom attribute.
|
30
|
+
# versioned_with '<%= config[:name] %>.version'
|
31
|
+
|
32
|
+
# Groups are collections of nodes linked by a search. If you only have one
|
33
|
+
# group per component, it's typical to use "default" as the group name. An
|
34
|
+
# example of multiple groups would be a "database" component, with "master"
|
35
|
+
# and "slave" groups.
|
36
|
+
group 'default' do
|
37
|
+
<% config[:groups].each do |group| -%>
|
38
|
+
recipe '<%= config[:name] %>::<%= group %>'
|
39
|
+
<% end -%>
|
40
|
+
# In addition to recipes, you can also search by roles and attributes:
|
41
|
+
# role 'web_server'
|
42
|
+
# chef_attribute 'db_master', true
|
43
|
+
end
|
44
|
+
end
|
metadata
CHANGED
@@ -1,55 +1,734 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motherbrain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease: 6
|
4
|
+
version: 0.13.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jamie Winsor
|
8
|
+
- Jesse Howarth
|
9
|
+
- Justin Campbell
|
10
|
+
- Michael Ivey
|
11
|
+
- Cliff Dickerson
|
12
|
+
- Andrew Garson
|
13
|
+
- Kyle Allan
|
14
|
+
- Josiah Kiehl
|
9
15
|
autorequire:
|
10
16
|
bindir: bin
|
11
17
|
cert_chain: []
|
12
|
-
date:
|
13
|
-
dependencies:
|
18
|
+
date: 2014-02-18 00:00:00.000000000 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: celluloid
|
22
|
+
requirement: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.15'
|
27
|
+
type: :runtime
|
28
|
+
prerelease: false
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.15'
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: reel
|
36
|
+
requirement: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.4.0
|
41
|
+
type: :runtime
|
42
|
+
prerelease: false
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.4.0
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: reel-rack
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: grape
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.6.0
|
69
|
+
type: :runtime
|
70
|
+
prerelease: false
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.6.0
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: net-ssh
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
type: :runtime
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: net-sftp
|
92
|
+
requirement: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
type: :runtime
|
98
|
+
prerelease: false
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: solve
|
106
|
+
requirement: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.4.4
|
111
|
+
type: :runtime
|
112
|
+
prerelease: false
|
113
|
+
version_requirements: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.4.4
|
118
|
+
- !ruby/object:Gem::Dependency
|
119
|
+
name: ridley-connectors
|
120
|
+
requirement: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ~>
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.4.0
|
125
|
+
type: :runtime
|
126
|
+
prerelease: false
|
127
|
+
version_requirements: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ~>
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.4.0
|
132
|
+
- !ruby/object:Gem::Dependency
|
133
|
+
name: thor
|
134
|
+
requirement: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ~>
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.18.0
|
139
|
+
type: :runtime
|
140
|
+
prerelease: false
|
141
|
+
version_requirements: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ~>
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 0.18.0
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: faraday
|
148
|
+
requirement: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - <
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 0.9.0
|
153
|
+
type: :runtime
|
154
|
+
prerelease: false
|
155
|
+
version_requirements: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - <
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 0.9.0
|
160
|
+
- !ruby/object:Gem::Dependency
|
161
|
+
name: faraday_middleware
|
162
|
+
requirement: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
type: :runtime
|
168
|
+
prerelease: false
|
169
|
+
version_requirements: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: multi_json
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - '>='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
type: :runtime
|
182
|
+
prerelease: false
|
183
|
+
version_requirements: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - '>='
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
- !ruby/object:Gem::Dependency
|
189
|
+
name: fog
|
190
|
+
requirement: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ~>
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 1.10.0
|
195
|
+
type: :runtime
|
196
|
+
prerelease: false
|
197
|
+
version_requirements: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ~>
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: 1.10.0
|
202
|
+
- !ruby/object:Gem::Dependency
|
203
|
+
name: json
|
204
|
+
requirement: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - '>='
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: 1.8.0
|
209
|
+
type: :runtime
|
210
|
+
prerelease: false
|
211
|
+
version_requirements: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - '>='
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: 1.8.0
|
216
|
+
- !ruby/object:Gem::Dependency
|
217
|
+
name: pry
|
218
|
+
requirement: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - '>='
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
type: :runtime
|
224
|
+
prerelease: false
|
225
|
+
version_requirements: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - '>='
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
- !ruby/object:Gem::Dependency
|
231
|
+
name: pry-nav
|
232
|
+
requirement: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - '>='
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
type: :runtime
|
238
|
+
prerelease: false
|
239
|
+
version_requirements: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - '>='
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
- !ruby/object:Gem::Dependency
|
245
|
+
name: buff-config
|
246
|
+
requirement: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ~>
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0.3'
|
251
|
+
type: :runtime
|
252
|
+
prerelease: false
|
253
|
+
version_requirements: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ~>
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0.3'
|
258
|
+
- !ruby/object:Gem::Dependency
|
259
|
+
name: buff-extensions
|
260
|
+
requirement: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ~>
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0.5'
|
265
|
+
type: :runtime
|
266
|
+
prerelease: false
|
267
|
+
version_requirements: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ~>
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0.5'
|
272
|
+
- !ruby/object:Gem::Dependency
|
273
|
+
name: buff-platform
|
274
|
+
requirement: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - ~>
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '0.1'
|
279
|
+
type: :runtime
|
280
|
+
prerelease: false
|
281
|
+
version_requirements: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - ~>
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0.1'
|
286
|
+
- !ruby/object:Gem::Dependency
|
287
|
+
name: buff-ruby_engine
|
288
|
+
requirement: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - ~>
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '0.1'
|
293
|
+
type: :runtime
|
294
|
+
prerelease: false
|
295
|
+
version_requirements: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - ~>
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: '0.1'
|
300
|
+
- !ruby/object:Gem::Dependency
|
301
|
+
name: grape-swagger
|
302
|
+
requirement: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - ~>
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: 0.6.0
|
307
|
+
type: :runtime
|
308
|
+
prerelease: false
|
309
|
+
version_requirements: !ruby/object:Gem::Requirement
|
310
|
+
requirements:
|
311
|
+
- - ~>
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: 0.6.0
|
14
314
|
description: An orchestrator for Chef
|
15
315
|
email:
|
16
|
-
-
|
17
|
-
|
316
|
+
- jamie@vialstudios.com
|
317
|
+
- jhowarth@riotgames.com
|
318
|
+
- justin@justincampbell.me
|
319
|
+
- michael.ivey@riotgames.com
|
320
|
+
- cdickerson@riotgames.com
|
321
|
+
- agarson@riotgames.com
|
322
|
+
- kallan@riotgames.com
|
323
|
+
- jkiehl@riotgames.com
|
324
|
+
executables:
|
325
|
+
- boot
|
326
|
+
- mb
|
327
|
+
- mbsrv
|
18
328
|
extensions: []
|
19
329
|
extra_rdoc_files: []
|
20
330
|
files:
|
21
331
|
- .gitignore
|
332
|
+
- .ruby-version
|
333
|
+
- .travis.yml
|
334
|
+
- CHANGELOG.md
|
335
|
+
- COMMANDS.md
|
336
|
+
- CONTRIBUTING.md
|
337
|
+
- Dockerfile
|
22
338
|
- Gemfile
|
339
|
+
- Guardfile
|
23
340
|
- LICENSE
|
341
|
+
- MANIFESTS.md
|
342
|
+
- OPERATORS_GUIDE.md
|
343
|
+
- PLUGINS.md
|
24
344
|
- README.md
|
25
|
-
-
|
345
|
+
- Thorfile
|
346
|
+
- VAGRANT.md
|
347
|
+
- bin/boot
|
348
|
+
- bin/mb
|
349
|
+
- bin/mbsrv
|
350
|
+
- config.json
|
351
|
+
- features/cli/bootstrap_command/configurable_scripts.feature
|
352
|
+
- features/cli/configure_command.feature
|
353
|
+
- features/cli/environment_command/create_command.feature
|
354
|
+
- features/cli/environment_command/destroy_command.feature
|
355
|
+
- features/cli/environment_command/from_command.feature
|
356
|
+
- features/cli/environment_command/list_command.feature
|
357
|
+
- features/cli/node_limiting.feature
|
358
|
+
- features/cli/plugin_command/list_command.feature
|
359
|
+
- features/cli/service_command/service_command.feature
|
360
|
+
- features/cli/template_command.feature
|
361
|
+
- features/cli/validate_config.feature
|
362
|
+
- features/step_definitions/bootstrap_steps.rb
|
363
|
+
- features/step_definitions/chef_server_steps.rb
|
364
|
+
- features/step_definitions/configuration_steps.rb
|
365
|
+
- features/step_definitions/core_cli_steps.rb
|
366
|
+
- features/step_definitions/environment_steps.rb
|
367
|
+
- features/step_definitions/node_steps.rb
|
368
|
+
- features/step_definitions/plugin_steps.rb
|
369
|
+
- features/step_definitions/template_steps.rb
|
370
|
+
- features/support/env.rb
|
371
|
+
- lib/mb/api.rb
|
372
|
+
- lib/mb/api/application.rb
|
373
|
+
- lib/mb/api/endpoint.rb
|
374
|
+
- lib/mb/api/helpers.rb
|
375
|
+
- lib/mb/api/v1.rb
|
376
|
+
- lib/mb/api/v1/config_endpoint.rb
|
377
|
+
- lib/mb/api/v1/environments_endpoint.rb
|
378
|
+
- lib/mb/api/v1/jobs_endpoint.rb
|
379
|
+
- lib/mb/api/v1/plugins_endpoint.rb
|
380
|
+
- lib/mb/api/validators.rb
|
381
|
+
- lib/mb/api/validators/sem_ver.rb
|
382
|
+
- lib/mb/application.rb
|
383
|
+
- lib/mb/berkshelf.rb
|
384
|
+
- lib/mb/bootstrap.rb
|
385
|
+
- lib/mb/bootstrap/manager.rb
|
386
|
+
- lib/mb/bootstrap/manifest.rb
|
387
|
+
- lib/mb/bootstrap/routine.rb
|
388
|
+
- lib/mb/bootstrap/template.rb
|
389
|
+
- lib/mb/bootstrap/worker.rb
|
390
|
+
- lib/mb/chef.rb
|
391
|
+
- lib/mb/chef/config.rb
|
392
|
+
- lib/mb/chef/run_list_item.rb
|
393
|
+
- lib/mb/chef_mutex.rb
|
394
|
+
- lib/mb/clean_room_base.rb
|
395
|
+
- lib/mb/cli.rb
|
396
|
+
- lib/mb/cli/base.rb
|
397
|
+
- lib/mb/cli/shell.rb
|
398
|
+
- lib/mb/cli/shell/basic.rb
|
399
|
+
- lib/mb/cli/shell/color.rb
|
400
|
+
- lib/mb/cli/shell/ext.rb
|
401
|
+
- lib/mb/cli/sub_command.rb
|
402
|
+
- lib/mb/cli/sub_command/component.rb
|
403
|
+
- lib/mb/cli/sub_command/plugin.rb
|
404
|
+
- lib/mb/cli_client.rb
|
405
|
+
- lib/mb/cli_gateway.rb
|
406
|
+
- lib/mb/cli_gateway/sub_commands.rb
|
407
|
+
- lib/mb/cli_gateway/sub_commands/environment.rb
|
408
|
+
- lib/mb/cli_gateway/sub_commands/plugin.rb
|
409
|
+
- lib/mb/command.rb
|
410
|
+
- lib/mb/command_invoker.rb
|
411
|
+
- lib/mb/command_invoker/worker.rb
|
412
|
+
- lib/mb/command_runner.rb
|
413
|
+
- lib/mb/component.rb
|
414
|
+
- lib/mb/config.rb
|
415
|
+
- lib/mb/config_manager.rb
|
416
|
+
- lib/mb/console.rb
|
417
|
+
- lib/mb/cookbook_metadata.rb
|
418
|
+
- lib/mb/core_ext.rb
|
419
|
+
- lib/mb/core_ext/dir.rb
|
420
|
+
- lib/mb/core_ext/enumerable.rb
|
421
|
+
- lib/mb/core_ext/file.rb
|
422
|
+
- lib/mb/core_ext/signal.rb
|
423
|
+
- lib/mb/environment_manager.rb
|
424
|
+
- lib/mb/error_handler.rb
|
425
|
+
- lib/mb/errors.rb
|
426
|
+
- lib/mb/file_system.rb
|
427
|
+
- lib/mb/file_system/tempfile.rb
|
428
|
+
- lib/mb/gear.rb
|
429
|
+
- lib/mb/gears.rb
|
430
|
+
- lib/mb/gears/dynamic_service.rb
|
431
|
+
- lib/mb/gears/jmx.rb
|
432
|
+
- lib/mb/gears/jmx/action.rb
|
433
|
+
- lib/mb/gears/mysql.rb
|
434
|
+
- lib/mb/gears/mysql/action.rb
|
435
|
+
- lib/mb/gears/service.rb
|
436
|
+
- lib/mb/gears/service/action.rb
|
437
|
+
- lib/mb/gears/service/action_runner.rb
|
438
|
+
- lib/mb/grape_ext.rb
|
439
|
+
- lib/mb/grape_ext/endpoint.rb
|
440
|
+
- lib/mb/group.rb
|
441
|
+
- lib/mb/job.rb
|
442
|
+
- lib/mb/job/state_machine.rb
|
443
|
+
- lib/mb/job/states.rb
|
444
|
+
- lib/mb/job_manager.rb
|
445
|
+
- lib/mb/job_record.rb
|
446
|
+
- lib/mb/job_ticket.rb
|
447
|
+
- lib/mb/lock_manager.rb
|
448
|
+
- lib/mb/logging.rb
|
449
|
+
- lib/mb/logging/basic_format.rb
|
450
|
+
- lib/mb/manifest.rb
|
451
|
+
- lib/mb/mixin.rb
|
452
|
+
- lib/mb/mixin/attribute_setting.rb
|
453
|
+
- lib/mb/mixin/coded_exit.rb
|
454
|
+
- lib/mb/mixin/locks.rb
|
455
|
+
- lib/mb/mixin/services.rb
|
456
|
+
- lib/mb/node_filter.rb
|
457
|
+
- lib/mb/node_querier.rb
|
458
|
+
- lib/mb/plugin.rb
|
459
|
+
- lib/mb/plugin_manager.rb
|
460
|
+
- lib/mb/provisioner.rb
|
461
|
+
- lib/mb/provisioner/manager.rb
|
462
|
+
- lib/mb/provisioner/manifest.rb
|
463
|
+
- lib/mb/provisioner/provision_data.rb
|
464
|
+
- lib/mb/provisioners.rb
|
465
|
+
- lib/mb/provisioners/aws.rb
|
466
|
+
- lib/mb/rest_gateway.rb
|
467
|
+
- lib/mb/ridley_ext.rb
|
468
|
+
- lib/mb/ridley_ext/cookbook_object.rb
|
469
|
+
- lib/mb/srv_ctl.rb
|
470
|
+
- lib/mb/test.rb
|
471
|
+
- lib/mb/thor_ext.rb
|
472
|
+
- lib/mb/upgrade.rb
|
473
|
+
- lib/mb/upgrade/manager.rb
|
474
|
+
- lib/mb/upgrade/worker.rb
|
26
475
|
- lib/mb/version.rb
|
27
476
|
- lib/motherbrain.rb
|
477
|
+
- man/man_helper.rb
|
478
|
+
- man/mb.1
|
479
|
+
- man/mb.1.html
|
480
|
+
- man/mb.1.ronn.erb
|
28
481
|
- motherbrain.gemspec
|
482
|
+
- scripts/node_name.rb
|
483
|
+
- spec/fixtures/cb_metadata.json
|
484
|
+
- spec/fixtures/cb_metadata.rb
|
485
|
+
- spec/fixtures/fake_id_rsa
|
486
|
+
- spec/fixtures/fake_key.pem
|
487
|
+
- spec/fixtures/myface-0.1.0/metadata.rb
|
488
|
+
- spec/fixtures/myface-0.1.0/motherbrain.rb
|
489
|
+
- spec/fixtures/test_env.json
|
490
|
+
- spec/spec_helper.rb
|
491
|
+
- spec/support/actor_mocking.rb
|
492
|
+
- spec/support/berkshelf.rb
|
493
|
+
- spec/support/chef_server.rb
|
494
|
+
- spec/support/doubles.rb
|
495
|
+
- spec/support/klass.rb
|
496
|
+
- spec/support/matchers/each.rb
|
497
|
+
- spec/support/matchers/error_codes.rb
|
498
|
+
- spec/support/matchers/exit_codes.rb
|
499
|
+
- spec/support/matchers/jobs.rb
|
500
|
+
- spec/support/spec_helpers.rb
|
501
|
+
- spec/unit/mb/api/application_spec.rb
|
502
|
+
- spec/unit/mb/api/helpers_spec.rb
|
503
|
+
- spec/unit/mb/api/v1/config_endpoint_spec.rb
|
504
|
+
- spec/unit/mb/api/v1/environments_endpoint_spec.rb
|
505
|
+
- spec/unit/mb/api/v1/jobs_endpoint_spec.rb
|
506
|
+
- spec/unit/mb/api/v1/plugins_endpoint_spec.rb
|
507
|
+
- spec/unit/mb/api/v1_spec.rb
|
508
|
+
- spec/unit/mb/api/validators/sem_ver_spec.rb
|
509
|
+
- spec/unit/mb/application_spec.rb
|
510
|
+
- spec/unit/mb/berkshelf_spec.rb
|
511
|
+
- spec/unit/mb/bootstrap/manager_spec.rb
|
512
|
+
- spec/unit/mb/bootstrap/manifest_spec.rb
|
513
|
+
- spec/unit/mb/bootstrap/routine_spec.rb
|
514
|
+
- spec/unit/mb/bootstrap/template_spec.rb
|
515
|
+
- spec/unit/mb/bootstrap/worker_spec.rb
|
516
|
+
- spec/unit/mb/chef/config_spec.rb
|
517
|
+
- spec/unit/mb/chef/run_list_item_spec.rb
|
518
|
+
- spec/unit/mb/chef_mutex_spec.rb
|
519
|
+
- spec/unit/mb/clean_room_base_spec.rb
|
520
|
+
- spec/unit/mb/cli/base_spec.rb
|
521
|
+
- spec/unit/mb/cli/shell/basic_spec.rb
|
522
|
+
- spec/unit/mb/cli/shell/color_spec.rb
|
523
|
+
- spec/unit/mb/cli/shell/ext_spec.rb
|
524
|
+
- spec/unit/mb/cli/shell_spec.rb
|
525
|
+
- spec/unit/mb/cli/sub_command/base_spec.rb
|
526
|
+
- spec/unit/mb/cli/sub_command/component_spec.rb
|
527
|
+
- spec/unit/mb/cli/sub_command/plugin_spec.rb
|
528
|
+
- spec/unit/mb/cli/sub_command_spec.rb
|
529
|
+
- spec/unit/mb/cli/ui.rb
|
530
|
+
- spec/unit/mb/cli_client_spec.rb
|
531
|
+
- spec/unit/mb/cli_gateway_spec.rb
|
532
|
+
- spec/unit/mb/command_invoker/worker_spec.rb
|
533
|
+
- spec/unit/mb/command_invoker_spec.rb
|
534
|
+
- spec/unit/mb/command_runner_spec.rb
|
535
|
+
- spec/unit/mb/command_spec.rb
|
536
|
+
- spec/unit/mb/component_spec.rb
|
537
|
+
- spec/unit/mb/config_manager_spec.rb
|
538
|
+
- spec/unit/mb/config_spec.rb
|
539
|
+
- spec/unit/mb/cookbook_metadata_spec.rb
|
540
|
+
- spec/unit/mb/core_ext/dir_spec.rb
|
541
|
+
- spec/unit/mb/core_ext/enumerable_spec.rb
|
542
|
+
- spec/unit/mb/core_ext/file_spec.rb
|
543
|
+
- spec/unit/mb/core_ext/signal_spec.rb
|
544
|
+
- spec/unit/mb/environment_manager_spec.rb
|
545
|
+
- spec/unit/mb/error_handler_spec.rb
|
546
|
+
- spec/unit/mb/errors_spec.rb
|
547
|
+
- spec/unit/mb/file_system/tempfile_spec.rb
|
548
|
+
- spec/unit/mb/file_system_spec.rb
|
549
|
+
- spec/unit/mb/gear_spec.rb
|
550
|
+
- spec/unit/mb/gears/dynamic_service_spec.rb
|
551
|
+
- spec/unit/mb/gears/jmx/action_spec.rb
|
552
|
+
- spec/unit/mb/gears/jmx_spec.rb
|
553
|
+
- spec/unit/mb/gears/mysql/action_spec.rb
|
554
|
+
- spec/unit/mb/gears/mysql_spec.rb
|
555
|
+
- spec/unit/mb/gears/service/action_runner_spec.rb
|
556
|
+
- spec/unit/mb/gears/service/action_spec.rb
|
557
|
+
- spec/unit/mb/gears/service_spec.rb
|
558
|
+
- spec/unit/mb/group_spec.rb
|
559
|
+
- spec/unit/mb/job_manager_spec.rb
|
560
|
+
- spec/unit/mb/job_record_spec.rb
|
561
|
+
- spec/unit/mb/job_spec.rb
|
562
|
+
- spec/unit/mb/locks_manager_spec.rb
|
563
|
+
- spec/unit/mb/logging_spec.rb
|
564
|
+
- spec/unit/mb/manifest_spec.rb
|
565
|
+
- spec/unit/mb/mixin/attribute_setting_spec.rb
|
566
|
+
- spec/unit/mb/mixin/coded_exit_spec.rb
|
567
|
+
- spec/unit/mb/mixin/locks_spec.rb
|
568
|
+
- spec/unit/mb/mixin/services_spec.rb
|
569
|
+
- spec/unit/mb/node_filter_spec.rb
|
570
|
+
- spec/unit/mb/node_querier_spec.rb
|
571
|
+
- spec/unit/mb/plugin_manager_spec.rb
|
572
|
+
- spec/unit/mb/plugin_spec.rb
|
573
|
+
- spec/unit/mb/provisioner/manager_spec.rb
|
574
|
+
- spec/unit/mb/provisioner/manifest_spec.rb
|
575
|
+
- spec/unit/mb/provisioner/provision_data_spec.rb
|
576
|
+
- spec/unit/mb/provisioner_spec.rb
|
577
|
+
- spec/unit/mb/provisioners/aws_spec.rb
|
578
|
+
- spec/unit/mb/provisioners/environment_factory_spec.rb
|
579
|
+
- spec/unit/mb/rest_gateway_spec.rb
|
580
|
+
- spec/unit/mb/ridley_ext/cookbook_object_spec.rb
|
581
|
+
- spec/unit/mb/srv_ctl_spec.rb
|
582
|
+
- spec/unit/mb/upgrade/manager_spec.rb
|
583
|
+
- spec/unit/mb/upgrade/worker_spec.rb
|
584
|
+
- spec/unit/motherbrain_spec.rb
|
585
|
+
- templates/bootstrap.json
|
586
|
+
- templates/motherbrain.rb
|
29
587
|
homepage: https://github.com/RiotGames/motherbrain
|
30
588
|
licenses:
|
31
589
|
- Apache 2.0
|
590
|
+
metadata: {}
|
32
591
|
post_install_message:
|
33
592
|
rdoc_options: []
|
34
593
|
require_paths:
|
35
594
|
- lib
|
36
595
|
required_ruby_version: !ruby/object:Gem::Requirement
|
37
|
-
none: false
|
38
596
|
requirements:
|
39
|
-
- -
|
597
|
+
- - '>='
|
40
598
|
- !ruby/object:Gem::Version
|
41
599
|
version: 1.9.3
|
42
600
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
|
-
none: false
|
44
601
|
requirements:
|
45
|
-
- -
|
602
|
+
- - '>='
|
46
603
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
604
|
+
version: '0'
|
48
605
|
requirements: []
|
49
606
|
rubyforge_project:
|
50
|
-
rubygems_version:
|
607
|
+
rubygems_version: 2.0.14
|
51
608
|
signing_key:
|
52
|
-
specification_version:
|
609
|
+
specification_version: 4
|
53
610
|
summary: An orchestrator for Chef
|
54
|
-
test_files:
|
611
|
+
test_files:
|
612
|
+
- features/cli/bootstrap_command/configurable_scripts.feature
|
613
|
+
- features/cli/configure_command.feature
|
614
|
+
- features/cli/environment_command/create_command.feature
|
615
|
+
- features/cli/environment_command/destroy_command.feature
|
616
|
+
- features/cli/environment_command/from_command.feature
|
617
|
+
- features/cli/environment_command/list_command.feature
|
618
|
+
- features/cli/node_limiting.feature
|
619
|
+
- features/cli/plugin_command/list_command.feature
|
620
|
+
- features/cli/service_command/service_command.feature
|
621
|
+
- features/cli/template_command.feature
|
622
|
+
- features/cli/validate_config.feature
|
623
|
+
- features/step_definitions/bootstrap_steps.rb
|
624
|
+
- features/step_definitions/chef_server_steps.rb
|
625
|
+
- features/step_definitions/configuration_steps.rb
|
626
|
+
- features/step_definitions/core_cli_steps.rb
|
627
|
+
- features/step_definitions/environment_steps.rb
|
628
|
+
- features/step_definitions/node_steps.rb
|
629
|
+
- features/step_definitions/plugin_steps.rb
|
630
|
+
- features/step_definitions/template_steps.rb
|
631
|
+
- features/support/env.rb
|
632
|
+
- spec/fixtures/cb_metadata.json
|
633
|
+
- spec/fixtures/cb_metadata.rb
|
634
|
+
- spec/fixtures/fake_id_rsa
|
635
|
+
- spec/fixtures/fake_key.pem
|
636
|
+
- spec/fixtures/myface-0.1.0/metadata.rb
|
637
|
+
- spec/fixtures/myface-0.1.0/motherbrain.rb
|
638
|
+
- spec/fixtures/test_env.json
|
639
|
+
- spec/spec_helper.rb
|
640
|
+
- spec/support/actor_mocking.rb
|
641
|
+
- spec/support/berkshelf.rb
|
642
|
+
- spec/support/chef_server.rb
|
643
|
+
- spec/support/doubles.rb
|
644
|
+
- spec/support/klass.rb
|
645
|
+
- spec/support/matchers/each.rb
|
646
|
+
- spec/support/matchers/error_codes.rb
|
647
|
+
- spec/support/matchers/exit_codes.rb
|
648
|
+
- spec/support/matchers/jobs.rb
|
649
|
+
- spec/support/spec_helpers.rb
|
650
|
+
- spec/unit/mb/api/application_spec.rb
|
651
|
+
- spec/unit/mb/api/helpers_spec.rb
|
652
|
+
- spec/unit/mb/api/v1/config_endpoint_spec.rb
|
653
|
+
- spec/unit/mb/api/v1/environments_endpoint_spec.rb
|
654
|
+
- spec/unit/mb/api/v1/jobs_endpoint_spec.rb
|
655
|
+
- spec/unit/mb/api/v1/plugins_endpoint_spec.rb
|
656
|
+
- spec/unit/mb/api/v1_spec.rb
|
657
|
+
- spec/unit/mb/api/validators/sem_ver_spec.rb
|
658
|
+
- spec/unit/mb/application_spec.rb
|
659
|
+
- spec/unit/mb/berkshelf_spec.rb
|
660
|
+
- spec/unit/mb/bootstrap/manager_spec.rb
|
661
|
+
- spec/unit/mb/bootstrap/manifest_spec.rb
|
662
|
+
- spec/unit/mb/bootstrap/routine_spec.rb
|
663
|
+
- spec/unit/mb/bootstrap/template_spec.rb
|
664
|
+
- spec/unit/mb/bootstrap/worker_spec.rb
|
665
|
+
- spec/unit/mb/chef/config_spec.rb
|
666
|
+
- spec/unit/mb/chef/run_list_item_spec.rb
|
667
|
+
- spec/unit/mb/chef_mutex_spec.rb
|
668
|
+
- spec/unit/mb/clean_room_base_spec.rb
|
669
|
+
- spec/unit/mb/cli/base_spec.rb
|
670
|
+
- spec/unit/mb/cli/shell/basic_spec.rb
|
671
|
+
- spec/unit/mb/cli/shell/color_spec.rb
|
672
|
+
- spec/unit/mb/cli/shell/ext_spec.rb
|
673
|
+
- spec/unit/mb/cli/shell_spec.rb
|
674
|
+
- spec/unit/mb/cli/sub_command/base_spec.rb
|
675
|
+
- spec/unit/mb/cli/sub_command/component_spec.rb
|
676
|
+
- spec/unit/mb/cli/sub_command/plugin_spec.rb
|
677
|
+
- spec/unit/mb/cli/sub_command_spec.rb
|
678
|
+
- spec/unit/mb/cli/ui.rb
|
679
|
+
- spec/unit/mb/cli_client_spec.rb
|
680
|
+
- spec/unit/mb/cli_gateway_spec.rb
|
681
|
+
- spec/unit/mb/command_invoker/worker_spec.rb
|
682
|
+
- spec/unit/mb/command_invoker_spec.rb
|
683
|
+
- spec/unit/mb/command_runner_spec.rb
|
684
|
+
- spec/unit/mb/command_spec.rb
|
685
|
+
- spec/unit/mb/component_spec.rb
|
686
|
+
- spec/unit/mb/config_manager_spec.rb
|
687
|
+
- spec/unit/mb/config_spec.rb
|
688
|
+
- spec/unit/mb/cookbook_metadata_spec.rb
|
689
|
+
- spec/unit/mb/core_ext/dir_spec.rb
|
690
|
+
- spec/unit/mb/core_ext/enumerable_spec.rb
|
691
|
+
- spec/unit/mb/core_ext/file_spec.rb
|
692
|
+
- spec/unit/mb/core_ext/signal_spec.rb
|
693
|
+
- spec/unit/mb/environment_manager_spec.rb
|
694
|
+
- spec/unit/mb/error_handler_spec.rb
|
695
|
+
- spec/unit/mb/errors_spec.rb
|
696
|
+
- spec/unit/mb/file_system/tempfile_spec.rb
|
697
|
+
- spec/unit/mb/file_system_spec.rb
|
698
|
+
- spec/unit/mb/gear_spec.rb
|
699
|
+
- spec/unit/mb/gears/dynamic_service_spec.rb
|
700
|
+
- spec/unit/mb/gears/jmx/action_spec.rb
|
701
|
+
- spec/unit/mb/gears/jmx_spec.rb
|
702
|
+
- spec/unit/mb/gears/mysql/action_spec.rb
|
703
|
+
- spec/unit/mb/gears/mysql_spec.rb
|
704
|
+
- spec/unit/mb/gears/service/action_runner_spec.rb
|
705
|
+
- spec/unit/mb/gears/service/action_spec.rb
|
706
|
+
- spec/unit/mb/gears/service_spec.rb
|
707
|
+
- spec/unit/mb/group_spec.rb
|
708
|
+
- spec/unit/mb/job_manager_spec.rb
|
709
|
+
- spec/unit/mb/job_record_spec.rb
|
710
|
+
- spec/unit/mb/job_spec.rb
|
711
|
+
- spec/unit/mb/locks_manager_spec.rb
|
712
|
+
- spec/unit/mb/logging_spec.rb
|
713
|
+
- spec/unit/mb/manifest_spec.rb
|
714
|
+
- spec/unit/mb/mixin/attribute_setting_spec.rb
|
715
|
+
- spec/unit/mb/mixin/coded_exit_spec.rb
|
716
|
+
- spec/unit/mb/mixin/locks_spec.rb
|
717
|
+
- spec/unit/mb/mixin/services_spec.rb
|
718
|
+
- spec/unit/mb/node_filter_spec.rb
|
719
|
+
- spec/unit/mb/node_querier_spec.rb
|
720
|
+
- spec/unit/mb/plugin_manager_spec.rb
|
721
|
+
- spec/unit/mb/plugin_spec.rb
|
722
|
+
- spec/unit/mb/provisioner/manager_spec.rb
|
723
|
+
- spec/unit/mb/provisioner/manifest_spec.rb
|
724
|
+
- spec/unit/mb/provisioner/provision_data_spec.rb
|
725
|
+
- spec/unit/mb/provisioner_spec.rb
|
726
|
+
- spec/unit/mb/provisioners/aws_spec.rb
|
727
|
+
- spec/unit/mb/provisioners/environment_factory_spec.rb
|
728
|
+
- spec/unit/mb/rest_gateway_spec.rb
|
729
|
+
- spec/unit/mb/ridley_ext/cookbook_object_spec.rb
|
730
|
+
- spec/unit/mb/srv_ctl_spec.rb
|
731
|
+
- spec/unit/mb/upgrade/manager_spec.rb
|
732
|
+
- spec/unit/mb/upgrade/worker_spec.rb
|
733
|
+
- spec/unit/motherbrain_spec.rb
|
55
734
|
has_rdoc:
|