chef-handler-splunkstorm 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/README.md +8 -7
  2. metadata +3 -3
data/README.md CHANGED
@@ -9,20 +9,21 @@ Usage
9
9
 
10
10
  1. Create a [Splunk Storm](https://www.splunkstorm.com) account.
11
11
  2. Retrieve your Splunk Storm [REST API Credentials](http://docs.splunk.com/Documentation/Storm/Beta/User/UseStormsRESTAPI).
12
- 3. Download the [chef_handler](https://github.com/ampledata/chef_handler/tree/feature/COOK-1208_splunkstorm_handler) Cookbook.
13
- 4. Add the **chef_handler** Cookbook to your Run List.
14
- 5. Given you've retrieved your Access Token as **ACCESS_TOKEN** and Project ID
15
- as **PROJECT_ID**, add a chef_handler Resource to one of your Recipes:
12
+ 3. Download the [chef_handler](http://community.opscode.com/cookbooks/chef_handler)
13
+ Cookbook.
14
+ 4. Given you've retrieved your Access Token as **ACCESS_TOKEN** and Project ID
15
+ as **PROJECT_ID**, add a Recipe similar to the example below:
16
16
 
17
17
  ```ruby
18
18
  include_recipe 'chef_handler'
19
19
 
20
- gem_package 'chef-handler-splunkstorm'
20
+ gem_package('chef-handler-splunkstorm'){action :nothing}.run_action(:install)
21
21
 
22
- chef_handler 'SplunkStormHandler' do
22
+ chef_handler 'Chef::Handler::SplunkStorm' do
23
23
  action :enable
24
24
  arguments ['ACCESS_TOKEN', 'PROJECT_ID']
25
- source 'chef/handler/splunkstorm_handler'
25
+ source File.join(Gem.all_load_paths.grep(/chef-handler-splunkstorm/).first,
26
+ 'chef', 'handler', 'splunkstorm.rb')
26
27
  end
27
28
  ```
28
29
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-handler-splunkstorm
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 1
10
+ version: 1.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Greg Albrecht