classify_cluster 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -38,6 +38,17 @@ module ClassifyCluster
38
38
  end
39
39
  end
40
40
  end
41
+ @nodes.each_pair do |fqdn, node|
42
+ node.resource do |resource|
43
+ resource.type 'etchosts'
44
+ resource.name "hosts"
45
+ resource.options({
46
+ :short_name => fqdn.split('.').first,
47
+ :fqdn => fqdn,
48
+ :hosts => @variables['hostnames']
49
+ })
50
+ end
51
+ end
41
52
  returned
42
53
  end
43
54
  def name(value=nil)
@@ -1,3 +1,3 @@
1
1
  module ClassifyCluster
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
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: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sean Cashin