Puppet Class: simianarmy::client_properties
- Defined in:
- manifests/client_properties.pp
Summary
Write the `client.properties` file.Overview
This class writes the ‘client.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 `client.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.
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'manifests/client_properties.pp', line 84
class simianarmy::client_properties (
String $path,
String $owner,
String $group,
String $mode,
Variant[String, Undef] $simianarmy_client_aws_account_key = undef,
Variant[String, Undef] $simianarmy_client_aws_account_name = undef,
Variant[String, Undef] $simianarmy_client_aws_assume_role_arn = undef,
Variant[String, Undef] $simianarmy_client_aws_proxy_host = undef,
Variant[String, Undef] $simianarmy_client_aws_proxy_password = undef,
Variant[String, Undef] $simianarmy_client_aws_proxy_port = undef,
Variant[String, Undef] $simianarmy_client_aws_proxy_user = undef,
Variant[String, Undef] $simianarmy_client_aws_region = undef,
Variant[String, Undef] $simianarmy_client_aws_secret_key = undef,
Variant[String, Undef] $simianarmy_client_chaos_class = undef,
Variant[String, Undef] $simianarmy_client_context_class = undef,
Variant[String, Undef] $simianarmy_client_recorder_class = undef,
Variant[String, Undef] $simianarmy_client_vsphere_password = undef,
Variant[String, Undef] $simianarmy_client_vsphere_termination_strategy_property_name = undef,
Variant[String, Undef] $simianarmy_client_vsphere_termination_strategy_property_value = undef,
Variant[String, Undef] $simianarmy_client_vsphere_url = undef,
Variant[String, Undef] $simianarmy_client_vsphere_username = undef,
) {
file { $path:
ensure => file,
owner => $owner,
group => $group,
mode => $mode,
content => template('simianarmy/client_properties.erb'),
}
}
|