Forge Home

mesosdns

Puppet module for mesos-dns - An DNS-based service discovery for Mesos.

14,245 downloads

6,827 latest version

4.3 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.1.4 (latest)
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0 (deleted)
released Jan 11th 2017
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >=3.4.0 <5.0.0

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'intelliad-mesosdns', '0.1.4'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add intelliad-mesosdns
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install intelliad-mesosdns --version 0.1.4

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

intelliad/mesosdns — version 0.1.4 Jan 11th 2017

Mesos-DNS Puppet Module

Puppet Forge Puppet Forge score Build Status

Manage Mesos-DNS - An DNS-based service discovery for Mesos.

Usage

Example with default config and master is set via zookeeper url

class{'mesosdns':
    mesos_zk => 'zk://localhost:2181/mesos',
}

Example with default config and master is set via mesos master address

class{'mesosdns':
  mesos_master => ['localhost:5050'],
}

Its also possible to set both mesos master and zookeeper, mesos-dns uses both.

class{'mesosdns':
  mesos_zk => 'zk://localhost:2181/mesos',
  mesos_master => ['localhost:5050'],
}

Class ::mesosdns Parameters

Required Parameters

  • mesos_zk - Zookeeper url of mesos
  • mesos_master - or/and array of mesos masters - host:port

Optional Parameters

  • ensure - present to install and configure mesos-dns or absent to remove all

  • version - download and install an specific release from GitHub

  • source - Download URL (erb template) to use, can be used to specify an custom url for the final binary

  • install_path - Install and downloads the binary to this path

  • config_path - config.json will be placed here

  • service_status - Status of the configured services.

    • Valid values are 'enabled', 'disabled', 'running' and 'unmanaged',
    • Defaults to enabled
  • service_restart - Should service be restarted on config changes

    • Boolean
    • Defaults to true
  • service_provider - Set an specific service provider

    • Currently implemented upstart and systemd
    • Default is got by puppet stdlib fact $::service_provider and depence on the running OS

Mesos-DNS Configuration Parameters

For further details have a look on Mesos-DNS configuration documentation. For default values have a look on mesosdns::init

  • zk_detection_timeout -> zkDetectionTimeout - Integer
  • refresh_seconds -> refreshSeconds - Integer
  • state_timeout_seconds -> stateTimeoutSeconds - Integer
  • ttl -> ttl - Integer
  • domain -> domain - String
  • port -> port - Integer
  • resolvers -> resolvers - Array of Strings
  • timeout -> timeout - Integer
  • listener -> listener - String (IP)
  • dns_on -> dnson - Boolean
  • http_on -> httpon - Boolean
  • http_port -> httpport - Integer
  • external_on -> externalon - Boolean
  • soa_mname -> SOAMname - String
  • soa_rname -> SOARname - String
  • soa_refresh -> SOARefresh - Integer
  • soa_retry -> SOARetry - Integer
  • soa_expire -> SOAExpire - Integer
  • soa_minttl -> SOAMinttl - Integer
  • recurse_on -> recurseon - Boolean
  • enforce_rfc952 -> enforceRFC952 - Boolean
  • ip_sources -> IPSources - Array of Strings

Requirements

  • Puppet > 3.0 and < 5.0

Dependencies

  • stdlib version >= 4.10.0 - we need fact service_provider and some validiation functions
  • archive version >= 0.4.0 - is required to download binary

Limitations

This module should work out of the box with all Linux systems which has service provider upstart or systemd (detected by stdlib facter)

Links

For more information see Mesos-DNS project

License

Apache License 2.0

Contributors