Puppet Plan: complyadm::generate_dev

Defined in:
plans/generate_dev.pp

Summary

Generates a hiera data file for use when calling complyadm::install

Overview

Parameters:

  • path (String) (defaults to: 'data')

    Path to save dev.yaml file

  • features (String) (defaults to: 'nolicense,cem_up_sell')

    Feature flags

  • version (String) (defaults to: 'master')

    Version of the Comply images to install



8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'plans/generate_dev.pp', line 8

plan complyadm::generate_dev(
  String $path = 'data',
  String $features = 'nolicense,cem_up_sell',
  String $version = 'master'
) {
  complyadm::save_yaml_file(
    {
      'complyadm::dev' => {
        features => $features.split(','),
        version => $version,
      },
    },
  "${path}/dev.yaml")
}