Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ulhpc/puppet-bind
Configure and manage bind
https://github.com/ulhpc/puppet-bind
bind dns dns-client dns-server named puppet
Last synced: 4 months ago
JSON representation
Configure and manage bind
- Host: GitHub
- URL: https://github.com/ulhpc/puppet-bind
- Owner: ULHPC
- License: other
- Created: 2017-05-12T14:50:09.000Z (over 7 years ago)
- Default Branch: devel
- Last Pushed: 2024-09-02T12:11:58.000Z (5 months ago)
- Last Synced: 2024-10-10T07:43:14.069Z (4 months ago)
- Topics: bind, dns, dns-client, dns-server, named, puppet
- Language: Puppet
- Size: 184 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing/index.md
- License: LICENSE
Awesome Lists containing this project
README
-*- mode: markdown; mode: visual-line; -*-
# Bind Puppet Module
[![Puppet Forge](http://img.shields.io/puppetforge/v/ULHPC/bind.svg)](https://forge.puppetlabs.com/ULHPC/bind)
[![License](http://img.shields.io/:license-GPL3.0-blue.svg)](LICENSE)
![Supported Platforms](http://img.shields.io/badge/platform-debian|redhat|centos-lightgrey.svg)
[![Documentation Status](https://readthedocs.org/projects/ulhpc-puppet-bind/badge/?version=latest)](https://readthedocs.org/projects/ulhpc-puppet-bind/?badge=latest)Configure and manage bind
Copyright (c) 2018 UL HPC Team
| [Project Page](https://github.com/ULHPC/puppet-bind) | [Sources](https://github.com/ULHPC/puppet-bind) | [Documentation](https://ulhpc-puppet-bind.readthedocs.org/en/latest/) | [Issues](https://github.com/ULHPC/puppet-bind/issues) |
## Synopsis
Configure and manage bind.
This module implements the following elements:
* __Puppet classes__:
- `bind`
- `bind::common`
- `bind::common::debian`
- `bind::common::redhat`
- `bind::params`* __Puppet definitions__:
- `bind::resolver`
- `bind::zone`All these components are configured through a set of variables you will find in
[`manifests/params.pp`](manifests/params.pp)._Note_: the various operations that can be conducted from this repository are piloted from a [`Rakefile`](https://github.com/ruby/rake) and assumes you have a running [Ruby](https://www.ruby-lang.org/en/) installation.
See `docs/contributing.md` for more details on the steps you shall follow to have this `Rakefile` working properly.## Dependencies
See [`metadata.json`](metadata.json). In particular, this module depends on
* [puppetlabs/stdlib](https://forge.puppetlabs.com/puppetlabs/stdlib)
* [puppetlabs/concat](https://forge.puppetlabs.com/puppetlabs/concat)
* [puppet/selinux](https://forge.puppetlabs.com/puppet/selinux)
* [ULHPC/syslog](https://forge.puppetlabs.com/ULHPC/syslog)## Overview and Usage
### Class `bind`
This is the main class defined in this module.
It accepts the following parameters:* `$ensure`: default to 'present', can be 'absent'
Use it as follows:
include ' bind'
See also [`tests/init.pp`](tests/init.pp)
### Definition `bind::resolver`
The definition `bind::resolver` provides ...
This definition accepts the following parameters:* `$ensure`: default to 'present', can be 'absent'
* `$content`: specify the contents of the directive as a string
* `$source`: copy a file as the content of the directive.Example:
bind::resolver { 'toto':
ensure => 'present',
}See also [`tests/resolver.pp`](tests/resolver.pp)
### Definition `bind::zone`
The definition `bind::zone` provides ...
This definition accepts the following parameters:* `$ensure`: default to 'present', can be 'absent'
* `$content`: specify the contents of the directive as a string
* `$source`: copy a file as the content of the directive.Example:
bind::zone { 'toto':
ensure => 'present',
}See also [`tests/zone.pp`](tests/zone.pp)
## Librarian-Puppet / R10K Setup
You can of course configure the bind module in your `Puppetfile` to make it available with [Librarian puppet](http://librarian-puppet.com/) or
[r10k](https://github.com/adrienthebo/r10k) by adding the following entry:# Modules from the Puppet Forge
mod "ULHPC/bind"or, if you prefer to work on the git version:
mod "ULHPC/bind",
:git => 'https://github.com/ULHPC/puppet-bind',
:ref => 'production'## Issues / Feature request
You can submit bug / issues / feature request using the [ULHPC/bind Puppet Module Tracker](https://github.com/ULHPC/puppet-bind/issues).
## Developments / Contributing to the code
If you want to contribute to the code, you shall be aware of the way this module is organized.
These elements are detailed on [`docs/contributing.md`](contributing/index.md).You are more than welcome to contribute to its development by [sending a pull request](https://help.github.com/articles/using-pull-requests).
## Puppet modules tests within a Vagrant box
The best way to test this module in a non-intrusive way is to rely on [Vagrant](http://www.vagrantup.com/).
The `Vagrantfile` at the root of the repository pilot the provisioning various vagrant boxes available on [Vagrant cloud](https://atlas.hashicorp.com/boxes/search?utf8=%E2%9C%93&sort=&provider=virtualbox&q=svarrette) you can use to test this module.See [`docs/vagrant.md`](vagrant.md) for more details.
## Online Documentation
[Read the Docs](https://readthedocs.org/) aka RTFD hosts documentation for the open source community and the [ULHPC/bind](https://github.com/ULHPC/puppet-bind) puppet module has its documentation (see the `docs/` directly) hosted on [readthedocs](http://ulhpc-puppet-bind.rtfd.org).
See [`docs/rtfd.md`](rtfd.md) for more details.
## Licence
This project and the sources proposed within this repository are released under the terms of the [GPL-3.0](LICENCE) licence.
[![Licence](https://www.gnu.org/graphics/gplv3-88x31.png)](LICENSE)