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

udev (2) Versions 0.1.0

udev rules configuration.

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

Description

Manages changing settings for udev configuration. Currently only only supports configuring network device ordering at boot.

Recipes

net

Populates the /etc/udev/rules.d/70-persistent-net.rules with the ['udev']['net'] hash, with keys of ethernet devices (ie. 'eth0') and values of mac addresses.

Usage

Set the ['udev']['net'] hash with the eth devices in the order desired with their mac addresses. Upon reboot, the ordering will take effect. Works well with the pxe_dust cookbook to set the order while provisioning the operating system.

Here is an example role:

name "udev"
description "Configure udev"
run_list(
  "recipe[udev::net]"
  )
default_attributes(
  "udev" => {
    "net" => {
      "eth0" => "00:0c:29:49:84:33",
      "eth1" => "00:0c:29:49:84:29"
    }
  })

License and Author

Author:: Matt Ray (matt@opscode.com)

Copyright 2012 Opscode, Inc.

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

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found