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.

Parameters:

  • path (String)

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

  • owner (String)

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

  • group (String)

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

  • mode (String)

    The mode of the janitor.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_janitor_eureka_enabled (Variant[String, Undef]) (defaults to: undef)

    Java property ‘simianarmy.janitor.Eureka.enabled`

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

    Java property ‘simianarmy.janitor.edda.client.retries`

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

    Java property ‘simianarmy.janitor.edda.client.retryInterval`

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

    Java property ‘simianarmy.janitor.edda.client.timeout`

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

    Java property ‘simianarmy.janitor.edda.enabled`

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

    Java property ‘simianarmy.janitor.edda.endpoint.us-east-1`

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

    Java property ‘simianarmy.janitor.enabled`

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

    Java property ‘simianarmy.janitor.enabledResources`

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

    Java property ‘simianarmy.janitor.image.crawler.lookBackDays`

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

    Java property ‘simianarmy.janitor.image.ownerId`

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

    Java property ‘simianarmy.janitor.leashed`

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

    Java property ‘simianarmy.janitor.notification.daysBeforeTermination`

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

    Java property ‘simianarmy.janitor.notification.defaultEmail`

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

    Java property ‘simianarmy.janitor.notification.ownerEmailDomain`

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

    Java property ‘simianarmy.janitor.notification.sourceEmail`

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

    Java property ‘simianarmy.janitor.resources.sdb.domain`

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

    Java property ‘simianarmy.janitor.rule.deleteOnTerminationRule.enabled`

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

    Java property ‘simianarmy.janitor.rule.deleteOnTerminationRule.retentionDays`

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

    Java property ‘simianarmy.janitor.rule.noGeneratedAMIRule.ageThreshold`

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

    Java property ‘simianarmy.janitor.rule.noGeneratedAMIRule.enabled`

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

    Java property ‘simianarmy.janitor.rule.noGeneratedAMIRule.retentionDays`

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

    Java property ‘simianarmy.janitor.rule.oldDetachedVolumeRule.detachDaysThreshold`

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

    Java property ‘simianarmy.janitor.rule.oldDetachedVolumeRule.enabled`

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

    Java property ‘simianarmy.janitor.rule.oldDetachedVolumeRule.retentionDays`

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

    Java property ‘simianarmy.janitor.rule.oldEmptyASGRule.enabled`

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

    Java property ‘simianarmy.janitor.rule.oldEmptyASGRule.launchConfigAgeThreshold`

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

    Java property ‘simianarmy.janitor.rule.oldEmptyASGRule.retentionDays`

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

    Java property ‘simianarmy.janitor.rule.oldUnusedLaunchConfigRule.ageThreshold`

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

    Java property ‘simianarmy.janitor.rule.oldUnusedLaunchConfigRule.enabled`

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

    Java property ‘simianarmy.janitor.rule.oldUnusedLaunchConfigRule.retentionDays`

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

    Java property ‘simianarmy.janitor.rule.orphanedInstanceRule.enabled`

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

    Java property ‘simianarmy.janitor.rule.orphanedInstanceRule.instanceAgeThreshold`

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

    Java property ‘simianarmy.janitor.rule.orphanedInstanceRule.opsworks.parentage`

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

    Java property ‘simianarmy.janitor.rule.orphanedInstanceRule.retentionDaysWithOwner`

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

    Java property ‘simianarmy.janitor.rule.orphanedInstanceRule.retentionDaysWithoutOwner`

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

    Java property ‘simianarmy.janitor.rule.suspendedASGRule.enabled`

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

    Java property ‘simianarmy.janitor.rule.suspendedASGRule.retentionDays`

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

    Java property ‘simianarmy.janitor.rule.suspendedASGRule.suspensionAgeThreshold`

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

    Java property ‘simianarmy.janitor.rule.untaggedRule.enabled`

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

    Java property ‘simianarmy.janitor.rule.untaggedRule.requiredTags`

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

    Java property ‘simianarmy.janitor.rule.untaggedRule.resources`

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

    Java property ‘simianarmy.janitor.rule.untaggedRule.retentionDaysWithOwner`

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

    Java property ‘simianarmy.janitor.rule.untaggedRule.retentionDaysWithoutOwner`

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

    Java property ‘simianarmy.janitor.rule.unusedImageRule.enabled`

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

    Java property ‘simianarmy.janitor.rule.unusedImageRule.lastReferenceDaysThreshold`

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

    Java property ‘simianarmy.janitor.rule.unusedImageRule.retentionDays`

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

    Java property ‘simianarmy.janitor.snapshots.ownerId`

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

    Java property ‘simianarmy.janitor.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:



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'),
  }
}