Puppet Class: simianarmy::conformity_properties

Defined in:
manifests/conformity_properties.pp

Summary

Write the `conformity.properties` file.

Overview

This class writes the conformity.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 conformity.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 conformity.properties file on disk. Required.

  • owner (String)

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

  • group (String)

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

  • mode (String)

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

  • 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_conformity_eureka_enabled (Variant[String, Undef]) (defaults to: undef)

    Java property simianarmy.conformity.Eureka.enabled

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

    Java property simianarmy.conformity.cluster.foo.excludedRules

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

    Java property simianarmy.conformity.cluster.foo.optedOut

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

    Java property simianarmy.conformity.cluster.foo.ownerEmail

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

    Java property simianarmy.conformity.enabled

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

    Java property simianarmy.conformity.leashed

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

    Java property simianarmy.conformity.notification.closeHour

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

    Java property simianarmy.conformity.notification.defaultEmail

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

    Java property simianarmy.conformity.notification.openHour

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

    Java property simianarmy.conformity.notification.sourceEmail

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

    Java property simianarmy.conformity.rule.InstanceHasHealthCheckUrl.enabled

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

    Java property simianarmy.conformity.rule.InstanceHasStatusUrl.enabled

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

    Java property simianarmy.conformity.rule.InstanceInSecurityGroup.enabled

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

    Java property simianarmy.conformity.rule.InstanceInSecurityGroup.requiredSecurityGroups

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

    Java property simianarmy.conformity.rule.InstanceIsHealthyInEureka.enabled

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

    Java property simianarmy.conformity.rule.InstanceTooOld.enabled

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

    Java property simianarmy.conformity.rule.InstanceTooOld.instanceAgeThreshold

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

    Java property simianarmy.conformity.rule.SameZonesInElbAndAsg.enabled

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

    Java property simianarmy.conformity.sdb.domain

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

    Java property simianarmy.conformity.summaryEmail.to

  • 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

See Also:



114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# File 'manifests/conformity_properties.pp', line 114

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

  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_conformity_eureka_enabled = undef,
  Variant[String, Undef] $simianarmy_conformity_cluster_foo_excluded_rules = undef,
  Variant[String, Undef] $simianarmy_conformity_cluster_foo_opted_out = undef,
  Variant[String, Undef] $simianarmy_conformity_cluster_foo_owner_email = undef,
  Variant[String, Undef] $simianarmy_conformity_enabled = undef,
  Variant[String, Undef] $simianarmy_conformity_leashed = undef,
  Variant[String, Undef] $simianarmy_conformity_notification_close_hour = undef,
  Variant[String, Undef] $simianarmy_conformity_notification_default_email = undef,
  Variant[String, Undef] $simianarmy_conformity_notification_open_hour = undef,
  Variant[String, Undef] $simianarmy_conformity_notification_source_email = undef,
  Variant[String, Undef] $simianarmy_conformity_rule_instance_has_health_check_url_enabled = undef,
  Variant[String, Undef] $simianarmy_conformity_rule_instance_has_status_url_enabled = undef,
  Variant[String, Undef] $simianarmy_conformity_rule_instance_in_security_group_enabled = undef,
  Variant[String, Undef] $simianarmy_conformity_rule_instance_in_security_group_required_security_groups = undef,
  Variant[String, Undef] $simianarmy_conformity_rule_instance_is_healthy_in_eureka_enabled = undef,
  Variant[String, Undef] $simianarmy_conformity_rule_instance_too_old_enabled = undef,
  Variant[String, Undef] $simianarmy_conformity_rule_instance_too_old_instance_age_threshold = undef,
  Variant[String, Undef] $simianarmy_conformity_rule_same_zones_in_elb_and_asg_enabled = undef,
  Variant[String, Undef] $simianarmy_conformity_sdb_domain = undef,
  Variant[String, Undef] $simianarmy_conformity_summary_email_to = undef,
  Variant[String, Undef] $simianarmy_scheduler_frequency = undef,
  Variant[String, Undef] $simianarmy_scheduler_frequency_unit = undef,
  Variant[String, Undef] $simianarmy_scheduler_threads = undef,

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