cloudbox-server 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +3 -0
- data/README.md +17 -0
- data/bin/cb-cluster-allocate +5 -0
- data/bin/cb-cluster-create +5 -0
- data/bin/cb-cluster-delete +5 -0
- data/bin/cb-cluster-desallocate +5 -0
- data/bin/cb-cluster-info +5 -0
- data/bin/cb-cluster-ls +5 -0
- data/bin/cb-node-destroy +5 -0
- data/bin/cb-node-detach +6 -0
- data/bin/cb-node-info +5 -0
- data/bin/cb-node-install +5 -0
- data/bin/cb-node-ls +5 -0
- data/bin/cb-service-add +5 -0
- data/bin/cb-service-component-add +5 -0
- data/bin/cb-service-component-delete +5 -0
- data/bin/cb-service-component-detach +5 -0
- data/bin/cb-service-conf-apply +5 -0
- data/bin/cb-service-conf-create +5 -0
- data/bin/cb-service-conf-get +5 -0
- data/bin/cb-service-conf-ls +5 -0
- data/bin/cb-service-follow-request +5 -0
- data/bin/cb-service-info +5 -0
- data/bin/cb-service-install +5 -0
- data/bin/cb-service-ls +5 -0
- data/bin/cb-service-start +5 -0
- data/bin/cb-service-stop +5 -0
- data/lib/command.rb +61 -0
- data/lib/command/ambari_add_host.rb +19 -0
- data/lib/command/ambari_cluster_command.rb +26 -0
- data/lib/command/ambari_cluster_component_command.rb +26 -0
- data/lib/command/ambari_cluster_component_host_command.rb +26 -0
- data/lib/command/ambari_cluster_create.rb +19 -0
- data/lib/command/ambari_cluster_host_command.rb +27 -0
- data/lib/command/ambari_cluster_list.rb +20 -0
- data/lib/command/ambari_cluster_service_command.rb +26 -0
- data/lib/command/ambari_cluster_service_host_command.rb +26 -0
- data/lib/command/ambari_command.rb +21 -0
- data/lib/command/ambari_create_cluster_configuration.rb +39 -0
- data/lib/command/ambari_get_cluster_configuration.rb +29 -0
- data/lib/command/ambari_host_list.rb +19 -0
- data/lib/command/ambari_install_cluster.rb +19 -0
- data/lib/command/ambari_install_component.rb +19 -0
- data/lib/command/ambari_install_host.rb +19 -0
- data/lib/command/ambari_install_host_component.rb +19 -0
- data/lib/command/ambari_install_host_components.rb +19 -0
- data/lib/command/ambari_install_service_components.rb +19 -0
- data/lib/command/ambari_service_add.rb +27 -0
- data/lib/command/ambari_service_component_add.rb +21 -0
- data/lib/command/ambari_service_component_delete.rb +21 -0
- data/lib/command/ambari_service_component_detach.rb +21 -0
- data/lib/command/ambari_service_component_info.rb +29 -0
- data/lib/command/ambari_service_conf_apply.rb +31 -0
- data/lib/command/ambari_service_conf_ls.rb +30 -0
- data/lib/command/ambari_service_delete.rb +21 -0
- data/lib/command/ambari_service_info.rb +20 -0
- data/lib/command/ambari_service_list.rb +21 -0
- data/lib/command/ambari_start_cluster.rb +19 -0
- data/lib/command/ambari_start_component.rb +19 -0
- data/lib/command/ambari_start_host.rb +19 -0
- data/lib/command/ambari_start_host_component.rb +19 -0
- data/lib/command/ambari_start_host_components.rb +19 -0
- data/lib/command/ambari_start_service_components.rb +19 -0
- data/lib/command/ambari_stop_cluster.rb +19 -0
- data/lib/command/ambari_stop_component.rb +19 -0
- data/lib/command/ambari_stop_host.rb +19 -0
- data/lib/command/ambari_stop_host_component.rb +19 -0
- data/lib/command/ambari_stop_host_components.rb +19 -0
- data/lib/command/ambari_stop_service_components.rb +19 -0
- data/lib/command/basic_command.rb +44 -0
- data/lib/command/cluster_create.rb +50 -0
- data/lib/command/cluster_delete.rb +30 -0
- data/lib/command/cluster_info.rb +30 -0
- data/lib/command/cluster_ls.rb +30 -0
- data/lib/command/crowbar_cluster_allocate.rb +42 -0
- data/lib/command/crowbar_command.rb +30 -0
- data/lib/command/crowbar_get_barclamps_list.rb +30 -0
- data/lib/command/crowbar_node_command.rb +21 -0
- data/lib/command/crowbar_node_list.rb +40 -0
- data/lib/command/crowbar_vcluster_command.rb +20 -0
- data/lib/command/filter.rb +15 -0
- data/lib/command/node_destroy.rb +58 -0
- data/lib/command/node_detach.rb +44 -0
- data/lib/command/node_info.rb +27 -0
- data/lib/command/node_install.rb +46 -0
- data/lib/command/node_reinstall.rb +44 -0
- data/lib/command/state_filter.rb +16 -0
- data/lib/common.rb +11 -0
- data/lib/common/cb-lib-node-erase-hard-disk.sh +29 -0
- data/lib/common/cloudbox_exceptions.rb +631 -0
- data/lib/common/cloudbox_logger.rb +81 -0
- data/lib/common/cloudbox_logger_mock.rb +43 -0
- data/lib/common/color.rb +267 -0
- data/lib/common/config_properties.rb +2027 -0
- data/lib/common/services_description.rb +192 -0
- data/lib/exec.rb +35 -0
- data/lib/exec/check_parameter.rb +208 -0
- data/lib/exec/cluster_allocate.rb +163 -0
- data/lib/exec/cluster_create.rb +99 -0
- data/lib/exec/cluster_delete.rb +38 -0
- data/lib/exec/cluster_desallocate.rb +37 -0
- data/lib/exec/cluster_info.rb +177 -0
- data/lib/exec/cluster_ls.rb +150 -0
- data/lib/exec/command_option.rb +222 -0
- data/lib/exec/executable_command.rb +194 -0
- data/lib/exec/node_destroy.rb +101 -0
- data/lib/exec/node_detach.rb +98 -0
- data/lib/exec/node_info.rb +280 -0
- data/lib/exec/node_install.rb +234 -0
- data/lib/exec/node_ls.rb +160 -0
- data/lib/exec/service_add.rb +224 -0
- data/lib/exec/service_component_add.rb +39 -0
- data/lib/exec/service_component_delete.rb +37 -0
- data/lib/exec/service_component_detach.rb +37 -0
- data/lib/exec/service_conf_apply.rb +57 -0
- data/lib/exec/service_conf_create.rb +80 -0
- data/lib/exec/service_conf_get.rb +165 -0
- data/lib/exec/service_conf_ls.rb +103 -0
- data/lib/exec/service_follow_request.rb +49 -0
- data/lib/exec/service_info.rb +346 -0
- data/lib/exec/service_install.rb +87 -0
- data/lib/exec/service_ls.rb +124 -0
- data/lib/exec/service_start.rb +110 -0
- data/lib/exec/service_stop.rb +112 -0
- data/lib/receiver.rb +14 -0
- data/lib/receiver/ambari_receiver.rb +812 -0
- data/lib/receiver/ambari_rest_api_connector.rb +599 -0
- data/lib/receiver/basic_receiver.rb +28 -0
- data/lib/receiver/connector.rb +28 -0
- data/lib/receiver/crowbar_receiver.rb +588 -0
- data/lib/receiver/crowbar_rest_api_connector.rb +518 -0
- data/lib/receiver/crowbar_shell_api.rb +643 -0
- data/lib/receiver/rest_api_connector.rb +275 -0
- data/resources/ambari-configurations/HBASE/default_hbase-site +33 -0
- data/resources/ambari-configurations/HDFS/default_hdfs-site +49 -0
- data/resources/ambari-configurations/HIVE/default_hive-site +33 -0
- data/resources/ambari-configurations/MAPREDUCE/default_mapred-site +72 -0
- data/resources/ambari-configurations/OOZIE/default_oozie-site +28 -0
- data/resources/ambari-configurations/WEBHCAT/default_webhcat-site +18 -0
- data/resources/ambari-configurations/ZOOKEEPER/default_zookeeper-site +8 -0
- data/resources/ambari-configurations/default_core-site +22 -0
- data/resources/ambari-configurations/default_global +141 -0
- data/resources/cloudbox-server.conf +10 -0
- data/spec/common/services_description.rb +130 -0
- data/spec/exec/check_parameter.rb +152 -0
- data/spec/exec/command_option_spec.rb +97 -0
- metadata +328 -0
@@ -0,0 +1,97 @@
|
|
1
|
+
# This file is part of cloudbox-server project
|
2
|
+
# @author tmarmin (INGENSI)
|
3
|
+
|
4
|
+
require File.dirname(__FILE__) + '/../../lib/exec'
|
5
|
+
require "rspec"
|
6
|
+
|
7
|
+
module Spec
|
8
|
+
module Exec
|
9
|
+
module CheckParam
|
10
|
+
def alwaysTrueCheckParam(str)
|
11
|
+
return true
|
12
|
+
end
|
13
|
+
|
14
|
+
def alwaysFalseCheckParam(str)
|
15
|
+
return false
|
16
|
+
end
|
17
|
+
|
18
|
+
def tooArgsCheckParam(str1, str2)
|
19
|
+
return true
|
20
|
+
end
|
21
|
+
|
22
|
+
def okCheckParamIfLengthEq5(str)
|
23
|
+
return str.length == 5
|
24
|
+
end
|
25
|
+
|
26
|
+
def okCheckParamIfLengthLt10(str)
|
27
|
+
return str.length > 10
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
def addSomeOptions(opts)
|
32
|
+
opts.add_option("n", "name", "a five length name", true, true, method(:okCheckParamIfLengthEq5))
|
33
|
+
opts.addOption("v", "verbose", "Display more text", false, false)
|
34
|
+
opts.addOption("f", "force", "force process", false, false)
|
35
|
+
opts.addOption("o", "output", "output fake file. Has to be > 10 (length)", false, true, method(:okCheckParamIfLengthLt10))
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
include Spec::Exec
|
41
|
+
include Spec::Exec::CheckParam
|
42
|
+
|
43
|
+
describe Exec::CommandOption::Option do
|
44
|
+
|
45
|
+
it "should not raise any exception if all attributes are defined" do
|
46
|
+
Exec::CommandOption::Option.new("h", "help", "ma description", true, false, nil)
|
47
|
+
Exec::CommandOption::Option.new("h", "help", "ma description", true, true, nil)
|
48
|
+
Exec::CommandOption::Option.new("h", "help", "ma description", true, true, method(:alwaysTrueCheckParam))
|
49
|
+
end
|
50
|
+
|
51
|
+
it "should raise an exception check param method is not valid" do
|
52
|
+
expect { Exec::CommandOption::Option.new("h", "help", "ma description", true, true, method(:tooArgsCheckParam)) }.to raise_error(NameError)
|
53
|
+
end
|
54
|
+
|
55
|
+
it "should raise an exception if I forget short, long or description" do
|
56
|
+
expect { Exec::CommandOption::Option.new(nil, nil, nil, true, false, nil) }.to raise_error(NameError)
|
57
|
+
expect { Exec::CommandOption::Option.new("", nil, nil, true, false, nil) }.to raise_error(NameError)
|
58
|
+
expect { Exec::CommandOption::Option.new("h", nil, nil, true, false, nil) }.to raise_error(NameError)
|
59
|
+
expect { Exec::CommandOption::Option.new(nil, "", nil, true, false, nil) }.to raise_error(NameError)
|
60
|
+
expect { Exec::CommandOption::Option.new("", "", nil, true, false, nil) }.to raise_error(NameError)
|
61
|
+
expect { Exec::CommandOption::Option.new("h", "", nil, true, false, nil) }.to raise_error(NameError)
|
62
|
+
expect { Exec::CommandOption::Option.new(nil, "help", nil, true, false, nil) }.to raise_error(NameError)
|
63
|
+
expect { Exec::CommandOption::Option.new("", "help", nil, true, false, nil) }.to raise_error(NameError)
|
64
|
+
expect { Exec::CommandOption::Option.new("h", "help", nil, true, false, nil) }.to raise_error(NameError)
|
65
|
+
expect { Exec::CommandOption::Option.new(nil, nil, "", true, false, nil) }.to raise_error(NameError)
|
66
|
+
expect { Exec::CommandOption::Option.new("", nil, "", true, false, nil) }.to raise_error(NameError)
|
67
|
+
expect { Exec::CommandOption::Option.new("h", nil, "", true, false, nil) }.to raise_error(NameError)
|
68
|
+
expect { Exec::CommandOption::Option.new(nil, "", "", true, false, nil) }.to raise_error(NameError)
|
69
|
+
expect { Exec::CommandOption::Option.new("", "", "", true, false, nil) }.to raise_error(NameError)
|
70
|
+
expect { Exec::CommandOption::Option.new("h", "", "", true, false, nil) }.to raise_error(NameError)
|
71
|
+
expect { Exec::CommandOption::Option.new(nil, "help", "", true, false, nil) }.to raise_error(NameError)
|
72
|
+
expect { Exec::CommandOption::Option.new("", "help", "", true, false, nil) }.to raise_error(NameError)
|
73
|
+
expect { Exec::CommandOption::Option.new("h", "help", "", true, false, nil) }.to raise_error(NameError)
|
74
|
+
expect { Exec::CommandOption::Option.new(nil, nil, "my description", true, false, nil) }.to raise_error(NameError)
|
75
|
+
expect { Exec::CommandOption::Option.new("", nil, "my description", true, false, nil) }.to raise_error(NameError)
|
76
|
+
expect { Exec::CommandOption::Option.new("h", nil, "my description", true, false, nil) }.to raise_error(NameError)
|
77
|
+
expect { Exec::CommandOption::Option.new(nil, "", "my description", true, false, nil) }.to raise_error(NameError)
|
78
|
+
expect { Exec::CommandOption::Option.new("", "", "my description", true, false, nil) }.to raise_error(NameError)
|
79
|
+
expect { Exec::CommandOption::Option.new("h", "", "my description", true, false, nil) }.to raise_error(NameError)
|
80
|
+
expect { Exec::CommandOption::Option.new(nil, "help", "my description", true, false, nil) }.to raise_error(NameError)
|
81
|
+
expect { Exec::CommandOption::Option.new("", "help", "my description", true, false, nil) }.to raise_error(NameError)
|
82
|
+
end
|
83
|
+
|
84
|
+
it "should raise an exception if short attribute length is not eq to 1" do
|
85
|
+
expect { Exec::CommandOption::Option.new("ab", "help", "my description", true, false, nil) }.to raise_error(NameError)
|
86
|
+
end
|
87
|
+
|
88
|
+
it "should validate option if true is returned by param check method" do
|
89
|
+
opt = Exec::CommandOption::Option.new("n", "name", "a 5 long option", true, true, method(:okCheckParamIfLengthEq5))
|
90
|
+
opt.valid_value?("12345")[0].should eql true
|
91
|
+
end
|
92
|
+
|
93
|
+
it "should not validate option if false is returned by param check method" do
|
94
|
+
opt = Exec::CommandOption::Option.new("n", "name", "a 5 long option", true, true, method(:okCheckParamIfLengthEq5))
|
95
|
+
opt.valid_value?("123456")[0].should eql false
|
96
|
+
end
|
97
|
+
end
|
metadata
ADDED
@@ -0,0 +1,328 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cloudbox-server
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Antoine Boudot
|
14
|
+
- Thomas Noguer
|
15
|
+
- Mathieu Bretaud
|
16
|
+
- Thibaut Marmin
|
17
|
+
autorequire:
|
18
|
+
bindir: bin
|
19
|
+
cert_chain: []
|
20
|
+
|
21
|
+
date: 2013-12-01 00:00:00 Z
|
22
|
+
dependencies:
|
23
|
+
- !ruby/object:Gem::Dependency
|
24
|
+
name: json
|
25
|
+
prerelease: false
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
hash: 3
|
32
|
+
segments:
|
33
|
+
- 0
|
34
|
+
version: "0"
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: logger
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 3
|
46
|
+
segments:
|
47
|
+
- 0
|
48
|
+
version: "0"
|
49
|
+
type: :runtime
|
50
|
+
version_requirements: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: ipaddress
|
53
|
+
prerelease: false
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
hash: 63
|
60
|
+
segments:
|
61
|
+
- 0
|
62
|
+
- 8
|
63
|
+
- 0
|
64
|
+
version: 0.8.0
|
65
|
+
type: :runtime
|
66
|
+
version_requirements: *id003
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: net-http-digest_auth
|
69
|
+
prerelease: false
|
70
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
hash: 7
|
76
|
+
segments:
|
77
|
+
- 1
|
78
|
+
- 4
|
79
|
+
version: "1.4"
|
80
|
+
type: :runtime
|
81
|
+
version_requirements: *id004
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: net-scp
|
84
|
+
prerelease: false
|
85
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
86
|
+
none: false
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
hash: 23
|
91
|
+
segments:
|
92
|
+
- 1
|
93
|
+
- 1
|
94
|
+
- 2
|
95
|
+
version: 1.1.2
|
96
|
+
type: :runtime
|
97
|
+
version_requirements: *id005
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: yard
|
100
|
+
prerelease: false
|
101
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
102
|
+
none: false
|
103
|
+
requirements:
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
hash: 15
|
107
|
+
segments:
|
108
|
+
- 0
|
109
|
+
- 5
|
110
|
+
- 2
|
111
|
+
version: 0.5.2
|
112
|
+
type: :runtime
|
113
|
+
version_requirements: *id006
|
114
|
+
description: A tool suite allowing the management a Cloudbox server.
|
115
|
+
email: contact@ingensi.com
|
116
|
+
executables:
|
117
|
+
- cb-cluster-allocate
|
118
|
+
- cb-cluster-create
|
119
|
+
- cb-cluster-delete
|
120
|
+
- cb-cluster-desallocate
|
121
|
+
- cb-cluster-info
|
122
|
+
- cb-cluster-ls
|
123
|
+
- cb-node-destroy
|
124
|
+
- cb-node-detach
|
125
|
+
- cb-node-info
|
126
|
+
- cb-node-install
|
127
|
+
- cb-node-ls
|
128
|
+
- cb-service-add
|
129
|
+
- cb-service-component-add
|
130
|
+
- cb-service-component-delete
|
131
|
+
- cb-service-component-detach
|
132
|
+
- cb-service-follow-request
|
133
|
+
- cb-service-info
|
134
|
+
- cb-service-install
|
135
|
+
- cb-service-ls
|
136
|
+
- cb-service-start
|
137
|
+
- cb-service-stop
|
138
|
+
- cb-service-conf-apply
|
139
|
+
- cb-service-conf-create
|
140
|
+
- cb-service-conf-get
|
141
|
+
- cb-service-conf-ls
|
142
|
+
extensions: []
|
143
|
+
|
144
|
+
extra_rdoc_files: []
|
145
|
+
|
146
|
+
files:
|
147
|
+
- bin/cb-node-install
|
148
|
+
- bin/cb-cluster-desallocate
|
149
|
+
- bin/cb-cluster-allocate
|
150
|
+
- bin/cb-service-install
|
151
|
+
- bin/cb-cluster-delete
|
152
|
+
- bin/cb-service-info
|
153
|
+
- bin/cb-service-ls
|
154
|
+
- bin/cb-cluster-info
|
155
|
+
- bin/cb-service-follow-request
|
156
|
+
- bin/cb-node-info
|
157
|
+
- bin/cb-node-ls
|
158
|
+
- bin/cb-node-destroy
|
159
|
+
- bin/cb-service-component-detach
|
160
|
+
- bin/cb-service-start
|
161
|
+
- bin/cb-node-detach
|
162
|
+
- bin/cb-service-component-delete
|
163
|
+
- bin/cb-cluster-ls
|
164
|
+
- bin/cb-service-conf-get
|
165
|
+
- bin/cb-service-conf-create
|
166
|
+
- bin/cb-service-add
|
167
|
+
- bin/cb-cluster-create
|
168
|
+
- bin/cb-service-stop
|
169
|
+
- bin/cb-service-component-add
|
170
|
+
- bin/cb-service-conf-ls
|
171
|
+
- bin/cb-service-conf-apply
|
172
|
+
- lib/common/cloudbox_exceptions.rb
|
173
|
+
- lib/common/config_properties.rb
|
174
|
+
- lib/common/cloudbox_logger_mock.rb
|
175
|
+
- lib/common/cb-lib-node-erase-hard-disk.sh
|
176
|
+
- lib/common/color.rb
|
177
|
+
- lib/common/cloudbox_logger.rb
|
178
|
+
- lib/common/services_description.rb
|
179
|
+
- lib/command/ambari_stop_host_components.rb
|
180
|
+
- lib/command/ambari_install_cluster.rb
|
181
|
+
- lib/command/ambari_start_host.rb
|
182
|
+
- lib/command/ambari_start_host_component.rb
|
183
|
+
- lib/command/ambari_cluster_list.rb
|
184
|
+
- lib/command/ambari_service_delete.rb
|
185
|
+
- lib/command/ambari_cluster_host_command.rb
|
186
|
+
- lib/command/node_reinstall.rb
|
187
|
+
- lib/command/basic_command.rb
|
188
|
+
- lib/command/crowbar_node_command.rb
|
189
|
+
- lib/command/ambari_install_host_components.rb
|
190
|
+
- lib/command/ambari_get_cluster_configuration.rb
|
191
|
+
- lib/command/ambari_install_component.rb
|
192
|
+
- lib/command/ambari_start_service_components.rb
|
193
|
+
- lib/command/ambari_cluster_service_command.rb
|
194
|
+
- lib/command/ambari_service_component_add.rb
|
195
|
+
- lib/command/ambari_host_list.rb
|
196
|
+
- lib/command/ambari_service_component_info.rb
|
197
|
+
- lib/command/node_destroy.rb
|
198
|
+
- lib/command/ambari_service_component_detach.rb
|
199
|
+
- lib/command/ambari_cluster_service_host_command.rb
|
200
|
+
- lib/command/ambari_stop_service_components.rb
|
201
|
+
- lib/command/ambari_start_cluster.rb
|
202
|
+
- lib/command/ambari_cluster_command.rb
|
203
|
+
- lib/command/ambari_cluster_create.rb
|
204
|
+
- lib/command/cluster_info.rb
|
205
|
+
- lib/command/ambari_command.rb
|
206
|
+
- lib/command/cluster_create.rb
|
207
|
+
- lib/command/node_install.rb
|
208
|
+
- lib/command/cluster_ls.rb
|
209
|
+
- lib/command/ambari_stop_cluster.rb
|
210
|
+
- lib/command/ambari_install_host.rb
|
211
|
+
- lib/command/ambari_stop_component.rb
|
212
|
+
- lib/command/ambari_start_component.rb
|
213
|
+
- lib/command/ambari_cluster_component_host_command.rb
|
214
|
+
- lib/command/ambari_service_conf_ls.rb
|
215
|
+
- lib/command/node_detach.rb
|
216
|
+
- lib/command/cluster_delete.rb
|
217
|
+
- lib/command/crowbar_cluster_allocate.rb
|
218
|
+
- lib/command/crowbar_command.rb
|
219
|
+
- lib/command/ambari_start_host_components.rb
|
220
|
+
- lib/command/state_filter.rb
|
221
|
+
- lib/command/node_info.rb
|
222
|
+
- lib/command/crowbar_vcluster_command.rb
|
223
|
+
- lib/command/filter.rb
|
224
|
+
- lib/command/ambari_install_service_components.rb
|
225
|
+
- lib/command/ambari_add_host.rb
|
226
|
+
- lib/command/ambari_service_list.rb
|
227
|
+
- lib/command/crowbar_get_barclamps_list.rb
|
228
|
+
- lib/command/ambari_service_component_delete.rb
|
229
|
+
- lib/command/ambari_service_conf_apply.rb
|
230
|
+
- lib/command/ambari_create_cluster_configuration.rb
|
231
|
+
- lib/command/crowbar_node_list.rb
|
232
|
+
- lib/command/ambari_install_host_component.rb
|
233
|
+
- lib/command/ambari_cluster_component_command.rb
|
234
|
+
- lib/command/ambari_service_add.rb
|
235
|
+
- lib/command/ambari_stop_host.rb
|
236
|
+
- lib/command/ambari_service_info.rb
|
237
|
+
- lib/command/ambari_stop_host_component.rb
|
238
|
+
- lib/command.rb
|
239
|
+
- lib/receiver.rb
|
240
|
+
- lib/exec/service_conf_ls.rb
|
241
|
+
- lib/exec/node_ls.rb
|
242
|
+
- lib/exec/service_install.rb
|
243
|
+
- lib/exec/service_conf_create.rb
|
244
|
+
- lib/exec/service_conf_apply.rb
|
245
|
+
- lib/exec/service_component_add.rb
|
246
|
+
- lib/exec/cluster_allocate.rb
|
247
|
+
- lib/exec/service_follow_request.rb
|
248
|
+
- lib/exec/node_destroy.rb
|
249
|
+
- lib/exec/check_parameter.rb
|
250
|
+
- lib/exec/service_info.rb
|
251
|
+
- lib/exec/service_component_delete.rb
|
252
|
+
- lib/exec/cluster_info.rb
|
253
|
+
- lib/exec/cluster_create.rb
|
254
|
+
- lib/exec/node_install.rb
|
255
|
+
- lib/exec/cluster_ls.rb
|
256
|
+
- lib/exec/cluster_desallocate.rb
|
257
|
+
- lib/exec/service_add.rb
|
258
|
+
- lib/exec/node_detach.rb
|
259
|
+
- lib/exec/cluster_delete.rb
|
260
|
+
- lib/exec/service_start.rb
|
261
|
+
- lib/exec/service_conf_get.rb
|
262
|
+
- lib/exec/executable_command.rb
|
263
|
+
- lib/exec/service_stop.rb
|
264
|
+
- lib/exec/node_info.rb
|
265
|
+
- lib/exec/service_ls.rb
|
266
|
+
- lib/exec/command_option.rb
|
267
|
+
- lib/exec/service_component_detach.rb
|
268
|
+
- lib/receiver/crowbar_shell_api.rb
|
269
|
+
- lib/receiver/crowbar_rest_api_connector.rb
|
270
|
+
- lib/receiver/ambari_rest_api_connector.rb
|
271
|
+
- lib/receiver/crowbar_receiver.rb
|
272
|
+
- lib/receiver/rest_api_connector.rb
|
273
|
+
- lib/receiver/connector.rb
|
274
|
+
- lib/receiver/basic_receiver.rb
|
275
|
+
- lib/receiver/ambari_receiver.rb
|
276
|
+
- lib/exec.rb
|
277
|
+
- lib/common.rb
|
278
|
+
- spec/common/services_description.rb
|
279
|
+
- spec/exec/check_parameter.rb
|
280
|
+
- spec/exec/command_option_spec.rb
|
281
|
+
- resources/ambari-configurations/MAPREDUCE/default_mapred-site
|
282
|
+
- resources/ambari-configurations/WEBHCAT/default_webhcat-site
|
283
|
+
- resources/ambari-configurations/HDFS/default_hdfs-site
|
284
|
+
- resources/ambari-configurations/ZOOKEEPER/default_zookeeper-site
|
285
|
+
- resources/ambari-configurations/default_core-site
|
286
|
+
- resources/ambari-configurations/HBASE/default_hbase-site
|
287
|
+
- resources/ambari-configurations/default_global
|
288
|
+
- resources/ambari-configurations/OOZIE/default_oozie-site
|
289
|
+
- resources/ambari-configurations/HIVE/default_hive-site
|
290
|
+
- resources/cloudbox-server.conf
|
291
|
+
- README.md
|
292
|
+
- .yardopts
|
293
|
+
homepage: http://ingensi.com/cloudbox
|
294
|
+
licenses:
|
295
|
+
- TODO choose a license
|
296
|
+
post_install_message:
|
297
|
+
rdoc_options:
|
298
|
+
- --title
|
299
|
+
- My title
|
300
|
+
require_paths:
|
301
|
+
- lib
|
302
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
303
|
+
none: false
|
304
|
+
requirements:
|
305
|
+
- - ">="
|
306
|
+
- !ruby/object:Gem::Version
|
307
|
+
hash: 3
|
308
|
+
segments:
|
309
|
+
- 0
|
310
|
+
version: "0"
|
311
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
312
|
+
none: false
|
313
|
+
requirements:
|
314
|
+
- - ">="
|
315
|
+
- !ruby/object:Gem::Version
|
316
|
+
hash: 3
|
317
|
+
segments:
|
318
|
+
- 0
|
319
|
+
version: "0"
|
320
|
+
requirements: []
|
321
|
+
|
322
|
+
rubyforge_project:
|
323
|
+
rubygems_version: 1.8.25
|
324
|
+
signing_key:
|
325
|
+
specification_version: 3
|
326
|
+
summary: Cloudbox server tool suite
|
327
|
+
test_files: []
|
328
|
+
|