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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa4fbe6a21d98461a12ac4663dfc4d676332f7ba
|
4
|
+
data.tar.gz: a943d5a42e59459d956c039e9dcce8308b66f7f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 = "
|
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
|
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.
|
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-
|
11
|
+
date: 2017-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|