chef_handler_foreman 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b83750e2b938a42c0814f5c215e604eb2eb6652
4
- data.tar.gz: 208020cc87c76471844899ba45eb6122bbe6868c
3
+ metadata.gz: 8caa1aaba1f81ebd96619d99034eda28167bbf91
4
+ data.tar.gz: 8c52a7d53e164dbbdcbc1561ef726f78d0ec641a
5
5
  SHA512:
6
- metadata.gz: 2ca9c9999d841ab572885c7cb8ec776a73f4d257453dc431dd5eb50da8f9ffb98f667641728b7e3b7b5336e184807b8615798600d40cf59f3aa94ffe970506e8
7
- data.tar.gz: 9307742f17cc892ecb02658f135b091818ab9227ae6bedb1cba28d08f7e355cab7f5dfb7587d274a47d43fa180a67ca74787cd8dd997fbf664b15b258fd877b3
6
+ metadata.gz: 4b5b990b57f01919095530c01679d957f41c2d5b1120efd37a93e7c3ce419eff4f81b46b23d100cc652498eacd7b501333969a0bf0a6a220925f08cb921d27f3
7
+ data.tar.gz: 40eeccfb567bafb2d476fa25e5c9c409299dfe46e9b589336c3ef96f765360af82bfa201e20c6a2e11f050717b80e963e937ae941c901350ab6a71ba5af2a842
@@ -41,7 +41,7 @@ module ChefHandlerForeman
41
41
  release ||= node.platform_version
42
42
 
43
43
  # operatingsystem and operatingsystemrelase are not needed since foreman_chef 0.1.3
44
- { :name => node.name,
44
+ { :name => node.name.downcase,
45
45
  :facts => plain_attributes.merge({
46
46
  :environment => node.chef_environment,
47
47
  :chef_node_name => node.name,
@@ -18,7 +18,7 @@ module ChefHandlerForeman
18
18
  attr_accessor :uploader
19
19
 
20
20
  def report
21
- report = { 'host' => node.fqdn, 'reported_at' => Time.now.utc.to_s }
21
+ report = { 'host' => node.fqdn.downcase, 'reported_at' => Time.now.utc.to_s }
22
22
  report_status = Hash.new(0)
23
23
 
24
24
 
@@ -91,7 +91,7 @@ module ChefHandlerForeman
91
91
 
92
92
  def prepare_run_data
93
93
  run_data = {}
94
- run_data["host"] = node_name
94
+ run_data["host"] = node_name.downcase
95
95
  run_data["reported_at"] = end_time.to_s
96
96
  run_data["status"] = resources_per_status
97
97
 
@@ -1,3 +1,3 @@
1
1
  module ChefHandlerForeman
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef_handler_foreman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marek Hulan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-22 00:00:00.000000000 Z
11
+ date: 2015-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler