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

Select Status

RSS

staticip (5) Versions 0.1.0

Configure static ip

Policyfile
Berkshelf
Knife
cookbook 'staticip', '= 0.1.0', :supermarket
cookbook 'staticip', '= 0.1.0'
knife supermarket install staticip
knife supermarket download staticip
README
Dependencies
Quality 0%

staticip Cookbook

Configure static ip

Requirements

Platform

  • Debian/Ubuntu
  • RHEL/CentOS/Scientific
  • Fedora
  • ArchLinux
  • FreeBSD

Recipes

  • default

Usage

Ensure that the nagios server and client are installed and the service is managed with recipe[nagios3].

Attributes List

  • node['staticip']['nic_interface] - Which nic interface to configure ip. Default value is eth0
  • node['staticip']['ipaddress'] - What ip it should configure

Examples and Common usage

Configure eth0 as 192.168.1.103

"staticip": {
  "nic_interface": "eth0",
  "ipaddress": "127.0.0.1"
}

License & Authors

Copyright:: 2015, DennyZhang.com

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

apache2 >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

0.1.0 failed this metric

FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/1b5e5cfe78e38e925d120093/staticip/attributes/default.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/1b5e5cfe78e38e925d120093/staticip/attributes/default.rb:2