Version information
released Jun 7th 2018
This version is compatible with:
- Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.4.x
- Puppet >=4.9.0 < 6.0.0
- , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'hfm-vaz', '1.1.0'
Learn more about managing modules with a PuppetfileDocumentation
hfm/vaz — version 1.1.0 Jun 7th 2018
puppet-vaz
Table of Contents
- Description
- Setup - The basics of getting started with vaz
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Description
The vaz module handles installing, configuring, and running vaz for Veeta.
Setup
Setup Requirements
The vaz module requires the following puppet module:
- puppetlabs-apt: version 2.0 or newer (only Debian-based distributions).
puppetlabs-apt is soft dependencies. If you are installing on Debian systems, you will need to configure appropriate versions of this module.
Usage
Configuring vaz
To install the vaz server, declare the vaz
class like the following:
class { 'vaz':
service => '<service name>',
token => '<token>',
}
Configuring modules from Hiera
To install the vaz server using Hiera, you can use 'include ::vaz' and declare in Hiera like the following:
---
vaz::service: <service name>
vaz::token: <token>
Reference
Public Classes
vaz
: Installs, configures, and running vaz server.
Parameters
service
: Specifies your service name. Data type: String. Default: 'vaz'.token
: Specifies your token. Data type: String. Default: undef.
Limitations
This module has been tested on:
- RedHat Enterprise Linux 7
- CentOS 7
- Scientific Linux 7
- Debian 8, 9
- Ubuntu 16.04
Development
Running tests
The STNS puppet module contains tests for both rspec-puppet (unit tests) and beaker-rspec (acceptance tests) to verify functionality. For detailed information on using these tools, please see their respective documentation.
Testing quickstart
- Unit tests:
$ bundle install
$ bundle exec rake
- Acceptance tests:
# Set your DOCKER_HOST variable
$ eval "$(docker-machine env default)"
# List available beaker nodesets
$ bundle exec rake beaker_nodes
centos7
debian9
# Run beaker acceptance tests
$ BEAKER_set=debian9 bundle exec rake beaker
Dependencies
- puppetlabs-stdlib (>= 3.0.0 < 5.0.0)