classify_cluster 0.4.16 → 0.4.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzgzMTc5ZTZiMzkwYjdjMWY5OWRhYzYwZmY2ZmQwNGMyMDdkMTM2YQ==
4
+ OThhMDUyYjRmOTA0YWJjZGE4YmRiNTBhYjg2MzU0NzAzOWJiZjI1OQ==
5
5
  data.tar.gz: !binary |-
6
- YjQ2OGQ1YWQ0YmY5MWIyY2JkZjM5MzQwYTkyMDgwNzMyNDQ2MjdjNg==
6
+ MDRiYTIxOTcxYzc1MGM4YjVlZjIyMmZkNWFiYjY4MmZhNGY4ZmEzZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YWQzMjgyZWY5Y2ZiY2EzMzUwMjIyMWUyNDU3ZWQ5M2ZlMzhmZTYzY2U4MDVh
10
- NTFkNGY5OThmZGVmOTg1NjVlMzZkYWJhM2MyMzRlODk5YTQ0NzBlYWIzNzE1
11
- YzQ5ZGM4NmIwOTZiZmI1MzI3MWEzYzdkNTNkOGE1ZTBmMDFlMDY=
9
+ OTQ0MmZjOGEwMTlkNTg4NDUzZDhkZDE5YTMwNjM0ODEyZGM2NTAwNDdiYTYw
10
+ NTkyZjg4N2ZjYmU0MzEwYjEyZmVhNGE2ODkwZDUyYzdmODNlY2U3N2QzNDMw
11
+ YTM5Mjc2Y2UyMGIwYzE4NDE2YTViMTJjNmFmNzMyODIwMTFjMDE=
12
12
  data.tar.gz: !binary |-
13
- YWUyODgxZTA4NDU2YmNlYWY4MzQ4MDY2ZDUwODMwMzNmM2QxOTBjMmVhYzAx
14
- YjE1ODNmNmEyYmE3NmRiOTRlMjkxNGNmMjVmNzRmZDUzYjAxODNhNmFjMTQy
15
- ZjBhZjcxYTBjYTk3OGE1NmIzNGFkMTRhOTMzZjRiOTU0MTM2ODI=
13
+ MDcwZWE5MjYxOGI2ZmUzMDc3MzEwZDY2ZDU1MmJiMzY1NzlmOTIxNzU2ZGVl
14
+ NzhmMTZjYmVjZTg1MjZhYmQwNDc5OWUzM2FkYTg5YmI4YzdlNGMyNjVjNTU5
15
+ NTY3ZWMyNTU2OTRiZjBmMjUwMDJiZGMzZmFhMjJmZTRmNDVhMzI=
@@ -48,8 +48,11 @@ module ClassifyCluster
48
48
  def add_klass_from_role
49
49
  case @type.to_s
50
50
  when "db"
51
- @node.klass "databaseserver" if @options.has_key?(:primary)
52
- @node.klass "databasereplicationserver" if @options.has_key?(:backup)
51
+ if @options.has_key?(:primary)
52
+ @node.klass "databaseserver"
53
+ else
54
+ @node.klass "databasereplicationserver"
55
+ end
53
56
  when "puppet_master"
54
57
  @node.klass "puppetmaster"
55
58
  when "munin"
@@ -111,4 +114,4 @@ module ClassifyCluster
111
114
  end
112
115
  end
113
116
  end
114
- end
117
+ end
@@ -1,3 +1,3 @@
1
1
  module ClassifyCluster
2
- VERSION = "0.4.16"
2
+ VERSION = "0.4.17"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: classify_cluster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.16
4
+ version: 0.4.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Cashin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-23 00:00:00.000000000 Z
11
+ date: 2014-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  requirements: []
106
106
  rubyforge_project: classify_cluster
107
- rubygems_version: 2.2.2
107
+ rubygems_version: 2.1.11
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: Contains several binaries for generating capistrano and puppet configurations