Puppet Class: simianarmy::janitor_properties
- Defined in:
- manifests/janitor_properties.pp
Summary
Write the `janitor.properties` file.Overview
This class writes the ‘janitor.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
`janitor.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.
198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 |
# File 'manifests/janitor_properties.pp', line 198
class simianarmy::janitor_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_janitor_eureka_enabled = undef,
Variant[String, Undef] $simianarmy_janitor_edda_client_retries = undef,
Variant[String, Undef] $simianarmy_janitor_edda_client_retry_interval = undef,
Variant[String, Undef] $simianarmy_janitor_edda_client_timeout = undef,
Variant[String, Undef] $simianarmy_janitor_edda_enabled = undef,
Variant[String, Undef] $simianarmy_janitor_edda_endpoint_us_east_1 = undef,
Variant[String, Undef] $simianarmy_janitor_enabled = undef,
Variant[String, Undef] $simianarmy_janitor_enabled_resources = undef,
Variant[String, Undef] $simianarmy_janitor_image_crawler_look_back_days = undef,
Variant[String, Undef] $simianarmy_janitor_image_owner_id = undef,
Variant[String, Undef] $simianarmy_janitor_leashed = undef,
Variant[String, Undef] $simianarmy_janitor_notification_days_before_termination = undef,
Variant[String, Undef] $simianarmy_janitor_notification_default_email = undef,
Variant[String, Undef] $simianarmy_janitor_notification_owner_email_domain = undef,
Variant[String, Undef] $simianarmy_janitor_notification_source_email = undef,
Variant[String, Undef] $simianarmy_janitor_resources_sdb_domain = undef,
Variant[String, Undef] $simianarmy_janitor_rule_delete_on_termination_rule_enabled = undef,
Variant[String, Undef] $simianarmy_janitor_rule_delete_on_termination_rule_retention_days = undef,
Variant[String, Undef] $simianarmy_janitor_rule_no_generated_ami_rule_age_threshold = undef,
Variant[String, Undef] $simianarmy_janitor_rule_no_generated_ami_rule_enabled = undef,
Variant[String, Undef] $simianarmy_janitor_rule_no_generated_ami_rule_retention_days = undef,
Variant[String, Undef] $simianarmy_janitor_rule_old_detached_volume_rule_detach_days_threshold = undef,
Variant[String, Undef] $simianarmy_janitor_rule_old_detached_volume_rule_enabled = undef,
Variant[String, Undef] $simianarmy_janitor_rule_old_detached_volume_rule_retention_days = undef,
Variant[String, Undef] $simianarmy_janitor_rule_old_empty_asg_rule_enabled = undef,
Variant[String, Undef] $simianarmy_janitor_rule_old_empty_asg_rule_launch_config_age_threshold = undef,
Variant[String, Undef] $simianarmy_janitor_rule_old_empty_asg_rule_retention_days = undef,
Variant[String, Undef] $simianarmy_janitor_rule_old_unused_launch_config_rule_age_threshold = undef,
Variant[String, Undef] $simianarmy_janitor_rule_old_unused_launch_config_rule_enabled = undef,
Variant[String, Undef] $simianarmy_janitor_rule_old_unused_launch_config_rule_retention_days = undef,
Variant[String, Undef] $simianarmy_janitor_rule_orphaned_instance_rule_enabled = undef,
Variant[String, Undef] $simianarmy_janitor_rule_orphaned_instance_rule_instance_age_threshold = undef,
Variant[String, Undef] $simianarmy_janitor_rule_orphaned_instance_rule_opsworks_parentage = undef,
Variant[String, Undef] $simianarmy_janitor_rule_orphaned_instance_rule_retention_days_with_owner = undef,
Variant[String, Undef] $simianarmy_janitor_rule_orphaned_instance_rule_retention_days_without_owner = undef,
Variant[String, Undef] $simianarmy_janitor_rule_suspended_asg_rule_enabled = undef,
Variant[String, Undef] $simianarmy_janitor_rule_suspended_asg_rule_retention_days = undef,
Variant[String, Undef] $simianarmy_janitor_rule_suspended_asg_rule_suspension_age_threshold = undef,
Variant[String, Undef] $simianarmy_janitor_rule_untagged_rule_enabled = undef,
Variant[String, Undef] $simianarmy_janitor_rule_untagged_rule_required_tags = undef,
Variant[String, Undef] $simianarmy_janitor_rule_untagged_rule_resources = undef,
Variant[String, Undef] $simianarmy_janitor_rule_untagged_rule_retention_days_with_owner = undef,
Variant[String, Undef] $simianarmy_janitor_rule_untagged_rule_retention_days_without_owner = undef,
Variant[String, Undef] $simianarmy_janitor_rule_unused_image_rule_enabled = undef,
Variant[String, Undef] $simianarmy_janitor_rule_unused_image_rule_last_reference_days_threshold = undef,
Variant[String, Undef] $simianarmy_janitor_rule_unused_image_rule_retention_days = undef,
Variant[String, Undef] $simianarmy_janitor_snapshots_owner_id = undef,
Variant[String, Undef] $simianarmy_janitor_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/janitor_properties.erb'),
}
}
|