dis-xcom / salt-dnsmasq

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dnsmasq

Service dnsmasq description

Sample pillars

Single dnsmasq service

dnsmasq:
  server:
    enabled: true
    version: icehouse

Development and testing

Development and test workflow with Test Kitchen and kitchen-salt provisioner plugin.

Test Kitchen is a test harness tool to execute your configured code on one or more platforms in isolation. There is a .kitchen.yml in main directory that defines platforms to be tested and suites to execute on them.

Kitchen CI can spin instances locally or remote, based on used driver. For local development .kitchen.yml defines a vagrant or docker driver.

To use backend drivers or implement your CI follow the section `INTEGRATION.rst#Continuous Integration`__.

The Busser Verifier is used to setup and run tests implementated in <repo>/test/integration. It installs the particular driver to tested instance (Serverspec, InSpec, Shell, Bats, ...) prior the verification is executed.

Usage:

# list instances and status
kitchen list

# manually execute integration tests
kitchen [test || [create|converge|verify|exec|login|destroy|...]] [instance] -t tests/integration

# use with provided Makefile (ie: within CI pipeline)
make kitchen

Read more

  • links

About

License:Other


Languages

Language:SaltStack 41.6%Language:Shell 34.3%Language:Makefile 19.0%Language:HTML 5.1%