Puppet Class: simianarmy::volume_tagging_properties

Defined in:
manifests/volume_tagging_properties.pp

Summary

Write the `volumeTagging.properties` file.

Overview

This class writes the volumeTagging.properties file for the Netflix Chaos Monkey. It is auto-generated and should not be modified by hand. Documentation for each of the properties can be found in the example volumeTagging.properties from which it is generated. (see below)

Note: This is an internal class that shouldn't be used directly. It is included by the simianarmy class. You can change values for it's parameters using Hiera.

Copyright © 2017-2019 Shine Solutions Group, unless otherwise noted.

Parameters:

  • path (String)

    The path to the volumeTagging.properties file on disk. Required.

  • owner (String)

    The user that should own the volumeTagging.properties file. This user is not created by this module and should be managed elsewhere. Required.

  • group (String)

    The group that should own the volumeTagging.properties file. This group is not created by this module and should be managed elsewhere. Required.

  • mode (String)

    The mode of the volumeTagging.properties file. Passed to the file resource.

  • simianarmy_calendar_is_monkey_time (Variant[String, Undef]) (defaults to: undef)

    Java property simianarmy.calendar.isMonkeyTime

  • simianarmy_volume_tagging_enabled (Variant[String, Undef]) (defaults to: undef)

    Java property simianarmy.volumeTagging.enabled

  • simianarmy_volume_tagging_leashed (Variant[String, Undef]) (defaults to: undef)

    Java property simianarmy.volumeTagging.leashed

  • simianarmy_volume_tagging_owner_email_domain (Variant[String, Undef]) (defaults to: undef)

    Java property simianarmy.volumeTagging.ownerEmailDomain

See Also:



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# File 'manifests/volume_tagging_properties.pp', line 45

class simianarmy::volume_tagging_properties (
  String $path,
  String $owner,
  String $group,
  String $mode,

  Variant[String, Undef] $simianarmy_calendar_is_monkey_time = undef,
  Variant[String, Undef] $simianarmy_volume_tagging_enabled = undef,
  Variant[String, Undef] $simianarmy_volume_tagging_leashed = undef,
  Variant[String, Undef] $simianarmy_volume_tagging_owner_email_domain = undef,

) {
  file { $path:
    ensure  => file,
    owner   => $owner,
    group   => $group,
    mode    => $mode,
    content => template('simianarmy/volume_tagging_properties.erb'),
  }
}