Skip to content
/ puppet-vaz Public

The vaz module handles installing, configuring, and running vaz for Veeta.

Notifications You must be signed in to change notification settings

hfm/puppet-vaz

Repository files navigation

puppet-vaz

Build Status Puppet Forge

Table of Contents

  1. Description
  2. Setup - The basics of getting started with vaz
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. 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

About

The vaz module handles installing, configuring, and running vaz for Veeta.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published