classify_cluster 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module ClassifyCluster
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
@@ -14,10 +14,10 @@ module ClassifyCluster
14
14
  cluster.nodes.each_pair do |fqdn, node|
15
15
  file.write(output(%Q%node "#{node.default? ? 'default' : node.fqdn}" {%))
16
16
  cluster.variables.each_pair do |key, value|
17
- file.write(output("$#{key}=#{value.inspect}", :indent => 1))
17
+ file.write(output("$#{key}=#{value.inspect.gsub(/\$/, '\$')}", :indent => 1))
18
18
  end
19
19
  node.variables.each_pair do |key, value|
20
- file.write(output("$#{key}=#{value.inspect}", :indent => 1))
20
+ file.write(output("$#{key}=#{value.inspect.gsub(/\$/, '\$')}", :indent => 1))
21
21
  end
22
22
  cluster.resources.each do |resource|
23
23
  file.write(output("#{resource.type} { #{resource.name.inspect}:", :indent => 1))
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: 9
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 3
10
- version: 0.4.3
9
+ - 4
10
+ version: 0.4.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sean Cashin
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-16 00:00:00 -07:00
19
- default_executable:
18
+ date: 2011-07-26 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: commander
@@ -102,7 +101,6 @@ files:
102
101
  - lib/classify_cluster/writers/capistrano.rb
103
102
  - lib/classify_cluster/writers/classify.rb
104
103
  - lib/classify_cluster/writers/puppet.rb
105
- has_rdoc: true
106
104
  homepage: http://rubygems.org/gems/classify_cluster
107
105
  licenses: []
108
106
 
@@ -132,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
130
  requirements: []
133
131
 
134
132
  rubyforge_project: classify_cluster
135
- rubygems_version: 1.5.3
133
+ rubygems_version: 1.7.2
136
134
  signing_key:
137
135
  specification_version: 3
138
136
  summary: Contains several binaries for generating capistrano and puppet configurations