cookbook 'chef-splunk-windows', '= 0.4.5'
chef-splunk-windows (6) Versions 0.4.5 Follow7
Installs and configures the Splunk Universal Forwarder on Windows servers
cookbook 'chef-splunk-windows', '= 0.4.5', :supermarket
knife supermarket install chef-splunk-windows
knife supermarket download chef-splunk-windows
chef-splunk-windows-cookbook
This cookbook installs and configures a Splunk universal forwarder on a Windows server. It is intended to complement the chef-splunk cookbook: https://supermarket.getchef.com/cookbooks/chef-splunk.
Supported Platforms
Windows Server 2003 and above. PowerShell is required for the domaincontroller_ta recipe.
Usage
chef-splunk-windows::default
- Indicate your acceptence of the Splunk license by adding
['splunk']['accept_license'] = 'true'
to your node's attributes - Include
chef-splunk-windows
in your node'srun_list
along with any other relevant attributes:
{ "default_attributes": { "splunk": { "accept_license": true } }, "run_list": [ "recipe[chef-splunk-windows::default]" ] }
chef-splunk-windows::windows_ta
- Upload the Windows Technology Add-on installer to your local webserver and update your node's attributes (noted below) to reflect your URL & SHA-256 checksum.
- Include
chef-splunk-windows::windows_ta
in your node'srun_list
along with any other relevant attributes:
{ "default_attributes": { "splunk": { "windows_ta": { "checksum": "SHA256CHECKSUMHERE", "url": "http://example.server.internal/splunkwindowstainstaller.zip" } } }, "run_list": [ "recipe[chef-splunk-windows::default]", "recipe[chef-splunk-windows::windows_ta]" ] }
License and Authors
- Author:: Jared King jared.king@biola.edu
Copyright 2014, Biola University Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Dependent cookbooks
chef-vault ~> 1.1.2 |
windows ~> 1.34 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Foodcritic Metric
0.4.5 failed this metric
FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/2e283c09d4b1fe97716ded23/chef-splunk-windows/recipes/client.rb:20
FC009: Resource attribute not recognised: /tmp/cook/2e283c09d4b1fe97716ded23/chef-splunk-windows/recipes/setup_auth.rb:25
FC031: Cookbook without metadata file: /tmp/cook/2e283c09d4b1fe97716ded23/chef-splunk-windows/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/2e283c09d4b1fe97716ded23/chef-splunk-windows/metadata.rb:1
0.4.5 failed this metric
FC009: Resource attribute not recognised: /tmp/cook/2e283c09d4b1fe97716ded23/chef-splunk-windows/recipes/setup_auth.rb:25
FC031: Cookbook without metadata file: /tmp/cook/2e283c09d4b1fe97716ded23/chef-splunk-windows/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/2e283c09d4b1fe97716ded23/chef-splunk-windows/metadata.rb:1