Puppet Class: simianarmy::chaos_properties
- Defined in:
- manifests/chaos_properties.pp
Summary
Write the `chaos.properties` file.Overview
This class writes the chaos.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
chaos.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.
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 |
# File 'manifests/chaos_properties.pp', line 138
class simianarmy::chaos_properties (
String $path,
String $owner,
String $group,
String $mode,
Variant[String, Undef] $simianarmy_chaos_asg_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_asg_max_terminations_per_day = undef,
Variant[String, Undef] $simianarmy_chaos_asg_probability = undef,
Variant[String, Undef] $simianarmy_chaos_asg_tag_key = undef,
Variant[String, Undef] $simianarmy_chaos_asg_tag_value = undef,
Variant[String, Undef] $simianarmy_chaos_blockallnetworktraffic_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_burncpu_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_burnio_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_burnmoney = undef,
Variant[String, Undef] $simianarmy_chaos_detachvolumes_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_faildns_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_faildynamodb_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_failec2_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_fails3_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_filldisk_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_killprocesses_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_leashed = undef,
Variant[String, Undef] $simianarmy_chaos_mandatory_termination_default_probability = undef,
Variant[String, Undef] $simianarmy_chaos_mandatory_termination_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_mandatory_termination_window_in_days = undef,
Variant[String, Undef] $simianarmy_chaos_networkcorruption_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_networklatency_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_networkloss_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_notification_body_prefix = undef,
Variant[String, Undef] $simianarmy_chaos_notification_body_suffix = undef,
Variant[String, Undef] $simianarmy_chaos_notification_global_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_notification_global_receiver_email = undef,
Variant[String, Undef] $simianarmy_chaos_notification_source_email = undef,
Variant[String, Undef] $simianarmy_chaos_notification_subject_is_body = undef,
Variant[String, Undef] $simianarmy_chaos_notification_subject_prefix = undef,
Variant[String, Undef] $simianarmy_chaos_notification_subject_suffix = undef,
Variant[String, Undef] $simianarmy_chaos_nullroute_enabled = undef,
Variant[String, Undef] $simianarmy_chaos_shutdowninstance_enabled = undef,
Variant[String, Undef] $simianarmy_client_chaos_class = undef,
) {
file { $path:
ensure => file,
owner => $owner,
group => $group,
mode => $mode,
content => template('simianarmy/chaos_properties.erb'),
}
}
|