sensu-plugins-ssl 0.0.1.alpha.2 → 0.0.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: a5c3ae38975b113c0af5a4ef40399a279531617d
4
- data.tar.gz: 2611fd5f9b5a8c5e4a09e34541baa7c444ef510c
3
+ metadata.gz: 2e256afe06eb0c4feddeacf394ec8a3b3d611028
4
+ data.tar.gz: d48dc48ae586950e4fffc0e4775c47760201e319
5
5
  SHA512:
6
- metadata.gz: 3ec4ce9faafb0fc4eac90adfa3651599fe9de4486d233cb80ec58df38528ab6e94d7fda247ed47409d8a6b12dbbb008812cbef74181c49e868fc301acba39a1d
7
- data.tar.gz: f6998bf1497f6f18f499579a5682bf6f35fc6be364d33cde56379ba838322abc5513f6fcf3c6747ad1a8620b83212c6c247e28d4ff7a01ac794e104a73ef1328
6
+ metadata.gz: 6e3fb8934d62f013182cd65d600d1112644d4b1cebf1a83938bff3f4b280f960f47b8fb91986a6aeebed5875a16599c562df5d75103b681068f03f2f04cdfb95
7
+ data.tar.gz: a7afbdf26b6a0fcc34c9cf9d5aaf2550a0d4ffb0c0efb8219f12b3e93f3cf6cb9897c82c8f2893cb706c9c049aa28fd239b476a8b9fe307bf89bf965b02fd887
@@ -1 +1 @@
1
- �n�[P�=�d���>V�}�׾��V���ȾC�zML>Cx�^��I/�DmT��<ݝ���c h̏���Ŵ�‹�J���!�(�H��&��I���E���� ԱOg7vfc`��,u/]}���oe����rv���}ڻxCc�D�d��
1
+ ��5Ro��}xU���c[Â�tmY:��Xܔ��Bz';L��M�C��ПBŁ/y�\�rW��I��]�(�?��hs|��)jЌc���Bn���^��W�ۤ�чp)=إ8qo:@�{���
data.tar.gz.sig CHANGED
Binary file
@@ -1,12 +1,11 @@
1
- #### 0.0.1.alpha.1
1
+ #Change Log
2
+ This project adheres to [Semantic Versioning](http://semver.org/).
2
3
 
3
- * identical functionality of the community repo
4
+ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
4
5
 
5
- #### 0.0.1.alpha.1
6
+ ## Unreleased][unreleased]
6
7
 
7
- * add new vagrantfile
8
- * add metadata to gem
9
- * add new bump and version tasks
10
- * add new version module
11
- * update readme
8
+ ## 0.0.1 - 2015-05-21
12
9
 
10
+ ### Added
11
+ - initial release
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2015 devops@yieldbot.com
1
+ Copyright (c) 2015 Sensu-Plugins
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -5,6 +5,7 @@
5
5
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-ssl/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-ssl)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-ssl/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-ssl)
7
7
  [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-ssl.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-ssl)
8
+ [ ![Codeship Status for sensu-plugins/sensu-plugins-ssl](https://codeship.com/projects/0bf85270-e2a9-0132-4a62-0ebe16c39f2d/status?branch=master)](https://codeship.com/projects/81513)
8
9
 
9
10
  ## Functionality
10
11
 
@@ -16,39 +17,6 @@
16
17
 
17
18
  ## Installation
18
19
 
19
- Add the public key (if you haven’t already) as a trusted certificate
20
-
21
- ```
22
- gem cert --add <(curl -Ls https://raw.githubusercontent.com/sensu-plugins/sensu-plugins.github.io/master/certs/sensu-plugins.pem)
23
- gem install sensu-plugins-ssl -P MediumSecurity
24
- ```
25
-
26
- You can also download the key from /certs/ within each repository.
27
-
28
- #### Rubygems
29
-
30
- `gem install sensu-plugins-ssl`
31
-
32
- #### Bundler
33
-
34
- Add *sensu-plugins-ssl* to your Gemfile and run `bundle install` or `bundle update`
35
-
36
- #### Chef
37
-
38
- Using the Sensu **sensu_gem** LWRP
39
- ```
40
- sensu_gem 'sensu-plugins-ssl' do
41
- options('--prerelease')
42
- version '0.0.1.alpha.1'
43
- end
44
- ```
45
-
46
- Using the Chef **gem_package** resource
47
- ```
48
- gem_package 'sensu-plugins-ssl' do
49
- options('--prerelease')
50
- version '0.0.1.alpha.1'
51
- end
52
- ```
20
+ [Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md)
53
21
 
54
22
  ## Notes
@@ -64,7 +64,7 @@ class CheckSSLCert < Sensu::Plugin::Check::CLI
64
64
  long: '--port PORT'
65
65
 
66
66
  def ssl_cert_expiry
67
- `openssl s_client -connect #{config[:host]}:#{config[:port]} < /dev/null 2>&1 | openssl x509 -enddate -noout`.split('=').last
67
+ `openssl s_client -servername #{config[:host]} -connect #{config[:host]}:#{config[:port]} < /dev/null 2>&1 | openssl x509 -enddate -noout`.split('=').last
68
68
  end
69
69
 
70
70
  def ssl_pem_expiry
@@ -109,7 +109,7 @@ class CheckSSLHost < Sensu::Plugin::Check::CLI
109
109
  # CA.
110
110
  valid = true
111
111
  parent = nil
112
- certs.reverse.each do |c|
112
+ certs.reverse_each do |c|
113
113
  if parent
114
114
  valid &= c.verify(parent.public_key)
115
115
  end
@@ -8,7 +8,7 @@ module SensuPluginsSSL
8
8
  MINOR = 0
9
9
  PATCH = 1
10
10
 
11
- VER_STRING = [MAJOR, MINOR, PATCH, 'alpha.2'].compact.join('.')
11
+ VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
12
12
 
13
13
  NAME = 'sensu-plugins-ssl'
14
14
  BANNER = "#{NAME} v%s"
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-ssl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.alpha.2
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
- - Yieldbot, Inc. and contributors
7
+ - Sensu-Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
@@ -30,7 +30,7 @@ cert_chain:
30
30
  8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
31
31
  HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
32
32
  -----END CERTIFICATE-----
33
- date: 2015-04-07 00:00:00.000000000 Z
33
+ date: 2015-05-22 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: sensu-plugin
@@ -46,6 +46,20 @@ dependencies:
46
46
  - - '='
47
47
  - !ruby/object:Gem::Version
48
48
  version: 1.1.0
49
+ - !ruby/object:Gem::Dependency
50
+ name: openssl
51
+ requirement: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - '='
54
+ - !ruby/object:Gem::Version
55
+ version: 1.0.0.beta
56
+ type: :runtime
57
+ prerelease: false
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - '='
61
+ - !ruby/object:Gem::Version
62
+ version: 1.0.0.beta
49
63
  - !ruby/object:Gem::Dependency
50
64
  name: codeclimate-test-reporter
51
65
  requirement: !ruby/object:Gem::Requirement
@@ -61,33 +75,33 @@ dependencies:
61
75
  - !ruby/object:Gem::Version
62
76
  version: '0.4'
63
77
  - !ruby/object:Gem::Dependency
64
- name: rubocop
78
+ name: rspec
65
79
  requirement: !ruby/object:Gem::Requirement
66
80
  requirements:
67
- - - '='
81
+ - - "~>"
68
82
  - !ruby/object:Gem::Version
69
- version: 0.17.0
83
+ version: '3.1'
70
84
  type: :development
71
85
  prerelease: false
72
86
  version_requirements: !ruby/object:Gem::Requirement
73
87
  requirements:
74
- - - '='
88
+ - - "~>"
75
89
  - !ruby/object:Gem::Version
76
- version: 0.17.0
90
+ version: '3.1'
77
91
  - !ruby/object:Gem::Dependency
78
- name: rspec
92
+ name: rubocop
79
93
  requirement: !ruby/object:Gem::Requirement
80
94
  requirements:
81
95
  - - "~>"
82
96
  - !ruby/object:Gem::Version
83
- version: '3.1'
97
+ version: '0.30'
84
98
  type: :development
85
99
  prerelease: false
86
100
  version_requirements: !ruby/object:Gem::Requirement
87
101
  requirements:
88
102
  - - "~>"
89
103
  - !ruby/object:Gem::Version
90
- version: '3.1'
104
+ version: '0.30'
91
105
  - !ruby/object:Gem::Dependency
92
106
  name: bundler
93
107
  requirement: !ruby/object:Gem::Requirement
@@ -172,7 +186,7 @@ dependencies:
172
186
  - - "~>"
173
187
  - !ruby/object:Gem::Version
174
188
  version: '0.10'
175
- description: Sensu plugins for checking ssl
189
+ description: Sensu plugins for working with SSL
176
190
  email: "<sensu-users@googlegroups.com>"
177
191
  executables: []
178
192
  extensions: []
@@ -192,7 +206,10 @@ metadata:
192
206
  maintainer: ''
193
207
  development_status: active
194
208
  production_status: unstable - testing recommended
195
- post_install_message:
209
+ release_draft: 'false'
210
+ release_prerelease: 'false'
211
+ post_install_message: You can use the embedded Ruby by setting EMBEDDED_RUBY=true
212
+ in /etc/default/sensu
196
213
  rdoc_options: []
197
214
  require_paths:
198
215
  - lib
@@ -203,14 +220,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
203
220
  version: 1.9.3
204
221
  required_rubygems_version: !ruby/object:Gem::Requirement
205
222
  requirements:
206
- - - ">"
223
+ - - ">="
207
224
  - !ruby/object:Gem::Version
208
- version: 1.3.1
225
+ version: '0'
209
226
  requirements: []
210
227
  rubyforge_project:
211
- rubygems_version: 2.2.2
228
+ rubygems_version: 2.4.6
212
229
  signing_key:
213
230
  specification_version: 4
214
- summary: Sensu plugins for checking ssl
231
+ summary: Sensu plugins for working with ssl
215
232
  test_files: []
216
- has_rdoc:
metadata.gz.sig CHANGED
Binary file