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 +8 -8
- data/lib/classify_cluster/configurator/role.rb +6 -3
- data/lib/classify_cluster/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OThhMDUyYjRmOTA0YWJjZGE4YmRiNTBhYjg2MzU0NzAzOWJiZjI1OQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDRiYTIxOTcxYzc1MGM4YjVlZjIyMmZkNWFiYjY4MmZhNGY4ZmEzZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTQ0MmZjOGEwMTlkNTg4NDUzZDhkZDE5YTMwNjM0ODEyZGM2NTAwNDdiYTYw
|
10
|
+
NTkyZjg4N2ZjYmU0MzEwYjEyZmVhNGE2ODkwZDUyYzdmODNlY2U3N2QzNDMw
|
11
|
+
YTM5Mjc2Y2UyMGIwYzE4NDE2YTViMTJjNmFmNzMyODIwMTFjMDE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
-
|
52
|
-
|
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
|
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.
|
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-
|
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.
|
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
|