/chef-dnsmasq

A Chef cookbook to install dnsmasq and configure it with node attributes.

Primary LanguageRubyMIT LicenseMIT

dnsmasq cookbook

A Chef cookbook to install dnsmasq and configure it with node attributes.

Overview

See attributes/default.rb

Running the tests

This cookbook uses the Foodcritic linter, ChefSpec for unit testing, and ServerSpec for integration testing via Test Kitchen with the kitchen-docker driver.

It's not as complicated as it sounds, but you will need to have Docker installed.

  1. git clone git@github.com:logankoester/chef-dnsmasq.git
  2. cd chef-website
  3. bundle install
  4. bundle exec rake

This will run all of the tests once. While developing, run bundle exec guard start and the relevant tests will run automatically when you save a file.

Author

Copyright (c) 2016 Logan Koester. Released under the MIT license. See LICENSE for details.