classify_cluster 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
data/examples/cluster.rb
CHANGED
@@ -48,7 +48,7 @@ cluster :"appliance-cluster" do |cluster|
|
|
48
48
|
'app_shared_root' => '/var/www/socialcast',
|
49
49
|
'app_user' => 'socialcast',
|
50
50
|
'ssl_pem_path' => '/etc/ssl/pem',
|
51
|
-
'app_pem_file' => '
|
51
|
+
'app_pem_file' => 'scmc.pem',
|
52
52
|
'cdn_disabled' => 'true',
|
53
53
|
'solr_jvm_options' => '-server -d32 -Xmx500M -Xms64M', # Needs more granular configuration
|
54
54
|
'rails_env' => 'production',
|
@@ -3,7 +3,7 @@ module ClassifyCluster
|
|
3
3
|
class Cluster
|
4
4
|
attr_reader :nodes, :name, :classes, :variables, :resources, :hostnames, :ssl_pem
|
5
5
|
def initialize(*args, &block)
|
6
|
-
@ssl_pem = {:file_path => '/etc/ssl/pem/
|
6
|
+
@ssl_pem = {:file_path => '/etc/ssl/pem/scmc.pem', :module => 'loadbalancer'}
|
7
7
|
@nodes = {}
|
8
8
|
@variables = {}
|
9
9
|
@resources = []
|
@@ -12,7 +12,8 @@ module ClassifyCluster
|
|
12
12
|
'push' => 'push',
|
13
13
|
'puppet_master' => 'puppet_master',
|
14
14
|
'search' => 'solr',
|
15
|
-
'file' => 'file'
|
15
|
+
'file' => 'file',
|
16
|
+
'scheduler' => 'scheduler'
|
16
17
|
}
|
17
18
|
def self.export!(capistrano_configurator, cluster, config_file=ClassifyCluster::Base.default_config_file)
|
18
19
|
config = ClassifyCluster::Configurator::Configuration.new(config_file).clusters[cluster]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: classify_cluster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 7
|
10
|
+
version: 0.2.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sean Cashin
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-01-14 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|