classify_cluster 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,8 @@ module ClassifyCluster
13
13
  'queue',
14
14
  {'cron' => ['primary', 'backup']},
15
15
  'search',
16
- 'worker'
16
+ 'worker',
17
+ 'sso'
17
18
  ]
18
19
  class Role
19
20
  begin
@@ -72,6 +73,8 @@ module ClassifyCluster
72
73
  @node.klass "#{@type.to_s}server"
73
74
  when "scheduler"
74
75
  @node.klass "#{@type.to_s}server"
76
+ when "sso"
77
+ @node.klass "#{@type.to_s}server"
75
78
  end
76
79
  end
77
80
  def add_variable_from_role
@@ -1,3 +1,3 @@
1
1
  module ClassifyCluster
2
- VERSION = "0.4.5"
2
+ VERSION = "0.4.6"
3
3
  end
@@ -6,14 +6,15 @@ module ClassifyCluster
6
6
  'queue' => 'queue',
7
7
  'cron' => 'cron',
8
8
  'app' => 'app',
9
- 'worker' => 'workling',
9
+ 'worker' => 'worker',
10
10
  'munin' => 'munin',
11
11
  'web' => 'web',
12
12
  'push' => 'push',
13
13
  'puppet_master' => 'puppet_master',
14
14
  'search' => 'elasticsearch',
15
15
  'file' => 'file',
16
- 'scheduler' => 'scheduler'
16
+ 'scheduler' => 'scheduler',
17
+ 'sso' => 'sso'
17
18
  }
18
19
  def self.export!(capistrano_configurator, cluster, config_file=ClassifyCluster::Base.default_config_file)
19
20
  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: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 5
10
- version: 0.4.5
9
+ - 6
10
+ version: 0.4.6
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: 2011-08-01 00:00:00 Z
18
+ date: 2011-11-03 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: commander
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  requirements: []
131
131
 
132
132
  rubyforge_project: classify_cluster
133
- rubygems_version: 1.7.2
133
+ rubygems_version: 1.8.10
134
134
  signing_key:
135
135
  specification_version: 3
136
136
  summary: Contains several binaries for generating capistrano and puppet configurations