openshift-origin-node 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of openshift-origin-node might be problematic. Click here for more details.
- data/COPYRIGHT +1 -0
- data/Gemfile +4 -0
- data/LICENSE +11 -0
- data/README.md +3 -0
- data/Rakefile +28 -0
- data/bin/oo-add-alias +93 -0
- data/bin/oo-app-create +110 -0
- data/bin/oo-app-destroy +100 -0
- data/bin/oo-app-state-show +74 -0
- data/bin/oo-authorized-ssh-key-add +83 -0
- data/bin/oo-authorized-ssh-key-remove +82 -0
- data/bin/oo-broker-auth-key-add +84 -0
- data/bin/oo-broker-auth-key-remove +72 -0
- data/bin/oo-cartridge-info +70 -0
- data/bin/oo-cartridge-list +70 -0
- data/bin/oo-connector-execute +94 -0
- data/bin/oo-env-var-add +81 -0
- data/bin/oo-env-var-remove +78 -0
- data/bin/oo-get-quota +64 -0
- data/bin/oo-remove-alias +93 -0
- data/bin/oo-set-quota +59 -0
- data/conf/node.conf +30 -0
- data/conf/resource_limits.template +67 -0
- data/lib/openshift-origin-node.rb +29 -0
- data/lib/openshift-origin-node/config.rb +21 -0
- data/lib/openshift-origin-node/environment.rb +26 -0
- data/lib/openshift-origin-node/model/application_container.rb +298 -0
- data/lib/openshift-origin-node/model/frontend_httpd.rb +346 -0
- data/lib/openshift-origin-node/model/node.rb +134 -0
- data/lib/openshift-origin-node/model/unix_user.rb +738 -0
- data/lib/openshift-origin-node/plugins/unix_user_observer.rb +86 -0
- data/lib/openshift-origin-node/utils/shell_exec.rb +115 -0
- data/lib/openshift-origin-node/version.rb +23 -0
- data/misc/bin/oo-admin-ctl-cgroups +482 -0
- data/misc/bin/oo-cgroup-read +25 -0
- data/misc/bin/oo-get-mcs-level +29 -0
- data/misc/bin/oo-trap-user +248 -0
- data/misc/bin/rhcsh +155 -0
- data/misc/bin/setup_pam_fs_limits.sh +146 -0
- data/misc/bin/teardown_pam_fs_limits.sh +73 -0
- data/misc/doc/cgconfig.conf +26 -0
- data/misc/etc/openshift-run.conf +1 -0
- data/misc/init/openshift-cgroups +56 -0
- data/misc/services/openshift-cgroups.service +14 -0
- data/openshift-origin-node.gemspec +31 -0
- data/rubygem-openshift-origin-node.spec +263 -0
- data/test/test_helper.rb +20 -0
- data/test/unit/frontend_httpd_test.rb +144 -0
- data/test/unit/unix_user_test.rb +95 -0
- data/test/unit/version_test.rb +45 -0
- metadata +230 -0
data/test/test_helper.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
#--
|
2
|
+
# Copyright 2010 Red Hat, Inc.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#++
|
16
|
+
|
17
|
+
require File.expand_path('../../lib/openshift-origin-node', __FILE__)
|
18
|
+
require 'rubygems'
|
19
|
+
require 'test/unit'
|
20
|
+
require 'mocha'
|
@@ -0,0 +1,144 @@
|
|
1
|
+
#!/usr/bin/env oo-ruby
|
2
|
+
#--
|
3
|
+
# Copyright 2012 Red Hat, Inc.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
#++
|
17
|
+
#
|
18
|
+
# Test the OpenShift frontend_httpd model
|
19
|
+
#
|
20
|
+
require 'openshift-origin-node/model/frontend_httpd'
|
21
|
+
require 'test/unit'
|
22
|
+
require 'fileutils'
|
23
|
+
require 'mocha'
|
24
|
+
|
25
|
+
|
26
|
+
# Run unit test manually
|
27
|
+
# ruby -Iopenshift/node/lib/:openshift/common/lib/ openshift/node/test/unit/frontend_httpd_test.rb
|
28
|
+
class TestFrontendHttpServerModel < Test::Unit::TestCase
|
29
|
+
|
30
|
+
def setup
|
31
|
+
@container_uuid = '0123456789abcdef'
|
32
|
+
@container_name = 'frontendtest'
|
33
|
+
@namespace = 'frontendtest'
|
34
|
+
|
35
|
+
@token = "#{@container_uuid}_#{@namespace}_#{@container_name}"
|
36
|
+
|
37
|
+
@gear_base_dir = "/tmp/frontend_httpd_test"
|
38
|
+
|
39
|
+
@cloud_domain = "example.com"
|
40
|
+
|
41
|
+
@path = File.join(@gear_base_dir, ".httpd.d", @token)
|
42
|
+
|
43
|
+
@test_alias = "foo.example.com"
|
44
|
+
|
45
|
+
syslog_mock = mock('Syslog') do
|
46
|
+
stubs(:opened?).returns(true)
|
47
|
+
stubs(:open).returns(nil)
|
48
|
+
stubs(:alert).returns(nil)
|
49
|
+
end
|
50
|
+
Syslog.stubs(:new).returns(syslog_mock)
|
51
|
+
|
52
|
+
config_mock = mock('OpenShift::Config')
|
53
|
+
config_mock.stubs(:get).with("GEAR_BASE_DIR").returns(@gear_base_dir)
|
54
|
+
config_mock.stubs(:get).with("CLOUD_DOMAIN").returns(@cloud_domain)
|
55
|
+
OpenShift::Config.stubs(:new).returns(config_mock)
|
56
|
+
end
|
57
|
+
|
58
|
+
|
59
|
+
def test_create
|
60
|
+
frontend = OpenShift::FrontendHttpServer.new(@container_uuid, @container_name, @namespace)
|
61
|
+
frontend.stubs(:shellCmd).returns(["", "", 0]).never
|
62
|
+
File.stubs(:exist?).returns(false)
|
63
|
+
FileUtils.stubs(:rm_rf).returns(nil)
|
64
|
+
FileUtils.stubs(:mkdir_p).with(@path).returns(nil).once
|
65
|
+
frontend.create
|
66
|
+
end
|
67
|
+
|
68
|
+
def test_destroy
|
69
|
+
frontend = OpenShift::FrontendHttpServer.new(@container_uuid, @container_name, @namespace)
|
70
|
+
frontend.stubs(:shellCmd).returns(["", "", 0]).twice
|
71
|
+
FileUtils.stubs(:rm_rf).returns(nil).once
|
72
|
+
frontend.destroy
|
73
|
+
end
|
74
|
+
|
75
|
+
|
76
|
+
def test_clean_server_name
|
77
|
+
frontend = OpenShift::FrontendHttpServer.new(@container_uuid, @container_name, @namespace)
|
78
|
+
|
79
|
+
assert_equal "#{@test_alias}", frontend.clean_server_name("#{@test_alias}")
|
80
|
+
assert_equal "#{@test_alias}", frontend.clean_server_name("#{@test_alias}".upcase)
|
81
|
+
assert_raise OpenShift::FrontendHttpServerNameException do
|
82
|
+
frontend.clean_server_name("../../../../../../../etc/passwd")
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
def test_server_alias_path
|
87
|
+
frontend = OpenShift::FrontendHttpServer.new(@container_uuid, @container_name, @namespace)
|
88
|
+
|
89
|
+
assert_equal File.join(@path, "server_alias-#{@test_alias}.conf"), frontend.server_alias_path("#{@test_alias}")
|
90
|
+
end
|
91
|
+
|
92
|
+
def test_server_alias_search
|
93
|
+
frontend = OpenShift::FrontendHttpServer.new(@container_uuid, @container_name, @namespace)
|
94
|
+
|
95
|
+
srch_path = File.join(@path, "server_alias-#{@test_alias}.conf")
|
96
|
+
Dir.stubs(:glob).returns([srch_path])
|
97
|
+
|
98
|
+
existing = frontend.server_alias_search("#{@test_alias}")
|
99
|
+
assert_equal existing.length, 1
|
100
|
+
assert_equal existing[0], srch_path
|
101
|
+
end
|
102
|
+
|
103
|
+
|
104
|
+
def test_add_alias
|
105
|
+
frontend = OpenShift::FrontendHttpServer.new(@container_uuid, @container_name, @namespace)
|
106
|
+
|
107
|
+
frontend.stubs(:shellCmd).returns(["", "", 0]).twice
|
108
|
+
Dir.stubs(:glob).returns([])
|
109
|
+
|
110
|
+
File.stubs(:open).with(File.join(@path, "server_alias-#{@test_alias}.conf"), 'w').returns(mock('File')).once
|
111
|
+
|
112
|
+
File.stubs(:open).with(File.join(@path, "routes.json"),'r').returns(mock('File')).once
|
113
|
+
|
114
|
+
frontend.add_alias("#{@test_alias}")
|
115
|
+
end
|
116
|
+
|
117
|
+
def test_add_duplicate_alias
|
118
|
+
frontend = OpenShift::FrontendHttpServer.new(@container_uuid, @container_name, @namespace)
|
119
|
+
|
120
|
+
frontend.stubs(:shellCmd).returns(["", "", 0]).never
|
121
|
+
Dir.stubs(:glob).returns([File.join(@path, "server_alias-#{@test_alias}.conf")])
|
122
|
+
|
123
|
+
File.stubs(:open).returns(mock('File')).never
|
124
|
+
|
125
|
+
assert_raise OpenShift::FrontendHttpServerAliasException do
|
126
|
+
frontend.add_alias("#{@test_alias}")
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
def test_remove_alias
|
131
|
+
frontend = OpenShift::FrontendHttpServer.new(@container_uuid, @container_name, @namespace)
|
132
|
+
|
133
|
+
frontend.stubs(:shellCmd).returns(["", "", 0]).twice
|
134
|
+
|
135
|
+
File.stubs(:exist?).with(File.join(@path, "routes_alias-#{@test_alias}.json")).returns(true).once
|
136
|
+
Dir.stubs(:glob).returns([File.join(@path, "server_alias-#{@test_alias}.conf")])
|
137
|
+
FileUtils.stubs(:rm_f).with(File.join(@path, "server_alias-#{@test_alias}.conf")).returns(true).once
|
138
|
+
FileUtils.stubs(:rm_f).with(File.join(@path, "routes_alias-#{@test_alias}.json")).returns(true).once
|
139
|
+
|
140
|
+
frontend.remove_alias("#{@test_alias}")
|
141
|
+
end
|
142
|
+
|
143
|
+
end
|
144
|
+
|
@@ -0,0 +1,95 @@
|
|
1
|
+
#!/usr/bin/env oo-ruby
|
2
|
+
#--
|
3
|
+
# Copyright 2012 Red Hat, Inc.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
#++
|
17
|
+
#
|
18
|
+
# Test the OpenShift unix_user model
|
19
|
+
#
|
20
|
+
require 'openshift-origin-node/model/unix_user'
|
21
|
+
require 'test/unit'
|
22
|
+
|
23
|
+
# Run unit test manually
|
24
|
+
# ruby -Iopenshift/node/lib/:openshift/common/lib/ openshift/node/test/unit/unix_user_test.rb
|
25
|
+
class TestUnixUserModel < Test::Unit::TestCase
|
26
|
+
|
27
|
+
def assert_directory?(file)
|
28
|
+
assert File.directory?(file), "Directory #{file} not found"
|
29
|
+
end
|
30
|
+
|
31
|
+
def assert_symlink?(link)
|
32
|
+
assert File.symlink?(link), "Symlink #{link} not found"
|
33
|
+
end
|
34
|
+
|
35
|
+
def setup
|
36
|
+
@gear_uuid = Process.euid.to_s
|
37
|
+
@user_uid = Process.euid.to_s
|
38
|
+
@app_name = 'UnixUserTestCase'
|
39
|
+
@gear_name = @app_name
|
40
|
+
@namespace = 'jwh201204301647'
|
41
|
+
@verbose = false
|
42
|
+
end
|
43
|
+
|
44
|
+
def test_initialize
|
45
|
+
FileUtils.rm_rf("/tmp/homedir", :verbose => @verbose) if File.directory?("/tmp/homedir")
|
46
|
+
o = OpenShift::UnixUser.new(@gear_uuid, @gear_uuid, @user_uid, @app_name,
|
47
|
+
@gear_name, @namespace,
|
48
|
+
nil, nil, @verbose)
|
49
|
+
assert_not_nil o
|
50
|
+
|
51
|
+
o.initialize_homedir("/tmp/", "/tmp/homedir/", "cartridges/openshift-origin-cartridge-abstract/")
|
52
|
+
assert_directory?("/tmp/homedir")
|
53
|
+
assert ! File.symlink?("/tmp/homedir/data"), 'found deprecated data symlink'
|
54
|
+
assert ! File.directory?("/tmp/homedir/app"), 'found deprecated app directory'
|
55
|
+
assert_directory?("/tmp/homedir/app-root")
|
56
|
+
assert_directory?("/tmp/homedir/app-root/runtime/")
|
57
|
+
assert File.exist?("/tmp/homedir/app-root/runtime/.state"), '.state file missing'
|
58
|
+
assert_symlink?("/tmp/homedir/app-root/repo")
|
59
|
+
assert_directory?("/tmp/homedir/.tmp")
|
60
|
+
assert_directory?("/tmp/homedir/.env")
|
61
|
+
assert_directory?("/tmp/homedir/.sandbox")
|
62
|
+
end
|
63
|
+
|
64
|
+
# This tests cannot be run because expected polyinstantiation of /tmp causes system /tmp to be chmod 760.
|
65
|
+
# def test_authorized_keys
|
66
|
+
# o = OpenShift::UnixUser.new(@gear_uuid, @gear_uuid, @user_uid, @app_name,
|
67
|
+
# @gear_name, @namespace,
|
68
|
+
# nil, nil, @verbose)
|
69
|
+
# options = 'command="/usr/bin/trap-user",no-X11-forwarding'
|
70
|
+
# key_type = 'ssh-rsa'
|
71
|
+
# key = 'XXYYZZ=='
|
72
|
+
# comment = 'OPENSHIFT-47c106d0952f407ba3dea5f80b98eb2bdefault'
|
73
|
+
# path = "/tmp/mock_authorized_keys"
|
74
|
+
# File.open(path, File::WRONLY|File::TRUNC|File::CREAT, 0o0440) {|file|
|
75
|
+
# file.write("#{options} #{key_type} #{key} #{comment}\n")
|
76
|
+
# }
|
77
|
+
#
|
78
|
+
# keys = o.read_ssh_keys(path)
|
79
|
+
# assert_equal 1, keys.size
|
80
|
+
# assert keys.include? comment
|
81
|
+
#
|
82
|
+
# o.write_ssh_keys(path, keys)
|
83
|
+
#
|
84
|
+
# keys = o.read_ssh_keys(path)
|
85
|
+
# assert_equal 1, keys.size
|
86
|
+
# assert keys.include? comment
|
87
|
+
|
88
|
+
# @homedir private these tests cannot be run
|
89
|
+
#o.add_ssh_key(key, key_type, comment)
|
90
|
+
#keys = o.read_ssh_keys(path)
|
91
|
+
#assert_equal 1, keys.size
|
92
|
+
#assert keys.include? comment
|
93
|
+
# end
|
94
|
+
end
|
95
|
+
|
@@ -0,0 +1,45 @@
|
|
1
|
+
#!/usr/bin/env oo-ruby
|
2
|
+
#--
|
3
|
+
# Copyright 2010 Red Hat, Inc.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
#++
|
17
|
+
#
|
18
|
+
# Test the OpenShift VERSION string
|
19
|
+
#
|
20
|
+
require 'test_helper'
|
21
|
+
|
22
|
+
class TestVersion < Test::Unit::TestCase
|
23
|
+
|
24
|
+
def test_leading_space
|
25
|
+
assert_no_match(/^\s+/,
|
26
|
+
OpenShift::VERSION,
|
27
|
+
'Version string must not have leading white space'
|
28
|
+
)
|
29
|
+
end
|
30
|
+
|
31
|
+
def test_trailing_space
|
32
|
+
assert_no_match(/\s+$/,
|
33
|
+
OpenShift::VERSION,
|
34
|
+
'Version string must not have trailing white space'
|
35
|
+
)
|
36
|
+
end
|
37
|
+
|
38
|
+
def test_version_pattern
|
39
|
+
assert_match(/^(\d+)\.(\d+).(\d+)$/,
|
40
|
+
OpenShift::VERSION,
|
41
|
+
'Version string must be of the form N.N'
|
42
|
+
)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
metadata
ADDED
@@ -0,0 +1,230 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: openshift-origin-node
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 25
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 3
|
9
|
+
- 1
|
10
|
+
version: 1.3.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Krishna Raman
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2012-12-12 00:00:00 -05:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: json
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
version: "0"
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: parseconfig
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 15
|
44
|
+
segments:
|
45
|
+
- 0
|
46
|
+
- 5
|
47
|
+
- 2
|
48
|
+
version: 0.5.2
|
49
|
+
type: :runtime
|
50
|
+
version_requirements: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: openshift-origin-common
|
53
|
+
prerelease: false
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
hash: 3
|
60
|
+
segments:
|
61
|
+
- 0
|
62
|
+
version: "0"
|
63
|
+
type: :runtime
|
64
|
+
version_requirements: *id003
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: rspec
|
67
|
+
prerelease: false
|
68
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
hash: 3
|
74
|
+
segments:
|
75
|
+
- 0
|
76
|
+
version: "0"
|
77
|
+
type: :development
|
78
|
+
version_requirements: *id004
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
name: mocha
|
81
|
+
prerelease: false
|
82
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - "="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
hash: 43
|
88
|
+
segments:
|
89
|
+
- 0
|
90
|
+
- 9
|
91
|
+
- 8
|
92
|
+
version: 0.9.8
|
93
|
+
type: :development
|
94
|
+
version_requirements: *id005
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: rake
|
97
|
+
prerelease: false
|
98
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
99
|
+
none: false
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
hash: 49
|
104
|
+
segments:
|
105
|
+
- 0
|
106
|
+
- 8
|
107
|
+
- 7
|
108
|
+
version: 0.8.7
|
109
|
+
- - <=
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
hash: 11
|
112
|
+
segments:
|
113
|
+
- 0
|
114
|
+
- 9
|
115
|
+
- 2
|
116
|
+
- 2
|
117
|
+
version: 0.9.2.2
|
118
|
+
type: :development
|
119
|
+
version_requirements: *id006
|
120
|
+
description: This
|
121
|
+
email:
|
122
|
+
- kraman@gmail.com
|
123
|
+
executables:
|
124
|
+
- oo-app-state-show
|
125
|
+
- oo-app-destroy
|
126
|
+
- oo-remove-alias
|
127
|
+
- oo-app-create
|
128
|
+
- oo-get-quota
|
129
|
+
- oo-cartridge-info
|
130
|
+
- oo-env-var-add
|
131
|
+
- oo-cartridge-list
|
132
|
+
- oo-connector-execute
|
133
|
+
- oo-broker-auth-key-add
|
134
|
+
- oo-env-var-remove
|
135
|
+
- oo-authorized-ssh-key-remove
|
136
|
+
- oo-set-quota
|
137
|
+
- oo-broker-auth-key-remove
|
138
|
+
- oo-authorized-ssh-key-add
|
139
|
+
- oo-add-alias
|
140
|
+
extensions: []
|
141
|
+
|
142
|
+
extra_rdoc_files: []
|
143
|
+
|
144
|
+
files:
|
145
|
+
- lib/openshift-origin-node.rb
|
146
|
+
- lib/openshift-origin-node/config.rb
|
147
|
+
- lib/openshift-origin-node/plugins/unix_user_observer.rb
|
148
|
+
- lib/openshift-origin-node/environment.rb
|
149
|
+
- lib/openshift-origin-node/utils/shell_exec.rb
|
150
|
+
- lib/openshift-origin-node/version.rb
|
151
|
+
- lib/openshift-origin-node/model/frontend_httpd.rb
|
152
|
+
- lib/openshift-origin-node/model/application_container.rb
|
153
|
+
- lib/openshift-origin-node/model/node.rb
|
154
|
+
- lib/openshift-origin-node/model/unix_user.rb
|
155
|
+
- bin/oo-app-state-show
|
156
|
+
- bin/oo-app-destroy
|
157
|
+
- bin/oo-remove-alias
|
158
|
+
- bin/oo-app-create
|
159
|
+
- bin/oo-get-quota
|
160
|
+
- bin/oo-cartridge-info
|
161
|
+
- bin/oo-env-var-add
|
162
|
+
- bin/oo-cartridge-list
|
163
|
+
- bin/oo-connector-execute
|
164
|
+
- bin/oo-broker-auth-key-add
|
165
|
+
- bin/oo-env-var-remove
|
166
|
+
- bin/oo-authorized-ssh-key-remove
|
167
|
+
- bin/oo-set-quota
|
168
|
+
- bin/oo-broker-auth-key-remove
|
169
|
+
- bin/oo-authorized-ssh-key-add
|
170
|
+
- bin/oo-add-alias
|
171
|
+
- conf/node.conf
|
172
|
+
- conf/resource_limits.template
|
173
|
+
- test/unit/version_test.rb
|
174
|
+
- test/unit/frontend_httpd_test.rb
|
175
|
+
- test/unit/unix_user_test.rb
|
176
|
+
- test/test_helper.rb
|
177
|
+
- misc/etc/openshift-run.conf
|
178
|
+
- misc/init/openshift-cgroups
|
179
|
+
- misc/doc/cgconfig.conf
|
180
|
+
- misc/bin/oo-admin-ctl-cgroups
|
181
|
+
- misc/bin/teardown_pam_fs_limits.sh
|
182
|
+
- misc/bin/rhcsh
|
183
|
+
- misc/bin/oo-cgroup-read
|
184
|
+
- misc/bin/setup_pam_fs_limits.sh
|
185
|
+
- misc/bin/oo-get-mcs-level
|
186
|
+
- misc/bin/oo-trap-user
|
187
|
+
- misc/services/openshift-cgroups.service
|
188
|
+
- README.md
|
189
|
+
- Rakefile
|
190
|
+
- Gemfile
|
191
|
+
- rubygem-openshift-origin-node.spec
|
192
|
+
- openshift-origin-node.gemspec
|
193
|
+
- COPYRIGHT
|
194
|
+
- LICENSE
|
195
|
+
has_rdoc: true
|
196
|
+
homepage: http://openshift.redhat.com
|
197
|
+
licenses:
|
198
|
+
- ASL
|
199
|
+
post_install_message:
|
200
|
+
rdoc_options: []
|
201
|
+
|
202
|
+
require_paths:
|
203
|
+
- lib
|
204
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
205
|
+
none: false
|
206
|
+
requirements:
|
207
|
+
- - ">="
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
hash: 3
|
210
|
+
segments:
|
211
|
+
- 0
|
212
|
+
version: "0"
|
213
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
|
+
none: false
|
215
|
+
requirements:
|
216
|
+
- - ">="
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
hash: 3
|
219
|
+
segments:
|
220
|
+
- 0
|
221
|
+
version: "0"
|
222
|
+
requirements: []
|
223
|
+
|
224
|
+
rubyforge_project: openshift-origin-node
|
225
|
+
rubygems_version: 1.3.7
|
226
|
+
signing_key:
|
227
|
+
specification_version: 3
|
228
|
+
summary: This
|
229
|
+
test_files: []
|
230
|
+
|