classify_cluster 0.3.7 → 0.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module ClassifyCluster
2
- VERSION = "0.3.7"
2
+ VERSION = "0.3.8"
3
3
  end
@@ -10,11 +10,6 @@ module ClassifyCluster
10
10
 
11
11
  next if options[:cluster] && !(options[:cluster] == cluster.name.to_s)
12
12
 
13
- pem_file = "/etc/puppet/modules/#{cluster.ssl_pem[:module]}/files/#{cluster.name.to_s}.#{File.basename(cluster.ssl_pem[:file_path])}"
14
- FileUtils.cp cluster.ssl_pem[:file_path], pem_file
15
- FileUtils.chown 'root', 'puppet', pem_file
16
- FileUtils.chmod 0640, pem_file
17
-
18
13
  File.open(File.join(export_to_folder, "#{cluster.name}.pp"), 'w') do |file|
19
14
  cluster.nodes.each_pair do |fqdn, node|
20
15
  file.write(output(%Q%node "#{node.default? ? 'default' : node.fqdn}" {%))
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: 29
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 7
10
- version: 0.3.7
9
+ - 8
10
+ version: 0.3.8
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-02-04 00:00:00 -08:00
18
+ date: 2011-02-24 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency