sensu-plugins-chef-automate 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: 789b04f3c27965f2998ed6a0f50ff186752b452e
4
- data.tar.gz: 6314bb1a7ca6a3d140e2587e09b5ecec4d1b66a6
3
+ metadata.gz: aa4fbe6a21d98461a12ac4663dfc4d676332f7ba
4
+ data.tar.gz: a943d5a42e59459d956c039e9dcce8308b66f7f3
5
5
  SHA512:
6
- metadata.gz: '08fbbf51f02d7b8c160323b9d066ff9e76c7490c5af02f98dcfb8f554da0fd507ac9ab0e27003fec4c754e4acd9be1fbd44b5581030d7a387a1ebae35a3adc4d'
7
- data.tar.gz: e989ace353e1ef8db15934f4b3c876f9bfa2c4771392373b9feb61f6b29a897bde8339d3f77d9d2f53ddf72bfe1014086eb8360a30c1390cab6218c6f2c4027a
6
+ metadata.gz: a2942a12c9e63e2e34392420ebc0ca25db6ae671b3fc3207c798ac980100f22b363acd0730d0cc59eb9aca5549a19a5ed6064ef15b23f2e594ca19654635f6b4
7
+ data.tar.gz: 9e7c694db766d9aa1c13f82f92aa70acd2f57383ea92f30b1ede4ac5324289fa42321afde2e049aae20cfb08024ed20b36b1a5053a6ba4cd9ee54eb4f6aadcdf
@@ -31,7 +31,7 @@ class AutomateApi
31
31
  end
32
32
 
33
33
  def get_token
34
- token_file = "#{ENV['HOME']}/.automate_sensu_token"
34
+ token_file = "/var/tmp/.automate_sensu_token"
35
35
  grace_period = 3600
36
36
  data = JSON.parse(File.read(token_file)) rescue Hash.new
37
37
  expiry = Time.iso8601(data['expiry']) rescue Time.now
@@ -1,3 +1,3 @@
1
1
  module SensuPluginsChefAutomate
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: sensu-plugins-chef-automate
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
  - Chef Operations
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-23 00:00:00.000000000 Z
11
+ date: 2017-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin