Puppet Class: simianarmy::simianarmy_properties

Defined in:
manifests/simianarmy_properties.pp

Summary

Write the `simianarmy.properties` file.

Overview

This class writes the ‘simianarmy.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
`simianarmy.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 Shine Solutions Group, unless otherwise noted.

Parameters:

  • path (String)

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

  • owner (String)

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

  • group (String)

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

  • mode (String)

    The mode of the simianarmy.properties file. Passed to the ‘file` resource.

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

    Java property ‘simianarmy.aws.email.region`

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

    Java property ‘simianarmy.calendar.closeHour`

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

    Java property ‘simianarmy.calendar.isMonkeyTime`

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

    Java property ‘simianarmy.calendar.openHour`

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

    Java property ‘simianarmy.calendar.timezone`

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

    Java property ‘simianarmy.recorder.localdb.file`

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

    Java property ‘simianarmy.recorder.localdb.max_events`

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

    Java property ‘simianarmy.recorder.localdb.password`

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

    Java property ‘simianarmy.recorder.sdb.domain`

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

    Java property ‘simianarmy.scheduler.frequency`

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

    Java property ‘simianarmy.scheduler.frequencyUnit`

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

    Java property ‘simianarmy.scheduler.threads`

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

    Java property ‘simianarmy.tags.owner`

See Also:



72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# File 'manifests/simianarmy_properties.pp', line 72

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

  Variant[String, Undef] $simianarmy_aws_email_region = undef,
  Variant[String, Undef] $simianarmy_calendar_close_hour = undef,
  Variant[String, Undef] $simianarmy_calendar_is_monkey_time = undef,
  Variant[String, Undef] $simianarmy_calendar_open_hour = undef,
  Variant[String, Undef] $simianarmy_calendar_timezone = undef,
  Variant[String, Undef] $simianarmy_recorder_localdb_file = undef,
  Variant[String, Undef] $simianarmy_recorder_localdb_max_events = undef,
  Variant[String, Undef] $simianarmy_recorder_localdb_password = undef,
  Variant[String, Undef] $simianarmy_recorder_sdb_domain = undef,
  Variant[String, Undef] $simianarmy_scheduler_frequency = undef,
  Variant[String, Undef] $simianarmy_scheduler_frequency_unit = undef,
  Variant[String, Undef] $simianarmy_scheduler_threads = undef,
  Variant[String, Undef] $simianarmy_tags_owner = undef,

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