GithubHelp home page GithubHelp logo

chrisminton / chef-dhcp-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dennybaa/chef-dhcp-client

0.0 1.0 0.0 160 KB

The ISC DHCP Client cookbook

License: Apache License 2.0

Ruby 88.48% HTML 11.52%

chef-dhcp-client's Introduction

dhcp-client cookbook

This simple cookbook handles basic configuration of ISC dhcp-client.

Requirements

The cookbook is supposed to work on debian flavors including ubuntu.

Usage

Include recipe[dhcp-client] and you are in. Set the options and you are ready to use.

Configuration options are not so broad and allow you only simple request functionality. Use dhcp6_enabled and resolv_conf_update to enable/disable specific request options. The main reason of this cookbook to exist is disabling resolv.conf changing which might undesirable on a server, but to fully achieve this goal the usage of the resolvconf cookbook is highly recommended.

Attributes

Here's the supported list of attributes, dhcp-client base attribute is omitted.

  • dhcp6_enabled enables/disables requesting dhcp6 options. By default is set to true except for ubuntu 10.04 for which it's disabled.
  • resolv_conf_update enables/disables requesting options which update resolv.conf nameserver and search options. Default is true.
  • request/default_options sets the list of default request options of isc dhcp-client. Defined in the attribute file.
  • request/resolv_options sets the list of request options which change resolv.conf search, nameserver values. Defined in the attribute file.
  • request/dhcp6_options sets the list of request options which are specific for dhcp6 mode. Defined in the attribute file.

Request options are evaluated in the cookbook and assigned to the default level attribute request/options.

Author

Author:: Denis Baryshev ([email protected])

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.