Sha256: 73aef78d2c4d39817d19f29b0283160795e897585605626fd3c35c96ad92d236
Contents?: true
Size: 1.73 KB
Versions: 2
Compression:
Stored size: 1.73 KB
Contents
# class profile::aws_nodes { ec2_instance { 'agent-1': ensure => 'running', availability_zone => 'ap-southeast-2a', block_devices => [ { 'delete_on_termination' => true, 'device_name' => '/dev/sda1', 'volume_size' => 10, } ], ebs_optimized => false, image_id => 'ami-e0c19f83', instance_type => 't2.micro', key_name => 'personal_aws', monitoring => false, region => 'ap-southeast-2', security_groups => ['default'], subnet => 'default-a', user_data => epp('profile/userdata.epp',{ 'master_ip' => $::ec2_metadata['public-ipv4'], 'master_fqdn' => $::networking['fqdn'], 'signing_key' => gen_autosign_token('/.*\.compute\.internal/', 300), 'role' => 'role::dbserver' }), } ec2_instance { 'agent-2': ensure => 'running', availability_zone => 'ap-southeast-2c', block_devices => [ { 'delete_on_termination' => true, 'device_name' => '/dev/sda1', 'volume_size' => 10, } ], ebs_optimized => false, image_id => 'ami-e0c19f83', instance_type => 't2.micro', key_name => 'personal_aws', monitoring => false, region => 'ap-southeast-2', security_groups => ['default'], subnet => 'default-c', user_data => epp('profile/userdata.epp',{ 'master_ip' => $::ec2_metadata['public-ipv4'], 'master_fqdn' => $::networking['fqdn'], 'signing_key' => gen_autosign_token('/.*\.compute\.internal/', 300), 'role' => 'role::dbserver' }), } }
Version data entries
2 entries across 2 versions & 1 rubygems