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

fb_dnsmasq (1) Versions 0.1.0

Installs/Configures fb_dnsmasq

Berkshelf
Policyfile
Knife
cookbook 'fb_dnsmasq', '~> 0.1.0'
cookbook 'fb_dnsmasq', '~> 0.1.0', :supermarket
knife cookbook site install fb_dnsmasq
knife cookbook site download fb_dnsmasq
README
Dependencies
Quality 50%

fb_dnsmasq Cookbook

This cookbook installs and configures dnsmasq, a small caching DNS proxy and DHCP/TFTP server.

Requirements

Attributes

  • node['fb_dnsmasq']['config']
  • node['fb_dnsmasq']['enable']

Usage

Include fb_dnsmasq in your runlist to install dnsmasq. By default we enable the daemon, set node['fb_dnsmasq']['enable'] to false to disable it. Configuration can be customized using node['fb_dnsmasq']['config'] according to the upstream documentation. Example:

node.default['fb_dnsmasq']['config'] = {
  'dhcp-authoritative' => nil,
  'dhcp-range' => [
    '192.168.1.100,192.168.1.200,12h',
    '::1,constructor:eth0,ra-stateless,ra-names',
   ],
  'enable-ra' => nil,
  'server' => [
    '8.8.8.8',
    '8.8.4.4',
   ],
  'no-resolv' => nil,
  'read-ethers' => nil,
}

Unless the no-hosts config option is set, dnsmasq will read hostname to IP mappings from /etc/hosts. This can be customized using the API provided by the fb_hosts cookbook.

If the read-ethers config option is set, dnsmasq will read mac address to hostname mappings from /etc/ethers. This can be customized using the API provided by the fb_ethers cookbook.

Dependent cookbooks

fb_hosts >= 0.0.0
fb_ethers >= 0.0.0

Contingent cookbooks

fb_init_sample Applicable Versions

Collaborator Number Metric
            

0.1.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.0 passed this metric

Foodcritic Metric
            

0.1.0 failed this metric

FC064: Ensure issues_url is set in metadata: fb_dnsmasq/metadata.rb:1
FC066: Ensure chef_version is set in metadata: fb_dnsmasq/metadata.rb:1
Run with Foodcritic Version 13.1.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.1.0 passed this metric

Publish Metric
            

0.1.0 passed this metric

Supported Platforms Metric
            

0.1.0 passed this metric

Testing File Metric
            

0.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number