chef-handler-splunkstorm 1.1.0 → 1.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 +8 -7
- 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](
|
13
|
-
|
14
|
-
|
15
|
-
as **PROJECT_ID**, add a
|
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
|
20
|
+
gem_package('chef-handler-splunkstorm'){action :nothing}.run_action(:install)
|
21
21
|
|
22
|
-
chef_handler '
|
22
|
+
chef_handler 'Chef::Handler::SplunkStorm' do
|
23
23
|
action :enable
|
24
24
|
arguments ['ACCESS_TOKEN', 'PROJECT_ID']
|
25
|
-
source
|
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:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 1
|
10
|
+
version: 1.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Greg Albrecht
|