chef-handler-sensu 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -22,7 +22,19 @@ end
22
22
  ```
23
23
 
24
24
  Obviously make sure to copy the ruby file into the `/files/default` directory
25
- of your cookbook as well.
25
+ of your cookbook as well. Alternatively, install it as a Rubygem and source it that way:
26
+
27
+ ```ruby
28
+ chef_gem 'chef-handler-sensu' do
29
+ action :install
30
+ end
31
+
32
+ chef_handler 'SensuCleaner' do
33
+ source ::File.join(Gem.all_load_paths.grep(/chef-handler-sensu/).first,
34
+ 'chef-handler-sensu.rb')
35
+ action :enable
36
+ end
37
+ ```
26
38
 
27
39
  [1] http://docs.opscode.com/essentials_handlers_install.html
28
40
 
Binary file
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'chef-handler-sensu'
3
- s.version = '0.1.0'
3
+ s.version = '0.1.1'
4
4
  s.author = 'Simple Finance'
5
5
  s.email = 'ops@simple.com'
6
6
  s.homepage = 'http://github.com/SimpleFinance/chef-handler-sensu'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-handler-sensu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -17,6 +17,7 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
+ - chef-handler-sensu-0.1.0.gem
20
21
  - chef-handler-sensu.gemspec
21
22
  - lib/chef-handler-sensu.rb
22
23
  - LICENSE