Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

chef-splunk-windows (6) Versions 0.4.7

Installs and configures the Splunk Universal Forwarder on Windows servers

Berkshelf/Librarian
Policyfile
Knife
cookbook 'chef-splunk-windows', '= 0.4.7'
cookbook 'chef-splunk-windows', '= 0.4.7', :supermarket
knife cookbook site install chef-splunk-windows
knife cookbook site download chef-splunk-windows
README
Dependencies
Quality

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

  1. Indicate your acceptence of the Splunk license by adding ['splunk']['accept_license'] = 'true' to your node's attributes
  2. Include chef-splunk-windows in your node's run_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

  1. 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.
  2. Include chef-splunk-windows::windows_ta in your node's run_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

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

windows ~> 1.34
chef-vault >= 1.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

0.4.7 failed this metric

FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/c2ee750446c30cd2a0fe9f76/chef-splunk-windows/recipes/client.rb:20
FC009: Resource attribute not recognised: /tmp/cook/c2ee750446c30cd2a0fe9f76/chef-splunk-windows/recipes/setup_auth.rb:25
FC031: Cookbook without metadata file: /tmp/cook/c2ee750446c30cd2a0fe9f76/chef-splunk-windows/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/c2ee750446c30cd2a0fe9f76/chef-splunk-windows/metadata.rb:1