sensu-plugins-chef 0.0.1.alpha.1 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -3
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +10 -2
- data/LICENSE +1 -1
- data/README.md +5 -37
- data/lib/sensu-plugins-chef.rb +10 -3
- data/lib/sensu-plugins-chef/version.rb +28 -0
- metadata +17 -14
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f39f6df42c3c854dd0470d57fdadf1eff02fb7e7
|
4
|
+
data.tar.gz: f888e15d4b42362e558e40836d268218715349f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b3244cfbf90c8e83ecbb57db16c1b6f939242715b233fba4c4afc60b31796ecc437e548aeab96be9858211222df4fa59ca54b3b2227a35ab1adc8adc8dd4539
|
7
|
+
data.tar.gz: 52009b1e1ffb3f04bd8a33ffe9f0277b0876aa3a7601ff2345552e3cca83e64152f8ccf7f0eaf22c7be0829ba72ea1454aeafb06b13b5741a604baff6d985dec
|
checksums.yaml.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
��2�D�=,�F�nzV痎�a.%�W��rwԇ��NV���7奙U�T-�%H��ST���N+��j�
|
1
|
+
"�Y��@��?�5f 5Y�Q���i*���w<'�|�M������ɤh�ø�~F.��|c���[�TD��v�e5���o(A`�.��[p�6\�G��<*uflR�v<�n�ᖗ^V� ��Y�-��ys?�Kv�R�5�)c�o�hձZ(��?��Fw�Cy9g/o�-o�?�{�T�ܬ�f�n-]2��
|
2
|
+
�:�]_�T�aX���!&kY�����W�a��:+#J4$] ,�k�!H�@
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
Change Log
|
2
2
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
3
3
|
|
4
|
-
|
4
|
+
#Change Log
|
5
|
+
This project adheres to [Semantic Versioning](http://semver.org/).
|
6
|
+
|
7
|
+
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
8
|
+
|
9
|
+
## Unreleased][unreleased]
|
10
|
+
|
11
|
+
## 0.0.1 - 2015-05-04
|
5
12
|
|
6
|
-
|
13
|
+
### Added
|
14
|
+
- initial release
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -5,51 +5,19 @@
|
|
5
5
|
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-chef/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-chef)
|
6
6
|
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-chef/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-chef)
|
7
7
|
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-chef.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-chef)
|
8
|
+
[ ![Codeship Status for sensu-plugins/sensu-plugins-chef](https://codeship.com/projects/9ffac250-d4b5-0132-cbb6-0e210ac4c62f/status?branch=master)](https://codeship.com/projects/77870)
|
8
9
|
|
9
10
|
## Functionality
|
10
11
|
|
11
12
|
## Files
|
12
|
-
* bin/check-chef-nodes
|
13
|
-
* bin/check-chef-server
|
14
|
-
* bin/handler-chef-node
|
13
|
+
* bin/check-chef-nodes.rb
|
14
|
+
* bin/check-chef-server.rb
|
15
|
+
* bin/handler-chef-node.rb
|
15
16
|
|
16
17
|
## Usage
|
17
18
|
|
18
19
|
## Installation
|
19
20
|
|
20
|
-
|
21
|
-
|
22
|
-
```
|
23
|
-
gem cert --add <(curl -Ls https://raw.githubusercontent.com/sensu-plugins/sensu-plugins.github.io/master/certs/sensu-plugins.pem)
|
24
|
-
gem install sensu-plugins-chef -P MediumSecurity
|
25
|
-
```
|
26
|
-
|
27
|
-
You can also download the key from /certs/ within each repository.
|
28
|
-
|
29
|
-
#### Rubygems
|
30
|
-
|
31
|
-
`gem install sensu-plugins-chef`
|
32
|
-
|
33
|
-
#### Bundler
|
34
|
-
|
35
|
-
Add *sensu-plugins-chef* to your Gemfile and run `bundle install` or `bundle update`
|
36
|
-
|
37
|
-
#### Chef
|
38
|
-
|
39
|
-
Using the Sensu **sensu_gem** LWRP
|
40
|
-
```
|
41
|
-
sensu_gem 'sensu-plugins-chef' do
|
42
|
-
options('--prerelease')
|
43
|
-
version '0.0.1'
|
44
|
-
end
|
45
|
-
```
|
46
|
-
|
47
|
-
Using the Chef **gem_package** resource
|
48
|
-
```
|
49
|
-
gem_package 'sensu-plugins-chef' do
|
50
|
-
options('--prerelease')
|
51
|
-
version '0.0.1'
|
52
|
-
end
|
53
|
-
```
|
21
|
+
[Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md)
|
54
22
|
|
55
23
|
## Notes
|
data/lib/sensu-plugins-chef.rb
CHANGED
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'json'
|
2
|
+
|
3
|
+
# encoding: utf-8
|
4
|
+
module SensuPluginsChef
|
5
|
+
# This defines the version of the gem
|
6
|
+
module Version
|
7
|
+
MAJOR = 0
|
8
|
+
MINOR = 0
|
9
|
+
PATCH = 1
|
10
|
+
|
11
|
+
VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
|
12
|
+
|
13
|
+
NAME = 'sensu-plugins-chef'
|
14
|
+
BANNER = "#{NAME} v%s"
|
15
|
+
|
16
|
+
module_function
|
17
|
+
|
18
|
+
def version
|
19
|
+
format(BANNER, VER_STRING)
|
20
|
+
end
|
21
|
+
|
22
|
+
def json_version
|
23
|
+
{
|
24
|
+
'version' => VER_STRING
|
25
|
+
}.to_json
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-chef
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
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
|
33
|
+
date: 2015-05-04 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: chef
|
@@ -92,16 +92,16 @@ dependencies:
|
|
92
92
|
name: rubocop
|
93
93
|
requirement: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- -
|
95
|
+
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.
|
97
|
+
version: '0.30'
|
98
98
|
type: :development
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
|
-
- -
|
102
|
+
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: 0.
|
104
|
+
version: '0.30'
|
105
105
|
- !ruby/object:Gem::Dependency
|
106
106
|
name: rspec
|
107
107
|
requirement: !ruby/object:Gem::Requirement
|
@@ -213,14 +213,18 @@ files:
|
|
213
213
|
- bin/check-chef-server.rb
|
214
214
|
- bin/handler-chef-node.rb
|
215
215
|
- lib/sensu-plugins-chef.rb
|
216
|
+
- lib/sensu-plugins-chef/version.rb
|
216
217
|
homepage: https://github.com/sensu-plugins/sensu-plugins-chef
|
217
218
|
licenses:
|
218
219
|
- MIT
|
219
220
|
metadata:
|
220
|
-
maintainer:
|
221
|
-
development_status:
|
221
|
+
maintainer: "@mattyjones"
|
222
|
+
development_status: active
|
222
223
|
production_status: unstable - testing recommended
|
223
|
-
|
224
|
+
releae_draft: 'false'
|
225
|
+
release_prerelease: 'false'
|
226
|
+
post_install_message: You can use the embedded Ruby by setting EMBEDDED_RUBY=true
|
227
|
+
in /etc/default/sensu
|
224
228
|
rdoc_options: []
|
225
229
|
require_paths:
|
226
230
|
- lib
|
@@ -231,14 +235,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
231
235
|
version: 1.9.3
|
232
236
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
233
237
|
requirements:
|
234
|
-
- - "
|
238
|
+
- - ">="
|
235
239
|
- !ruby/object:Gem::Version
|
236
|
-
version:
|
240
|
+
version: '0'
|
237
241
|
requirements: []
|
238
242
|
rubyforge_project:
|
239
|
-
rubygems_version: 2.
|
243
|
+
rubygems_version: 2.4.6
|
240
244
|
signing_key:
|
241
245
|
specification_version: 4
|
242
246
|
summary: Sensu plugins for chef
|
243
247
|
test_files: []
|
244
|
-
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|