{
  "name": "netstat",
  "description": "Installs netstat network tool. Recommended for Docker containers.",
  "long_description": "Netstat Cookbook\n================\n[![Cookbook Version](https://img.shields.io/cookbook/v/netstat.svg?style=flat)](https://supermarket.chef.io/cookbooks/netstat)\n[![Dependency Status](http://img.shields.io/gemnasium/zuazo/netstat-cookbook.svg?style=flat)](https://gemnasium.com/zuazo/netstat-cookbook)\n[![Build Status](http://img.shields.io/travis/zuazo/netstat-cookbook/0.1.0.svg?style=flat)](https://travis-ci.org/zuazo/netstat-cookbook)\n\n[Chef](https://www.chef.io/) cookbook to install `netstat` network tool. Recommended for [Docker](https://www.docker.com/) containers.\n\nRequirements\n============\n\n## Supported Platforms\n\nThis cookbook has been tested on the following platforms:\n\n* Amazon Linux\n* CentOS\n* Debian\n* Fedora\n* openSUSE\n* Oracle Linux\n* RedHat\n* SUSE\n* Ubuntu\n\nPlease, [let me know](https://github.com/zuazo/netstat-cookbook/issues/new?title=I%20have%20used%20it%20successfully%20on%20...) if you use it successfully on any other platform.\n\n## Required Applications\n\n* Ruby `1.9.3` or higher.\n\nPlatform Support Related Attributes\n===================================\n\nSome cookbook attributes are used internally to support the different platforms. Surely you want to change them if you want to support new platforms or want to improve the support of some platforms already supported.\n\n| Attribute                     | Default       | Description                      |\n|-------------------------------|:-------------:|----------------------------------|\n| `node['netstat']['packages']` | *calculated*  | Package list to install netstat. |\n\nRecipes\n=======\n\n## netstat::default\n\nInstalls netstat.\n\nUsage Examples\n==============\n\n## Including in a Cookbook Recipe\n\nYou can simply include it in a recipe:\n\n```ruby\ninclude_recipe 'netstat'\n```\n\nDon't forget to include the `netstat` cookbook as a dependency in the metadata.\n\n```ruby\n# metadata.rb\n# [...]\n\ndepends 'netstat'\n```\n\n## Including in the Run List\n\nAnother alternative is to include the default recipe in your *Run List*:\n\n```json\n{\n  \"name\": \"www.example.com\",\n  \"[...]\": \"[...]\",\n  \"run_list\": [\n    \"recipe[netstat]\"\n  ]\n}\n```\n\nDeploy with Docker\n==================\n\nYou can use the *Dockerfile* included in the [cookbook source code](https://github.com/zuazo/netstat-cookbook) to run the cookbook inside a container:\n\n    $ docker build -t chef-netstat .\n    $ docker run -ti chef-netstat netstat -nptua\n\nThe sample *Dockerfile*:\n\n```Dockerfile\nFROM zuazo/chef-local:debian-7\n\nCOPY . /tmp/netstat\nRUN berks vendor -b /tmp/netstat/Berksfile $COOKBOOK_PATH\nRUN chef-client -r \"recipe[apt],recipe[netstat]\"\n\nCMD [\"netstat\", \"-nptua\"]\n```\n\nSee the [chef-local container documentation](https://registry.hub.docker.com/u/zuazo/chef-local/) for more examples.\n\nTesting\n=======\n\nSee [TESTING.md](https://github.com/zuazo/netstat-cookbook/blob/master/TESTING.md).\n\nContributing\n============\n\nPlease do not hesitate to [open an issue](https://github.com/zuazo/netstat-cookbook/issues/new) with any questions or problems.\n\nSee [CONTRIBUTING.md](https://github.com/zuazo/netstat-cookbook/blob/master/CONTRIBUTING.md).\n\nTODO\n====\n\nSee [TODO.md](https://github.com/zuazo/netstat-cookbook/blob/master/TODO.md).\n\n\nLicense and Author\n=====================\n\n|                      |                                          |\n|:---------------------|:-----------------------------------------|\n| **Author:**          | [Xabier de Zuazo](https://github.com/zuazo) (<xabier@zuazo.org>)\n| **Copyright:**       | Copyright (c) 2015, Xabier de Zuazo\n| **License:**         | Apache License, Version 2.0\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n    \n        http://www.apache.org/licenses/LICENSE-2.0\n    \n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n",
  "maintainer": "Xabier de Zuazo",
  "maintainer_email": "xabier@zuazo.org",
  "license": "Apache 2.0",
  "platforms": {
    "amazon": ">= 0.0.0",
    "centos": ">= 0.0.0",
    "debian": ">= 0.0.0",
    "fedora": ">= 0.0.0",
    "opensuse": ">= 0.0.0",
    "oraclelinux": ">= 0.0.0",
    "redhat": ">= 0.0.0",
    "suse": ">= 0.0.0",
    "ubuntu": ">= 0.0.0"
  },
  "dependencies": {

  },
  "recommendations": {

  },
  "suggestions": {

  },
  "conflicting": {

  },
  "providing": {

  },
  "replacing": {

  },
  "attributes": {
    "netstat/packages": {
      "display_name": "netstat packages",
      "description": "Package list to install netstat.",
      "type": "array",
      "required": "recommended",
      "calculated": true,
      "choice": [

      ],
      "recipes": [

      ]
    }
  },
  "groupings": {

  },
  "recipes": {
    "netstat::default": "Installs netstat."
  },
  "version": "0.1.0",
  "source_url": "",
  "issues_url": ""
}
