chef-handler-slnky 0.1.2 → 0.1.3

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: 0f84a23c80e0f8df32b75086e92d83502a5e25db
4
- data.tar.gz: 50e67b1edda751bd9cb7be31da4e5f28288146ba
3
+ metadata.gz: 7fae3e419bfc6760e879bfad10a7786783ec452d
4
+ data.tar.gz: 6c60de1bf66e5c1aac5e0bcf9013b0cafc77e057
5
5
  SHA512:
6
- metadata.gz: d8c8e877a4ad738f696ef8c8713cd1e17be6213091769d5e7a7aaffe238b1dcb351a29d872ccd17c2b65dc33dcc4e17c8730cbb676fee4eec05487287352dd56
7
- data.tar.gz: 0953c5a2381fd9cf52c07287f02cf05a082afcceb757406db7413cf172c65a2ce0a94fd6b96ce053e789c407512bb3dcf41f0a7f1b768ee58a1d9c5c2ae66905
6
+ metadata.gz: 36a11c579fcc82dc97e20449df1975769593468b40355a4be915ebf47e6789ec3efe32f2f2f8b192cf998ec0334e2155ecda0403758265ded9803319234ff601
7
+ data.tar.gz: 86d62a86807014f6ba7331a191d2808ee0c6fbb0cbbf6bb2aa1247e32ccd02a55622f29f3d423052a57836419698ac59a606751a4aa8c0dd3601f73ef9c60582
data/README.md CHANGED
@@ -38,10 +38,14 @@ Use the
38
38
  [chef_handler cookbook by Opscode](http://community.opscode.com/cookbooks/chef_handler).
39
39
  Create a recipe with the following:
40
40
 
41
+ include_recipe 'chef_handler::default'
42
+
41
43
  # Install the `chef-handler-slnky` RubyGem during the compile phase
42
- chef_gem "chef-handler-slnky"
43
- node.set['slnky']['url']
44
-
44
+ chef_gem "chef-handler-slnky" do
45
+ action :upgrade
46
+ end
47
+ node.set['slnky']['url'] = 'http://127.0.0.1:3000/'
48
+
45
49
  # Then activate the handler with the `chef_handler` LWRP
46
50
  chef_handler "Chef::Handler::SlnkyHandler" do
47
51
  source "chef/handler/slnky"
@@ -15,8 +15,8 @@ class Chef
15
15
  exception: run_status.exception,
16
16
  updated: run_status.updated_resources,
17
17
  }
18
- msg = Slnky::Message.new(data)
19
- Slnky.notify(msg, server)
18
+ msg = ::Slnky::Message.new(data)
19
+ ::Slnky.notify(msg, server)
20
20
  end
21
21
  end
22
22
  end
@@ -1,7 +1,7 @@
1
1
  class Chef
2
2
  class Handler
3
3
  class Slnky
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-handler-slnky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shawn Catanzarite