qurd 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +15 -0
  3. data/.ruby-version +1 -0
  4. data/Gemfile +5 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +367 -0
  7. data/Rakefile +9 -0
  8. data/bin/qurd +10 -0
  9. data/lib/hash.rb +6 -0
  10. data/lib/qurd.rb +49 -0
  11. data/lib/qurd/action.rb +92 -0
  12. data/lib/qurd/action/chef.rb +128 -0
  13. data/lib/qurd/action/dummy.rb +27 -0
  14. data/lib/qurd/action/route53.rb +168 -0
  15. data/lib/qurd/configuration.rb +182 -0
  16. data/lib/qurd/listener.rb +207 -0
  17. data/lib/qurd/message.rb +231 -0
  18. data/lib/qurd/mixins.rb +8 -0
  19. data/lib/qurd/mixins/aws_clients.rb +37 -0
  20. data/lib/qurd/mixins/configuration.rb +29 -0
  21. data/lib/qurd/mixins/configuration_helpers.rb +79 -0
  22. data/lib/qurd/processor.rb +97 -0
  23. data/lib/qurd/version.rb +5 -0
  24. data/lib/string.rb +12 -0
  25. data/qurd.gemspec +32 -0
  26. data/test/action_test.rb +115 -0
  27. data/test/chef_test.rb +206 -0
  28. data/test/configuration_test.rb +333 -0
  29. data/test/dummy_action_test.rb +51 -0
  30. data/test/inputs/foo.pem +27 -0
  31. data/test/inputs/knife.rb +9 -0
  32. data/test/inputs/qurd.yml +32 -0
  33. data/test/inputs/qurd_chef.yml +35 -0
  34. data/test/inputs/qurd_chef_route53.yml +43 -0
  35. data/test/inputs/qurd_route53.yml +39 -0
  36. data/test/inputs/qurd_route53_wrong.yml +37 -0
  37. data/test/inputs/validator.pem +27 -0
  38. data/test/listener_test.rb +135 -0
  39. data/test/message_test.rb +187 -0
  40. data/test/mixin_aws_clients_test.rb +28 -0
  41. data/test/mixin_configuration_test.rb +36 -0
  42. data/test/processor_test.rb +41 -0
  43. data/test/responses/aws/ec2-describe-instances-0.xml +2 -0
  44. data/test/responses/aws/ec2-describe-instances-1.xml +127 -0
  45. data/test/responses/aws/error-response.xml +1 -0
  46. data/test/responses/aws/route53-change-resource-record-sets.xml +2 -0
  47. data/test/responses/aws/route53-list-hosted-zones-by-name-0.xml +3 -0
  48. data/test/responses/aws/route53-list-hosted-zones-by-name-1.xml +4 -0
  49. data/test/responses/aws/route53-list-hosted-zones-by-name-n.xml +5 -0
  50. data/test/responses/aws/route53-list-resource-record-sets-0.xml +2 -0
  51. data/test/responses/aws/route53-list-resource-record-sets-1.xml +4 -0
  52. data/test/responses/aws/route53-list-resource-record-sets-n.xml +6 -0
  53. data/test/responses/aws/sqs-list-queues-0.xml +1 -0
  54. data/test/responses/aws/sqs-list-queues-n.xml +4 -0
  55. data/test/responses/aws/sqs-receive-message-1-launch.xml +6 -0
  56. data/test/responses/aws/sqs-receive-message-1-launch_error.xml +6 -0
  57. data/test/responses/aws/sqs-receive-message-1-other.xml +12 -0
  58. data/test/responses/aws/sqs-receive-message-1-terminate.xml +6 -0
  59. data/test/responses/aws/sqs-receive-message-1-terminate_error.xml +6 -0
  60. data/test/responses/aws/sqs-receive-message-1-test.xml +12 -0
  61. data/test/responses/aws/sqs-set-queue-attributes.xml +1 -0
  62. data/test/responses/aws/sts-assume-role.xml +17 -0
  63. data/test/responses/chef/search-client-name-0.json +6 -0
  64. data/test/responses/chef/search-client-name-1.json +7 -0
  65. data/test/responses/chef/search-client-name-n.json +8 -0
  66. data/test/responses/chef/search-node-instance-0.json +5 -0
  67. data/test/responses/chef/search-node-instance-1.json +784 -0
  68. data/test/responses/chef/search-node-instance-n.json +1565 -0
  69. data/test/responses/ec2/latest-meta-data-iam-security-credentials-client.txt +9 -0
  70. data/test/responses/ec2/latest-meta-data-iam-security-credentials.txt +1 -0
  71. data/test/route53_test.rb +231 -0
  72. data/test/support/web_mock_stubs.rb +109 -0
  73. data/test/test_helper.rb +10 -0
  74. metadata +307 -0
@@ -0,0 +1,28 @@
1
+ require 'test_helper'
2
+ describe Qurd::Mixins::AwsClients do
3
+ class TestAwsClientsClass
4
+ include Qurd::Mixins::AwsClients
5
+ def region
6
+ 'us-west-2'
7
+ end
8
+
9
+ def aws_credentials
10
+ Aws::Credentials.new('abc', 'def')
11
+ end
12
+ end
13
+ let(:subject) { TestAwsClientsClass.new }
14
+
15
+ describe '#aws_clients' do
16
+ it 'instantiates a client, using a string' do
17
+ subject.aws_client('SQS').must_be_kind_of Aws::SQS::Client
18
+ end
19
+
20
+ it 'instantiates a client, using a symbol' do
21
+ subject.aws_client(:SQS).must_be_kind_of Aws::SQS::Client
22
+ end
23
+
24
+ it 'memoizes a client' do
25
+ subject.aws_client(:EC2).must_equal subject.aws_client(:EC2)
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,36 @@
1
+ require 'test_helper'
2
+ describe Qurd::Mixins::Configuration do
3
+ class TestConfigurationClass
4
+ include Qurd::Mixins::Configuration
5
+ end
6
+ let(:subject) { TestConfigurationClass.new }
7
+
8
+ describe '#qurd_config' do
9
+ it 'gets the configuration instance' do
10
+ subject.qurd_config.must_equal Qurd::Configuration.instance
11
+ end
12
+ end
13
+
14
+ describe '#qurd_configuration' do
15
+ it 'gets the configuration' do
16
+ subject.qurd_config.init('test/inputs/qurd.yml')
17
+ subject.qurd_configuration.must_be_kind_of Hashie::Mash
18
+ end
19
+ end
20
+
21
+ describe '#qurd_logger' do
22
+ it 'gets the cabin logger' do
23
+ subject.qurd_config.init('test/inputs/qurd.yml')
24
+ subject.qurd_logger.must_be_kind_of Cabin::Channel
25
+ end
26
+ end
27
+
28
+ describe '#qurd_logger!' do
29
+ it 'blows up' do
30
+ subject.qurd_config.init('test/inputs/qurd.yml')
31
+ lambda do
32
+ subject.qurd_logger!('foo')
33
+ end.must_raise RuntimeError
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,41 @@
1
+ require 'test_helper'
2
+ describe Qurd::Processor do
3
+ include WebMockStubs
4
+
5
+ let(:sqs_client) { Aws::SQS::Client.new(region: 'us-west-2') }
6
+ let(:queue_url) { 'https://sqs.us-west-2.amazonaws.com/123456890/test2-ScalingNotificationsQueue-HPPYDAYSAGAI1' }
7
+ let(:sqs_message) { sqs_client.receive_message(queue_url: queue_url).messages.first }
8
+ let(:listener) do
9
+ Qurd::Listener.new(
10
+ queues: [],
11
+ aws_credentials: Aws::Credentials.new('abc', 'def'),
12
+ region: 'us-west-2',
13
+ name: 'staging',
14
+ visibility_timeout: '0',
15
+ wait_time: '0'
16
+ )
17
+ end
18
+ let(:subject) { Qurd::Processor.new(listener, sqs_message, 'staging', queue_url) }
19
+
20
+ describe 'configuration mixin' do
21
+ it 'responds to #qurd_config' do
22
+ aws_sqs_receive_message 'test/responses/aws/sqs-receive-message-1-launch.xml'
23
+ subject.must_respond_to :qurd_config
24
+ end
25
+ end
26
+
27
+ describe '#new' do
28
+ def setup
29
+ aws_sqs_receive_message 'test/responses/aws/sqs-receive-message-1-launch.xml'
30
+ end
31
+
32
+ def get_ivar(name)
33
+ subject.instance_variable_get name.to_sym
34
+ end
35
+
36
+ it 'sets various ivars' do
37
+ get_ivar(:@listener).must_equal listener
38
+ get_ivar(:@message).must_be_kind_of Qurd::Message
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Response><Errors><Error><Code>InvalidInstanceID.NotFound</Code><Message>The instance ID 'i-12345678' does not exist</Message></Error></Errors><RequestID>ce3f278a-5178-469a-af18-226b3f0f69bf</RequestID></Response>
@@ -0,0 +1,127 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
3
+ <requestId>9d210837-0e9b-45a9-9b86-8f28ef16aa22</requestId>
4
+ <reservationSet>
5
+ <item>
6
+ <reservationId>r-dd70e730</reservationId>
7
+ <ownerId>221645429527</ownerId>
8
+ <groupSet/>
9
+ <instancesSet>
10
+ <item>
11
+ <instanceId>i-b57d975a</instanceId>
12
+ <imageId>ami-ad227cc4</imageId>
13
+ <instanceState>
14
+ <code>16</code>
15
+ <name>running</name>
16
+ </instanceState>
17
+ <privateDnsName>ip-10-30-96-28.ec2.internal</privateDnsName>
18
+ <dnsName/>
19
+ <reason/>
20
+ <keyName>key2</keyName>
21
+ <amiLaunchIndex>0</amiLaunchIndex>
22
+ <productCodes/>
23
+ <instanceType>m3.large</instanceType>
24
+ <launchTime>2015-01-28T20:53:59.000Z</launchTime>
25
+ <placement>
26
+ <availabilityZone>us-west-2d</availabilityZone>
27
+ <groupName/>
28
+ <tenancy>default</tenancy>
29
+ </placement>
30
+ <kernelId>aki-919dcaf8</kernelId>
31
+ <monitoring>
32
+ <state>disabled</state>
33
+ </monitoring>
34
+ <subnetId>subnet-b750e7ee</subnetId>
35
+ <vpcId>vpc-36077253</vpcId>
36
+ <privateIpAddress>10.30.96.28</privateIpAddress>
37
+ <ipAddress>54.152.2.8</ipAddress>
38
+ <sourceDestCheck>false</sourceDestCheck>
39
+ <groupSet>
40
+ <item>
41
+ <groupId>sg-8770abe3</groupId>
42
+ <groupName>foo-vpc-1EB5GWG27AO1D-NATSG-1799O1DAW7QA7</groupName>
43
+ </item>
44
+ </groupSet>
45
+ <architecture>x86_64</architecture>
46
+ <rootDeviceType>ebs</rootDeviceType>
47
+ <rootDeviceName>/dev/sda1</rootDeviceName>
48
+ <blockDeviceMapping>
49
+ <item>
50
+ <deviceName>/dev/sda1</deviceName>
51
+ <ebs>
52
+ <volumeId>vol-c45a6380</volumeId>
53
+ <status>attached</status>
54
+ <attachTime>2015-01-28T20:54:03.000Z</attachTime>
55
+ <deleteOnTermination>true</deleteOnTermination>
56
+ </ebs>
57
+ </item>
58
+ </blockDeviceMapping>
59
+ <virtualizationType>paravirtual</virtualizationType>
60
+ <clientToken>zoo-vp-NAT2-14M60WFUAQWNU</clientToken>
61
+ <tagSet>
62
+ <item>
63
+ <key>aws:cloudformation:stack-name</key>
64
+ <value>foo-vpc-1EB5GWG27AO1D</value>
65
+ </item>
66
+ <item>
67
+ <key>aws:cloudformation:stack-id</key>
68
+ <value>arn:aws:cloudformation:us-west-2:221645429527:stack/foo-vpc-1EB5GWG27AO1D/a81ecd90-a72f-11e4-a864-50fa52d244a8</value>
69
+ </item>
70
+ <item>
71
+ <key>Name</key>
72
+ <value>test-414.staging.example.com</value>
73
+ </item>
74
+ <item>
75
+ <key>aws:cloudformation:logical-id</key>
76
+ <value>NAT2</value>
77
+ </item>
78
+ </tagSet>
79
+ <hypervisor>xen</hypervisor>
80
+ <networkInterfaceSet>
81
+ <item>
82
+ <networkInterfaceId>eni-0599925d</networkInterfaceId>
83
+ <subnetId>subnet-b750e7ee</subnetId>
84
+ <vpcId>vpc-36077253</vpcId>
85
+ <description/>
86
+ <ownerId>221645429527</ownerId>
87
+ <status>in-use</status>
88
+ <macAddress>0e:cb:06:55:f3:5d</macAddress>
89
+ <privateIpAddress>10.30.96.28</privateIpAddress>
90
+ <sourceDestCheck>false</sourceDestCheck>
91
+ <groupSet>
92
+ <item>
93
+ <groupId>sg-8770abe3</groupId>
94
+ <groupName>foo-vpc-1EB5GWG27AO1D-NATSG-1799O1DAW7QA7</groupName>
95
+ </item>
96
+ </groupSet>
97
+ <attachment>
98
+ <attachmentId>eni-attach-798da31f</attachmentId>
99
+ <deviceIndex>0</deviceIndex>
100
+ <status>attached</status>
101
+ <attachTime>2015-01-28T20:53:59.000Z</attachTime>
102
+ <deleteOnTermination>true</deleteOnTermination>
103
+ </attachment>
104
+ <association>
105
+ <publicIp>54.152.2.8</publicIp>
106
+ <publicDnsName/>
107
+ <ipOwnerId>221645429527</ipOwnerId>
108
+ </association>
109
+ <privateIpAddressesSet>
110
+ <item>
111
+ <privateIpAddress>10.30.96.28</privateIpAddress>
112
+ <primary>true</primary>
113
+ <association>
114
+ <publicIp>54.152.2.8</publicIp>
115
+ <publicDnsName/>
116
+ <ipOwnerId>221645429527</ipOwnerId>
117
+ </association>
118
+ </item>
119
+ </privateIpAddressesSet>
120
+ </item>
121
+ </networkInterfaceSet>
122
+ <ebsOptimized>false</ebsOptimized>
123
+ </item>
124
+ </instancesSet>
125
+ </item>
126
+ </reservationSet>
127
+ </DescribeInstancesResponse>
@@ -0,0 +1 @@
1
+ <?xml version="1.0"?><ErrorResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><Error><Type>Sender</Type><Code>AWS.SimpleQueueService.NonExistentQueue</Code><Message>The specified queue does not exist for this wsdl version.</Message><Detail/></Error><RequestId>4a4ef953-0543-5b72-b507-b4d1f438e064</RequestId></ErrorResponse>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0"?>
2
+ <ChangeResourceRecordSetsResponse xmlns="https://route53.amazonaws.com/doc/2013-04-01/"><ChangeInfo><Id>/change/C1OMJUKUGQJAB3</Id><Status>PENDING</Status><SubmittedAt>2015-03-30T19:57:00.645Z</SubmittedAt><Comment>delete</Comment></ChangeInfo></ChangeResourceRecordSetsResponse>
@@ -0,0 +1,3 @@
1
+ <?xml version="1.0"?>
2
+ <ListHostedZonesByNameResponse xmlns="https://route53.amazonaws.com/doc/2013-04-01/"><HostedZones>
3
+ </HostedZones><DNSName>staging.example.com.</DNSName><IsTruncated>false</IsTruncated><MaxItems>100</MaxItems></ListHostedZonesByNameResponse>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0"?>
2
+ <ListHostedZonesByNameResponse xmlns="https://route53.amazonaws.com/doc/2013-04-01/"><HostedZones>
3
+ <HostedZone><Id>/hostedzone/Z3EWK6Z93GXEWJ</Id><Name>staging.example.com.</Name><CallerReference>6805285A-F3C0-4E87-ABB5-97A4E6A66C27</CallerReference><Config><PrivateZone>false</PrivateZone></Config><ResourceRecordSetCount>23</ResourceRecordSetCount></HostedZone>
4
+ </HostedZones><DNSName>staging.example.com.</DNSName><IsTruncated>false</IsTruncated><MaxItems>100</MaxItems></ListHostedZonesByNameResponse>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0"?>
2
+ <ListHostedZonesByNameResponse xmlns="https://route53.amazonaws.com/doc/2013-04-01/"><HostedZones>
3
+ <HostedZone><Id>/hostedzone/Z3EWK6Z93GXEWJ</Id><Name>staging.example.com.</Name><CallerReference>6805285A-F3C0-4E87-ABB5-97A4E6A66C27</CallerReference><Config><PrivateZone>false</PrivateZone></Config><ResourceRecordSetCount>23</ResourceRecordSetCount></HostedZone>
4
+ <HostedZone><Id>/hostedzone/Z3EWK6Z93GXEWJ</Id><Name>staging2.example.com.</Name><CallerReference>6805285A-F3C0-4E87-ABB5-97A4E6A66C27</CallerReference><Config><PrivateZone>false</PrivateZone></Config><ResourceRecordSetCount>23</ResourceRecordSetCount></HostedZone>
5
+ </HostedZones><DNSName>staging.example.com.</DNSName><IsTruncated>false</IsTruncated><MaxItems>100</MaxItems></ListHostedZonesByNameResponse>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0"?>
2
+ <ListResourceRecordSetsResponse xmlns="https://route53.amazonaws.com/doc/2013-04-01/"><ResourceRecordSets/><IsTruncated>false</IsTruncated><MaxItems>1</MaxItems></ListResourceRecordSetsResponse>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0"?>
2
+ <ListResourceRecordSetsResponse xmlns="https://route53.amazonaws.com/doc/2013-04-01/"><ResourceRecordSets>
3
+ <ResourceRecordSet><Name>test-414.staging.example.com.</Name><Type>A</Type><TTL>30</TTL><ResourceRecords><ResourceRecord><Value>172.16.30.125</Value></ResourceRecord></ResourceRecords></ResourceRecordSet>
4
+ </ResourceRecordSets><IsTruncated>false</IsTruncated><MaxItems>100</MaxItems></ListResourceRecordSetsResponse>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0"?>
2
+ <ListResourceRecordSetsResponse xmlns="https://route53.amazonaws.com/doc/2013-04-01/"><ResourceRecordSets>
3
+ <ResourceRecordSet><Name>test-414.staging.example.com.</Name><Type>A</Type><TTL>30</TTL><ResourceRecords><ResourceRecord><Value>172.16.30.125</Value></ResourceRecord></ResourceRecords></ResourceRecordSet>
4
+ <ResourceRecordSet><Name>test-1.staging.example.com.</Name><Type>CNAME</Type><TTL>30</TTL><ResourceRecords><ResourceRecord><Value>foo.example.com</Value></ResourceRecord></ResourceRecords></ResourceRecordSet>
5
+ <ResourceRecordSet><Name>test-2.staging.example.com.</Name><Type>CNAME</Type><TTL>30</TTL><ResourceRecords><ResourceRecord><Value>bar.example.com</Value></ResourceRecord></ResourceRecords></ResourceRecordSet>
6
+ </ResourceRecordSets><IsTruncated>false</IsTruncated><MaxItems>100</MaxItems></ListResourceRecordSetsResponse>
@@ -0,0 +1 @@
1
+ <?xml version="1.0"?><ListQueuesResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><ListQueuesResult></ListQueuesResult><ResponseMetadata><RequestId>deafdaca-5d87-5ddb-b7b5-9748b3ad570b</RequestId></ResponseMetadata></ListQueuesResponse>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0"?><ListQueuesResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><ListQueuesResult>
2
+ <QueueUrl>https://sqs.us-west-2.amazonaws.com/123456890/test2-ScalingNotificationsQueue-HPPYDAYSAGAI1</QueueUrl>
3
+ <QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test3-ScalingNotificationsQueue-YYLG1O990SQI</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test4-ScalingNotificationsQueue-1S1YEQQE2J7HI</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test5-ScalingNotificationsQueue-55KK8HVCUXAL</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test6-ScalingNotificationsQueue-HLG212XCGF9J</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test7-ScalingNotificationsQueue-WBJFMQLXPJTE</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test8-ScalingNotificationsQueue-1D4ZH9NTVP54Y</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test9-ScalingNotificationsQueue-1XU3PAR1WTHCU</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test10-ScalingNotificationsQueue-1UMGYCSIB1JH8</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test11-ScalingNotificationsQueue-L0AKLNJ1XLBS</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test12-ScalingNotificationsQueue-M09A379WLWFU</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test13-ScalingNotificationsQueue-100VMU8AM3HT3</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test14-ScalingNotificationsQueue-EL0IF9EJIIZ2</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test15-ScalingNotificationsQueue-U701AIYCF4W4</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test15-ScalingNotificationsQueue-1QFI52GEJIW</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test16-ScalingNotificationsQueue-1SR2WCCTHI4O</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test17-ScalingNotificationsQueue-BQSIQV79C3A1</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test18-ScalingNotificationsQueue-1TDIPXAVBWD73</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/staging-notifications-19NH4PMMXT1V2-AlarmQueue-C6C6L7II8QTM</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/staging-notifications-19NH4PMMXT1V2-RestartQueue-EKZFP9D7SW2M</QueueUrl><QueueUrl>https://us-west-2.queue.amazonaws.com/123456890/test19-ScalingNotificationsQueue-1U30UKNUS17YY</QueueUrl>
4
+ </ListQueuesResult><ResponseMetadata><RequestId>cd0fdaca-5d87-5ddb-b7b5-9748b3ad57fa</RequestId></ResponseMetadata></ListQueuesResponse>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0"?><ReceiveMessageResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><ReceiveMessageResult><Message><Body>{
2
+ &quot;Type&quot; : &quot;Notification&quot;,
3
+ &quot;MessageId&quot; : &quot;a1aef610-9c9b-5e9e-bd82-bb96d8f1f68a&quot;,
4
+ &quot;TopicArn&quot; : &quot;arn:aws:sns:us-west-2:123456890:test-ScalingNotificationsTopic-HPPYDAYSAGAIN&quot;,
5
+ &quot;Subject&quot; : &quot;Auto Scaling: launch for group \&quot;test-AutoScalingGroup-1QDX3CNO5SU3D\&quot;&quot;,
6
+ &quot;Message&quot; : &quot;{\&quot;StatusCode\&quot;:\&quot;InProgress\&quot;,\&quot;Service\&quot;:\&quot;AWS Auto Scaling\&quot;,\&quot;AutoScalingGroupName\&quot;:\&quot;test-AutoScalingGroup-1QDX3CNO5SU3D\&quot;,\&quot;Description\&quot;:\&quot;Launching a new EC2 instance: i-b57d975a\&quot;,\&quot;ActivityId\&quot;:\&quot;831e3101-ee2e-4678-90eb-e6d6bc28ec7b\&quot;,\&quot;Event\&quot;:\&quot;autoscaling:EC2_INSTANCE_LAUNCH\&quot;,\&quot;Details\&quot;:{\&quot;Availability Zone\&quot;:\&quot;us-west-2a\&quot;,\&quot;Subnet ID\&quot;:\&quot;subnet-3c3e0e14\&quot;},\&quot;AutoScalingGroupARN\&quot;:\&quot;arn:aws:autoscaling:us-west-2:123456890:autoScalingGroup:4edb2535-5015-4b81-b668-88ecb0effcb7:autoScalingGroupName/test-AutoScalingGroup-1QDX3CNO5SU3D\&quot;,\&quot;Progress\&quot;:50,\&quot;Time\&quot;:\&quot;2015-03-20T15:52:10.480Z\&quot;,\&quot;AccountId\&quot;:\&quot;123456890\&quot;,\&quot;RequestId\&quot;:\&quot;831e3101-ee2e-4678-90eb-e6d6bc28ec7b\&quot;,\&quot;StatusMessage\&quot;:\&quot;\&quot;,\&quot;EndTime\&quot;:\&quot;2015-03-20T15:52:10.480Z\&quot;,\&quot;EC2InstanceId\&quot;:\&quot;i-b57d975a\&quot;,\&quot;StartTime\&quot;:\&quot;2015-03-20T15:51:07.025Z\&quot;,\&quot;Cause\&quot;:\&quot;At 2015-03-20T15:51:05Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 2 to 3.\&quot;}&quot;, &quot;Timestamp&quot; : &quot;2015-03-20T15:52:10.569Z&quot;, &quot;SignatureVersion&quot; : &quot;1&quot;, &quot;Signature&quot; : &quot;wBS+iTjZKp65b1oEcxznH14UUzd4/AiDVpLc/yJcywOGbvCsgv+ZZ1Odr2uFa7XDpJbrgBa51own6YCng5iTM1LR00eRN0zknmAgxTfxqSXTetY+LWjGhEdVLH7lvfipR7/EhhwJk/YGBklucTc5IIx2Y2MQcwhdLbIS5iiJW2nUDGT47szQA0GXJiZDqosyIKDpIvU3AFbBU6D9l/2/sTLfED83EUKdhqLoCgxxyAvVGk5MalKLOLPkfoiYpn46W9T6b86BQVALR5269XMlYQK/T50sC5KqjnevNXrHo9g6Ef0rggw+R2tryRgR3NQYfPc5top0MaDT5JD9shOSnw==&quot;, &quot;SigningCertURL&quot; : &quot;https://sns.us-west-2.amazonaws.com/SimpleNotificationService-d6d679a1d18e95c2f9ffcf11f4f9e198.pem&quot;, &quot;UnsubscribeURL&quot; : &quot;https://sns.us-west-2.amazonaws.com/?Action=Unsubscribe&amp;SubscriptionArn=arn:aws:sns:us-west-2:123456890:test-ScalingNotificationsTopic-HPPYDAYSAGAIN:bd850bb2-1a69-4456-a517-c645a26f54b2&quot; }</Body><MD5OfBody>13ab9f74eb7742e0d462544742e8c3fe</MD5OfBody><ReceiptHandle>foobar==</ReceiptHandle><MessageId>2bb56f5d-bc01-416c-a2dd-b057e9d483f7</MessageId></Message></ReceiveMessageResult><ResponseMetadata><RequestId>c6607c58-3a97-58fd-a491-31d3827960e9</RequestId></ResponseMetadata></ReceiveMessageResponse>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0"?><ReceiveMessageResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><ReceiveMessageResult><Message><Body>{
2
+ &quot;Type&quot; : &quot;Notification&quot;,
3
+ &quot;MessageId&quot; : &quot;a1aef610-9c9b-5e9e-bd82-bb96d8f1f68a&quot;,
4
+ &quot;TopicArn&quot; : &quot;arn:aws:sns:us-west-2:123456890:test-ScalingNotificationsTopic-HPPYDAYSAGAIN&quot;,
5
+ &quot;Subject&quot; : &quot;Auto Scaling: launch erro for group \&quot;test-AutoScalingGroup-1QDX3CNO5SU3D\&quot;&quot;,
6
+ &quot;Message&quot; : &quot;{\&quot;StatusCode\&quot;:\&quot;InProgress\&quot;,\&quot;Service\&quot;:\&quot;AWS Auto Scaling\&quot;,\&quot;AutoScalingGroupName\&quot;:\&quot;test-AutoScalingGroup-1QDX3CNO5SU3D\&quot;,\&quot;Description\&quot;:\&quot;Launching a new EC2 instance: i-b57d975a\&quot;,\&quot;ActivityId\&quot;:\&quot;831e3101-ee2e-4678-90eb-e6d6bc28ec7b\&quot;,\&quot;Event\&quot;:\&quot;autoscaling:EC2_INSTANCE_LAUNCH_ERROR\&quot;,\&quot;Details\&quot;:{\&quot;Availability Zone\&quot;:\&quot;us-west-2a\&quot;,\&quot;Subnet ID\&quot;:\&quot;subnet-3c3e0e14\&quot;},\&quot;AutoScalingGroupARN\&quot;:\&quot;arn:aws:autoscaling:us-west-2:123456890:autoScalingGroup:4edb2535-5015-4b81-b668-88ecb0effcb7:autoScalingGroupName/test-AutoScalingGroup-1QDX3CNO5SU3D\&quot;,\&quot;Progress\&quot;:50,\&quot;Time\&quot;:\&quot;2015-03-20T15:52:10.480Z\&quot;,\&quot;AccountId\&quot;:\&quot;123456890\&quot;,\&quot;RequestId\&quot;:\&quot;831e3101-ee2e-4678-90eb-e6d6bc28ec7b\&quot;,\&quot;StatusMessage\&quot;:\&quot;\&quot;,\&quot;EndTime\&quot;:\&quot;2015-03-20T15:52:10.480Z\&quot;,\&quot;EC2InstanceId\&quot;:\&quot;i-b57d975a\&quot;,\&quot;StartTime\&quot;:\&quot;2015-03-20T15:51:07.025Z\&quot;,\&quot;Cause\&quot;:\&quot;At 2015-03-20T15:51:05Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 2 to 3.\&quot;}&quot;, &quot;Timestamp&quot; : &quot;2015-03-20T15:52:10.569Z&quot;, &quot;SignatureVersion&quot; : &quot;1&quot;, &quot;Signature&quot; : &quot;wBS+iTjZKp65b1oEcxznH14UUzd4/AiDVpLc/yJcywOGbvCsgv+ZZ1Odr2uFa7XDpJbrgBa51own6YCng5iTM1LR00eRN0zknmAgxTfxqSXTetY+LWjGhEdVLH7lvfipR7/EhhwJk/YGBklucTc5IIx2Y2MQcwhdLbIS5iiJW2nUDGT47szQA0GXJiZDqosyIKDpIvU3AFbBU6D9l/2/sTLfED83EUKdhqLoCgxxyAvVGk5MalKLOLPkfoiYpn46W9T6b86BQVALR5269XMlYQK/T50sC5KqjnevNXrHo9g6Ef0rggw+R2tryRgR3NQYfPc5top0MaDT5JD9shOSnw==&quot;, &quot;SigningCertURL&quot; : &quot;https://sns.us-west-2.amazonaws.com/SimpleNotificationService-d6d679a1d18e95c2f9ffcf11f4f9e198.pem&quot;, &quot;UnsubscribeURL&quot; : &quot;https://sns.us-west-2.amazonaws.com/?Action=Unsubscribe&amp;SubscriptionArn=arn:aws:sns:us-west-2:123456890:test-ScalingNotificationsTopic-HPPYDAYSAGAIN:bd850bb2-1a69-4456-a517-c645a26f54b2&quot; }</Body><MD5OfBody>13ab9f74eb7742e0d462544742e8c3fe</MD5OfBody><ReceiptHandle>foobar==</ReceiptHandle><MessageId>2bb56f5d-bc01-416c-a2dd-b057e9d483f7</MessageId></Message></ReceiveMessageResult><ResponseMetadata><RequestId>c6607c58-3a97-58fd-a491-31d3827960e9</RequestId></ResponseMetadata></ReceiveMessageResponse>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0"?><ReceiveMessageResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><ReceiveMessageResult><Message><Body>{
2
+ &quot;Type&quot; : &quot;Notification&quot;,
3
+ &quot;MessageId&quot; : &quot;82364e2f-0878-5dc6-b894-03b3a4616df6&quot;,
4
+ &quot;TopicArn&quot; : &quot;arn:aws:sns:us-west-2:123456890:staging-notifications-ABCDEFABCDEF1-AlarmTopic-AABBCCDDEEFF&quot;,
5
+ &quot;Subject&quot; : &quot;AWS CloudFormation Notification&quot;,
6
+ &quot;Message&quot; : &quot;StackName='test'\nStackId='arn:aws:cloudformation:us-west-2:123456890:stack/test/c902c830-dc73-11e4-9c9c-5088484a585d'\nEventId='Elb-CREATE_IN_PROGRESS-1428335064781'\nLogicalResourceId='Elb'\nPhysicalResourceId='staging-Elb-145IV5HRVAD57'\nResourceType='AWS::ElasticLoadBalancing::LoadBalancer'\nTimestamp='2015-04-06T15:44:24.781Z'\nResourceStatus='CREATE_IN_PROGRESS'\nResourceStatusReason='Resource creation Initiated'\nResourceProperties='{\&quot;Scheme\&quot;:\&quot;internet-facing\&quot;,\&quot;Listeners\&quot;:[{\&quot;LoadBalancerPort\&quot;:\&quot;80\&quot;,\&quot;InstancePort\&quot;:\&quot;8080\&quot;,\&quot;InstanceProtocol\&quot;:\&quot;HTTP\&quot;,\&quot;Protocol\&quot;:\&quot;HTTP\&quot;},{\&quot;LoadBalancerPort\&quot;:\&quot;443\&quot;,\&quot;InstancePort\&quot;:\&quot;8080\&quot;,\&quot;InstanceProtocol\&quot;:\&quot;HTTP\&quot;,\&quot;SSLCertificateId\&quot;:\&quot;arn:aws:iam::123456890:server-certificate/wildcard.example.com\&quot;,\&quot;Protocol\&quot;:\&quot;HTTPS\&quot;}],\&quot;Subnets\&quot;:[\&quot;subnet-f834f49d\&quot;,\&quot;subnet-d628c9a1\&quot;,\&quot;subnet-c7848581\&quot;],\&quot;SecurityGroups\&quot;:[\&quot;sg-7663c913\&quot;],\&quot;HealthCheck\&quot;:{\&quot;Timeout\&quot;:\&quot;25\&quot;,\&quot;Target\&quot;:\&quot;HTTP:8080/login\&quot;,\&quot;Interval\&quot;:\&quot;30\&quot;,\&quot;HealthyThreshold\&quot;:\&quot;2\&quot;,\&quot;UnhealthyThreshold\&quot;:\&quot;5\&quot;},\&quot;ConnectionDrainingPolicy\&quot;:{\&quot;Enabled\&quot;:\&quot;true\&quot;,\&quot;Timeout\&quot;:\&quot;180\&quot;},\&quot;CrossZone\&quot;:\&quot;true\&quot;}'\n&quot;,
7
+ &quot;Timestamp&quot; : &quot;2015-04-06T15:44:25.235Z&quot;,
8
+ &quot;SignatureVersion&quot; : &quot;1&quot;,
9
+ &quot;Signature&quot; : &quot;mnv8I43q7vKcES/WzTE6yu0FhW34HTg6j5fGRt7YcxNI9gOLUp0cYtJRjwLfjIUzSsBBeVZ2AvRMog+seU235dHincxJ/p8ybdM+khF5LfdQ+H3YhHP93oXTHCa9CJd7qdnB9OhNKwP9QimJlHOriSMEcPrDNgRN3Z81IFSo9XFoZEnwiqqokbHibun5uQL+tefrLOu/mAm3mCBkfF20cq0VjEKxr6h4Kj39i3/gqbs0TTc/3xL6DMLz4PP1fs3T4EYD/a74mdSyvTFKKn9yqUVOoH6guP67tsy5PM5UZm6gWeqUiMDVQZaADIHEXUr934d8TC43dymYmTLsEkfx4A==&quot;,
10
+ &quot;SigningCertURL&quot; : &quot;https://sns.us-west-2.amazonaws.com/SimpleNotificationService-d6d679a1d18e95c2f9ffcf11f4f9e198.pem&quot;,
11
+ &quot;UnsubscribeURL&quot; : &quot;https://sns.us-west-2.amazonaws.com/?Action=Unsubscribe&amp;SubscriptionArn=arn:aws:sns:us-west-2:123456890:staging-notifications-ABCDEFABCDEF1-AlarmTopic-AABBCCDDEEFF:beb25e2f-40bb-4229-bcd1-7f0c89f946b3&quot;
12
+ }</Body><MD5OfBody>a58f9bbf211cc0a728bb02d14aeb8591</MD5OfBody><ReceiptHandle>AQEBRycDD1xhUX9LqNvh9qndOV3QdxmWf8M+FFtNKtNQOEOpMRw0pHQKgGImQUC7FHFvCa4V/bB+28UGOo/n9q7b1IGIByIouyTrCkjFIH20UD8LiYN5HKGvZJfUAtsJHJSGiSNtrQ15Cfk/gr7+Ha5cp2D59pVca22LVwzXZA+rLmhBC2w2VnockB2sPScHm8yfSE+l0vmjYlMljpuVVCsonXTMonp4HxCc/0yMSvY22UYWwLFQH1aQuVKSB2bhvpoi3IClSC3cPye9Xr+vyiiM4jk4X2OzpzcxrwVvPqARzLFs9FrDp4dwfHSiL1SznpUD7pUoHXHbmLTkYp9Q/zjpnjsxmriYhOBal5J+HMnwjzOCwbr4Yowx4TeftZ06EHPzvJ+TxANRbIIRPj0QsgIwkg==</ReceiptHandle><MessageId>9dd265a9-e168-4107-b879-abfd3b215c6f</MessageId></Message></ReceiveMessageResult><ResponseMetadata><RequestId>068e1201-0221-5dfc-9cb6-5f9de36cd4bd</RequestId></ResponseMetadata></ReceiveMessageResponse>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0"?><ReceiveMessageResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><ReceiveMessageResult><Message><Body>{
2
+ &quot;Type&quot; : &quot;Notification&quot;,
3
+ &quot;MessageId&quot; : &quot;c531e20a-8777-571e-8bdd-af8cdb05e951&quot;,
4
+ &quot;TopicArn&quot; : &quot;arn:aws:sns:us-west-2:123456890:test-ScalingNotificationsTopic-HPPYDAYSAGAIN&quot;,
5
+ &quot;Subject&quot; : &quot;Auto Scaling: termination for group \&quot;test-AutoScalingGroup-1QDX3CNO5SU3D\&quot;&quot;,
6
+ &quot;Message&quot; : &quot;{\&quot;StatusCode\&quot;:\&quot;InProgress\&quot;,\&quot;Service\&quot;:\&quot;AWS Auto Scaling\&quot;,\&quot;AutoScalingGroupName\&quot;:\&quot;test-AutoScalingGroup-1QDX3CNO5SU3D\&quot;,\&quot;Description\&quot;:\&quot;Terminating EC2 instance: i-b57d975a\&quot;,\&quot;ActivityId\&quot;:\&quot;43323f22-1728-41a9-96d7-8123379e1857\&quot;,\&quot;Event\&quot;:\&quot;autoscaling:EC2_INSTANCE_TERMINATE\&quot;,\&quot;Details\&quot;:{\&quot;Availability Zone\&quot;:\&quot;us-west-2b\&quot;,\&quot;Subnet ID\&quot;:\&quot;subnet-8409fef3\&quot;},\&quot;AutoScalingGroupARN\&quot;:\&quot;arn:aws:autoscaling:us-west-2:123456890:autoScalingGroup:4edb2535-5015-4b81-b668-88ecb0effcb7:autoScalingGroupName/test-AutoScalingGroup-1QDX3CNO5SU3D\&quot;,\&quot;Progress\&quot;:50,\&quot;Time\&quot;: \&quot;2015-03-20T17:34:42.521Z\&quot;,\&quot;AccountId\&quot;:\&quot;123456890\&quot;,\&quot;RequestId\&quot;:\&quot;43323f22-1728-41a9-96d7-8123379e1857\&quot;,\&quot;StatusMessage\&quot;:\&quot;\&quot;,\&quot;EndTime\&quot;:\&quot;2015-03-20T17:34:42.521Z\&quot;,\&quot;EC2InstanceId\&quot;:\&quot;i-b57d975a\&quot;,\&quot;StartTime\&quot;:\&quot;2015-03-20T17:30:42.098Z\&quot;,\&quot;Cause\&quot;:\&quot;At 2015-03-20T17:30:42Z an instance was taken out of service in response to a ELB system health check failure.\&quot;}&quot; , &quot;Timestamp&quot; : &quot;2015-03-20T17:34:42.565Z&quot;, &quot;SignatureVersion&quot; : &quot;1&quot;, &quot;Signature&quot; : &quot;LnN27SdBrvsKkWwhg/RD3el9q7gnW9gI3xLXPwWmiP/stsqQQXXovdP+tm+WbnLL/vwf3ueR40wFV8L9X+Iqlnov2G4i4kgcmGRnp8F5WiroF1upfgFxhM/gvVt979GiJLLJ5ChUj29cp79IY2or5a4kRq/ATtiSh2wf8WtR8qVt4mOfz0t2K2JXeqTfEiCM6ogpuommmEJten7zZ80j8NT36k7YPtjoprDHQtn2WF23UgHgT4V2ZCC8Z4G2jGGIlEb7Kol84cgbMbYlQq9TbO7porMS9u3tC2rkDx0Xg/9ag2+n/E7FayTpsEp8rrJGurYYQYyXO9zXOeosXPPhew==&quot;,&quot;SigningCertURL&quot; : &quot;https://sns.us-west-2.amazonaws.com/SimpleNotificationService-d6d679a1d18e95c2f9ffcf11f4f9e198.pem&quot;, &quot;UnsubscribeURL&quot; : &quot;https://sns.us-west-2.amazonaws.com/?Action=Unsubscribe&amp;SubscriptionArn=arn:aws:sns:us-west-2:123456890:test-ScalingNotificationsTopic-HPPYDAYSAGAIN:bd850bb2-1a69-4456-a517-c645a26f54b2&quot;}</Body><MD5OfBody>63644d1c3f511fe2d892d65211e83df8</MD5OfBody><ReceiptHandle>AQEBopHs+NHTbxh59GNPTZNe7XRQLR4/UkrlEnMYMUA6IVyVYRW3d7pWQ3SQm9rWps1M7NU8SqYpAx32EExRdcgYnIHDqQigAnpi+qtQy839Fq7PY73HAcxI0dpBhDUSNpfI8Eac3cqpHWBMrXNO3VQERMUVnM6MEV6DVc6AzrXkJ4X700jGwrw9HWH+yoRBX9T/U6jqrun7iUXVj3T2XVtqNVbHnHhL//p0O/r/tLrtdKqZnZWKdKJ35kIxLSXWs01w9pVcinjfMVRpk3ekLd8kIgalbtz6/5lUMT0lOxiNqfpqP7HZaKoBrBWSKJC7U+jNZQTYHI6m6JRUBiREWrzhwdUbMhBM1NprFtSKOPKnKBa0UCLZFXIKORai/u/5lBptqy3W8zQDKqtG+vlMReMtHw==</ReceiptHandle><MessageId>9d55f058-22c4-4b65-baf4-deb1a1ae9378</MessageId></Message></ReceiveMessageResult><ResponseMetadata><RequestId>03c89243-a620-57b5-9688-dfc81ed36807</RequestId></ResponseMetadata></ReceiveMessageResponse>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0"?><ReceiveMessageResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><ReceiveMessageResult><Message><Body>{
2
+ &quot;Type&quot; : &quot;Notification&quot;,
3
+ &quot;MessageId&quot; : &quot;c531e20a-8777-571e-8bdd-af8cdb05e951&quot;,
4
+ &quot;TopicArn&quot; : &quot;arn:aws:sns:us-west-2:123456890:test-ScalingNotificationsTopic-HPPYDAYSAGAIN&quot;,
5
+ &quot;Subject&quot; : &quot;Auto Scaling: termination error for group \&quot;test-AutoScalingGroup-1QDX3CNO5SU3D\&quot;&quot;,
6
+ &quot;Message&quot; : &quot;{\&quot;StatusCode\&quot;:\&quot;InProgress\&quot;,\&quot;Service\&quot;:\&quot;AWS Auto Scaling\&quot;,\&quot;AutoScalingGroupName\&quot;:\&quot;test-AutoScalingGroup-1QDX3CNO5SU3D\&quot;,\&quot;Description\&quot;:\&quot;Terminating EC2 instance: i-b57d975a\&quot;,\&quot;ActivityId\&quot;:\&quot;43323f22-1728-41a9-96d7-8123379e1857\&quot;,\&quot;Event\&quot;:\&quot;autoscaling:EC2_INSTANCE_TERMINATE_ERROR\&quot;,\&quot;Details\&quot;:{\&quot;Availability Zone\&quot;:\&quot;us-west-2b\&quot;,\&quot;Subnet ID\&quot;:\&quot;subnet-8409fef3\&quot;},\&quot;AutoScalingGroupARN\&quot;:\&quot;arn:aws:autoscaling:us-west-2:123456890:autoScalingGroup:4edb2535-5015-4b81-b668-88ecb0effcb7:autoScalingGroupName/test-AutoScalingGroup-1QDX3CNO5SU3D\&quot;,\&quot;Progress\&quot;:50,\&quot;Time\&quot;: \&quot;2015-03-20T17:34:42.521Z\&quot;,\&quot;AccountId\&quot;:\&quot;123456890\&quot;,\&quot;RequestId\&quot;:\&quot;43323f22-1728-41a9-96d7-8123379e1857\&quot;,\&quot;StatusMessage\&quot;:\&quot;\&quot;,\&quot;EndTime\&quot;:\&quot;2015-03-20T17:34:42.521Z\&quot;,\&quot;EC2InstanceId\&quot;:\&quot;i-b57d975a\&quot;,\&quot;StartTime\&quot;:\&quot;2015-03-20T17:30:42.098Z\&quot;,\&quot;Cause\&quot;:\&quot;At 2015-03-20T17:30:42Z an instance was taken out of service in response to a ELB system health check failure.\&quot;}&quot; , &quot;Timestamp&quot; : &quot;2015-03-20T17:34:42.565Z&quot;, &quot;SignatureVersion&quot; : &quot;1&quot;, &quot;Signature&quot; : &quot;LnN27SdBrvsKkWwhg/RD3el9q7gnW9gI3xLXPwWmiP/stsqQQXXovdP+tm+WbnLL/vwf3ueR40wFV8L9X+Iqlnov2G4i4kgcmGRnp8F5WiroF1upfgFxhM/gvVt979GiJLLJ5ChUj29cp79IY2or5a4kRq/ATtiSh2wf8WtR8qVt4mOfz0t2K2JXeqTfEiCM6ogpuommmEJten7zZ80j8NT36k7YPtjoprDHQtn2WF23UgHgT4V2ZCC8Z4G2jGGIlEb7Kol84cgbMbYlQq9TbO7porMS9u3tC2rkDx0Xg/9ag2+n/E7FayTpsEp8rrJGurYYQYyXO9zXOeosXPPhew==&quot;,&quot;SigningCertURL&quot; : &quot;https://sns.us-west-2.amazonaws.com/SimpleNotificationService-d6d679a1d18e95c2f9ffcf11f4f9e198.pem&quot;, &quot;UnsubscribeURL&quot; : &quot;https://sns.us-west-2.amazonaws.com/?Action=Unsubscribe&amp;SubscriptionArn=arn:aws:sns:us-west-2:123456890:test-ScalingNotificationsTopic-HPPYDAYSAGAIN:bd850bb2-1a69-4456-a517-c645a26f54b2&quot;}</Body><MD5OfBody>63644d1c3f511fe2d892d65211e83df8</MD5OfBody><ReceiptHandle>AQEBopHs+NHTbxh59GNPTZNe7XRQLR4/UkrlEnMYMUA6IVyVYRW3d7pWQ3SQm9rWps1M7NU8SqYpAx32EExRdcgYnIHDqQigAnpi+qtQy839Fq7PY73HAcxI0dpBhDUSNpfI8Eac3cqpHWBMrXNO3VQERMUVnM6MEV6DVc6AzrXkJ4X700jGwrw9HWH+yoRBX9T/U6jqrun7iUXVj3T2XVtqNVbHnHhL//p0O/r/tLrtdKqZnZWKdKJ35kIxLSXWs01w9pVcinjfMVRpk3ekLd8kIgalbtz6/5lUMT0lOxiNqfpqP7HZaKoBrBWSKJC7U+jNZQTYHI6m6JRUBiREWrzhwdUbMhBM1NprFtSKOPKnKBa0UCLZFXIKORai/u/5lBptqy3W8zQDKqtG+vlMReMtHw==</ReceiptHandle><MessageId>9d55f058-22c4-4b65-baf4-deb1a1ae9378</MessageId></Message></ReceiveMessageResult><ResponseMetadata><RequestId>03c89243-a620-57b5-9688-dfc81ed36807</RequestId></ResponseMetadata></ReceiveMessageResponse>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0"?><ReceiveMessageResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><ReceiveMessageResult><Message><Body>{
2
+ &quot;Type&quot; : &quot;Notification&quot;,
3
+ &quot;MessageId&quot; : &quot;09c44a65-eb65-5009-9cbe-07fbc74d9bfb&quot;,
4
+ &quot;TopicArn&quot; : &quot;arn:aws:sns:us-east-1:1234567890:test-ScalingNotificationsTopic-HPPYDAYSAGAIN&quot;,
5
+ &quot;Subject&quot; : &quot;Auto Scaling: test notification for group \&quot;test-AutoScalingGroup-1IL82X132XVPE\&quot;&quot;,
6
+ &quot;Message&quot; : &quot;{\&quot;AutoScalingGroupName\&quot;:\&quot;test-AutoScalingGroup-1IL82X132XVPE\&quot;,\&quot;Service\&quot;:\&quot;AWS Auto Scaling\&quot;,\&quot;Time\&quot;:\&quot;2015-04-07T19:03:04.742Z\&quot;,\&quot;AccountId\&quot;:\&quot;1234567890\&quot;,\&quot;Event\&quot;:\&quot;autoscaling:TEST_NOTIFICATION\&quot;,\&quot;RequestId\&quot;:\&quot;b84cd0e1-dd58-11e4-8676-c7c94859f04a\&quot;,\&quot;AutoScalingGroupARN\&quot;:\&quot;arn:aws:autoscaling:us-east-1:1234567890:autoScalingGroup:ead5f3d4-b9c9-473f-9b2d-1b120c462f07:autoScalingGroupName/test-AutoScalingGroup-1IL82X132XVPE\&quot;}&quot;,
7
+ &quot;Timestamp&quot; : &quot;2015-04-07T19:03:04.805Z&quot;,
8
+ &quot;SignatureVersion&quot; : &quot;1&quot;,
9
+ &quot;Signature&quot; : &quot;YMe+8nD+FWFFZZGtVEvxalUmL1bIcjumx3PlnNaIIyh3ZtU96T0SLZD9NW0QLYEZCG+XK2kQQgXe0IsgL/DmKcROnYD53yJTps6F9GlzMS/+qCsgE9Tz8PKKsbFQB6uzNxKdUXW2gKfc0g3Qq+o1csOEqN4Yvp5IhrR7IbTFdPo60Y2wAFBtJ80Hsnw+pE5AExPul4IXOQQi/MdbKO9FPlrGG2Nt0cNoRxlkadow0FSbYseGxGOZqI1ZVF+FUEk0GhK5dVm3PZCCQh1xdO5XtxORxryyOWSlW1usWElHXbb2/w+ftjDgkmNx/jpobNJ8rFWpLcW49y7B1Prp2JSvGA==&quot;,
10
+ &quot;SigningCertURL&quot; : &quot;https://sns.us-east-1.amazonaws.com/SimpleNotificationService-d6d679a1d18e95c2f9ffcf11f4f9e198.pem&quot;,
11
+ &quot;UnsubscribeURL&quot; : &quot;https://sns.us-east-1.amazonaws.com/?Action=Unsubscribe&amp;SubscriptionArn=arn:aws:sns:us-east-1:1234567890:test-ScalingNotificationsTopic-HPPYDAYSAGAIN:4a3de569-4892-41ce-9720-47e14f68e7c1&quot;
12
+ }</Body><MD5OfBody>01ea98c60542d49040a6001253466335</MD5OfBody><ReceiptHandle>AQEB7OVKNZOyuI58H+YK0AkrZt3E/Dq0RWTpQEm8x+TlIDdPmfFCn0/NiftmEOx0K9DfHElFsfN3ff98pYH1+rgtuIzTICGVYgUVfPM+gnzAeaB3ougLyl5DFIjwV649CccQEpbCP10hcXL6EdChFhnS5QWc1556WTABA+gVufUoCgnd/zpsxWH8T/jMTRUqIWIuhgFvg9RJgkDz15DxBbALsFbJI7EsllutsUco6rKsu2uYcZw7VgGWF+ZxhhCq+lGAccCoXx3Slc5jKDbkN+7Bu5T7xMLYe4ZGb+RJk6vw3JWxQO/OD9d1PxKDfU9UAgzwDu1txOVpnmU0UO1UaJPrXIPR+dyVtGqsUILMa1Gjcy8TqJGXIQkc5kettXE2gw9jEUAQwA/mG2n5yAS35OrdbQ==</ReceiptHandle><MessageId>f242ad48-2a9c-479b-a841-b7954d2765de</MessageId></Message></ReceiveMessageResult><ResponseMetadata><RequestId>464a4f79-feec-5209-b5f3-02e7c874a4c9</RequestId></ResponseMetadata></ReceiveMessageResponse>
@@ -0,0 +1 @@
1
+ <?xml version=\"1.0\"?><SetQueueAttributesResponse xmlns=\"http://queue.amazonaws.com/doc/2012-11-05/\"><ResponseMetadata><RequestId>cd68fe96-2f03-5f0e-a082-b314d8e08c72</RequestId></ResponseMetadata></SetQueueAttributesResponse>
@@ -0,0 +1,17 @@
1
+ <AssumeRoleResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
2
+ <AssumeRoleResult>
3
+ <AssumedRoleUser>
4
+ <Arn>arn:aws:sts::123456890:assumed-role/test-12345678901234-IAMRole-1B4T284VK5TY/foo</Arn>
5
+ <AssumedRoleId>AROAIOACMD7RRGNV2WEMC:foo</AssumedRoleId>
6
+ </AssumedRoleUser>
7
+ <Credentials>
8
+ <SessionToken>AQoDYXdzEBYagAIaMJv9iVCiwJTaU6qUE9GV1qI34f2LXYkFNbdSE7FOowpZQBF9b4PnudOYYepmMZvhmNRYukVhK5nK/GS9fP202H5gsUeeZCyAGCDF3tuwmed5zgB8tEYqtSFLpRJsQEIIN/5mZMPcme3S3hfdXMO+8KI5XgxNSk/w8kvu28p82bWWZHCArpJgJOgENJRkjhHvk3b3DS9XGgcfmUJrJX0QG3iDRLI9rARj9ZfCpDDO0c7hs38cFZXFrtUzs4s6/TqI/gOCD/H9OJUtnEfC6c1kV8C4sSwR6M++dkZyF7OUaWVohEwYUWDaxe/L+3Fy4GSkEH8kFZ2RHLSag7ifUpo2IIC/2qgF</SessionToken>
9
+ <SecretAccessKey>nnTKt8tyqv43nBvywc0CuwhS9FgXtSX13cH2ndBB</SecretAccessKey>
10
+ <Expiration>2038-01-01T00:00:00Z</Expiration>
11
+ <AccessKeyId>ABCDEFABCDEFABCDEF</AccessKeyId>
12
+ </Credentials>
13
+ </AssumeRoleResult>
14
+ <ResponseMetadata>
15
+ <RequestId>94aa8f24-d546-11e4-97f5-b1b52459b49e</RequestId>
16
+ </ResponseMetadata>
17
+ </AssumeRoleResponse>
@@ -0,0 +1,6 @@
1
+ {
2
+ "rows": [
3
+ ],
4
+ "start":0,
5
+ "total":0
6
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "rows": [
3
+ {"name":"test-414.staging.example.com","public_key":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2LxxzyLSApvZfMkCAwsv\nZWsZnPor1axZvcq87j0lW6wqvBcjJo4V7iOS9beEfxf+UL/xOUjUnAYnp4zPYedh\nvVRGPZhaJRJG3DJErw8VE8BY2gu2uD8P4Ff4DNUBIyFjyshP1a9u8Cls0R4cl/yX\nSVVxENQz//RXvQwFNoJCQjVkKCdeUkM+k6cC5Mcib39BFJsDBpszwNhfTutrXLo0\nON0le9uIU+o1F/+Lrnh6XuIuM6pohTajIqTACOA43a97ekVe5vWIJd8vAT4VZI8U\nEdCgjh00BxampDvzBAsPaKDCecVf2nA1HS8OLjgzbZhIRQuS8M3eA6YDdCzP8X7A\nHQIDAQAB\n-----END PUBLIC KEY-----\n\n","validator":false,"admin":false,"json_class":"Chef::ApiClient","chef_type":"client"}
4
+ ],
5
+ "start":0,
6
+ "total":1
7
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "rows": [
3
+ {"name":"test-414.staging.example.com","public_key":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2LxxzyLSApvZfMkCAwsv\nZWsZnPor1axZvcq87j0lW6wqvBcjJo4V7iOS9beEfxf+UL/xOUjUnAYnp4zPYedh\nvVRGPZhaJRJG3DJErw8VE8BY2gu2uD8P4Ff4DNUBIyFjyshP1a9u8Cls0R4cl/yX\nSVVxENQz//RXvQwFNoJCQjVkKCdeUkM+k6cC5Mcib39BFJsDBpszwNhfTutrXLo0\nON0le9uIU+o1F/+Lrnh6XuIuM6pohTajIqTACOA43a97ekVe5vWIJd8vAT4VZI8U\nEdCgjh00BxampDvzBAsPaKDCecVf2nA1HS8OLjgzbZhIRQuS8M3eA6YDdCzP8X7A\nHQIDAQAB\n-----END PUBLIC KEY-----\n\n","validator":false,"admin":false,"json_class":"Chef::ApiClient","chef_type":"client"},
4
+ {"name":"test-1.staging.example.com","public_key":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2LxxzyLSApvZfMkCAwsv\nZWsZnPor1axZvcq87j0lW6wqvBcjJo4V7iOS9beEfxf+UL/xOUjUnAYnp4zPYedh\nvVRGPZhaJRJG3DJErw8VE8BY2gu2uD8P4Ff4DNUBIyFjyshP1a9u8Cls0R4cl/yX\nSVVxENQz//RXvQwFNoJCQjVkKCdeUkM+k6cC5Mcib39BFJsDBpszwNhfTutrXLo0\nON0le9uIU+o1F/+Lrnh6XuIuM6pohTajIqTACOA43a97ekVe5vWIJd8vAT4VZI8U\nEdCgjh00BxampDvzBAsPaKDCecVf2nA1HS8OLjgzbZhIRQuS8M3eA6YDdCzP8X7A\nHQIDAQAB\n-----END PUBLIC KEY-----\n\n","validator":false,"admin":false,"json_class":"Chef::ApiClient","chef_type":"client"}
5
+ ],
6
+ "start":0,
7
+ "total":2
8
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "rows":[ ],
3
+ "start":0,
4
+ "total":0
5
+ }
@@ -0,0 +1,784 @@
1
+ {
2
+ "rows":[
3
+ {
4
+ "run_list": ["role[application]"],
5
+ "recipes": ["ohai"],
6
+ "name": "test-414.staging.example.com",
7
+ "chef_environment": "staging",
8
+ "json_class": "Chef::Node",
9
+ "automatic": {
10
+ "kernel": {
11
+ "name": "Linux",
12
+ "release": "3.2.0-77-virtual",
13
+ "version": "#112-Ubuntu SMP Tue Feb 10 15:34:22 UTC 2015",
14
+ "machine": "x86_64",
15
+ "os": "GNU/Linux",
16
+ "modules": {
17
+ "isofs": {
18
+ "size": "40259",
19
+ "refcount": "0"
20
+ },
21
+ "acpiphp": {
22
+ "size": "24231",
23
+ "refcount": "0"
24
+ }
25
+ }
26
+ },
27
+ "network": {
28
+ "interfaces": {
29
+ "lo": {
30
+ "mtu": "16436",
31
+ "flags": [
32
+ "LOOPBACK",
33
+ "UP",
34
+ "LOWER_UP"
35
+ ],
36
+ "encapsulation": "Loopback",
37
+ "addresses": {
38
+ "127.0.0.1": {
39
+ "family": "inet",
40
+ "prefixlen": "8",
41
+ "netmask": "255.0.0.0",
42
+ "scope": "Node"
43
+ },
44
+ "::1": {
45
+ "family": "inet6",
46
+ "prefixlen": "128",
47
+ "scope": "Node"
48
+ }
49
+ },
50
+ "state": "unknown"
51
+ },
52
+ "eth0": {
53
+ "type": "eth",
54
+ "number": "0",
55
+ "mtu": "9001",
56
+ "flags": [
57
+ "BROADCAST",
58
+ "MULTICAST",
59
+ "UP",
60
+ "LOWER_UP"
61
+ ],
62
+ "encapsulation": "Ethernet",
63
+ "addresses": {
64
+ "0E:10:F4:DE:EB:BB": {
65
+ "family": "lladdr"
66
+ },
67
+ "172.16.30.125": {
68
+ "family": "inet",
69
+ "prefixlen": "23",
70
+ "netmask": "255.255.254.0",
71
+ "broadcast": "172.16.31.255",
72
+ "scope": "Global"
73
+ },
74
+ "fe80::c10:f4ff:fede:ebbb": {
75
+ "family": "inet6",
76
+ "prefixlen": "64",
77
+ "scope": "Link"
78
+ }
79
+ },
80
+ "state": "up",
81
+ "arp": {
82
+ "172.16.30.1": "0e:dd:bf:3e:9b:8b"
83
+ },
84
+ "routes": [
85
+ {
86
+ "destination": "default",
87
+ "family": "inet",
88
+ "via": "172.16.30.1",
89
+ "metric": "100"
90
+ },
91
+ {
92
+ "destination": "172.16.30.0/23",
93
+ "family": "inet",
94
+ "scope": "link",
95
+ "proto": "kernel",
96
+ "src": "172.16.30.125"
97
+ },
98
+ {
99
+ "destination": "fe80::/64",
100
+ "family": "inet6",
101
+ "metric": "256",
102
+ "proto": "kernel"
103
+ }
104
+ ]
105
+ }
106
+ },
107
+ "default_interface": "eth0",
108
+ "default_gateway": "172.16.30.1"
109
+ },
110
+ "counters": {
111
+ "network": {
112
+ "interfaces": {
113
+ "lo": {
114
+ "rx": {
115
+ "bytes": "140935504",
116
+ "packets": "125029",
117
+ "errors": "0",
118
+ "drop": "0",
119
+ "overrun": "0"
120
+ },
121
+ "tx": {
122
+ "bytes": "140935504",
123
+ "packets": "125029",
124
+ "errors": "0",
125
+ "drop": "0",
126
+ "carrier": "0",
127
+ "collisions": "0"
128
+ }
129
+ },
130
+ "eth0": {
131
+ "tx": {
132
+ "queuelen": "1000",
133
+ "bytes": "79220071",
134
+ "packets": "118529",
135
+ "errors": "0",
136
+ "drop": "0",
137
+ "carrier": "0",
138
+ "collisions": "0"
139
+ },
140
+ "rx": {
141
+ "bytes": "181310971",
142
+ "packets": "202589",
143
+ "errors": "0",
144
+ "drop": "0",
145
+ "overrun": "0"
146
+ }
147
+ }
148
+ }
149
+ }
150
+ },
151
+ "ipaddress": "172.16.30.125",
152
+ "macaddress": "0E:10:F4:DE:EB:BB",
153
+ "filesystem": {
154
+ "/dev/xvda1": {
155
+ "kb_size": "103212320",
156
+ "kb_used": "3016464",
157
+ "kb_available": "94954156",
158
+ "percent_used": "4%",
159
+ "mount": "/",
160
+ "total_inodes": "6553600",
161
+ "inodes_used": "135711",
162
+ "inodes_available": "6417889",
163
+ "inodes_percent_used": "3%",
164
+ "fs_type": "ext4",
165
+ "mount_options": [
166
+ "rw"
167
+ ]
168
+ },
169
+ "udev": {
170
+ "kb_size": "7661552",
171
+ "kb_used": "8",
172
+ "kb_available": "7661544",
173
+ "percent_used": "1%",
174
+ "mount": "/dev",
175
+ "total_inodes": "1915388",
176
+ "inodes_used": "392",
177
+ "inodes_available": "1914996",
178
+ "inodes_percent_used": "1%",
179
+ "fs_type": "devtmpfs",
180
+ "mount_options": [
181
+ "rw",
182
+ "mode=0755"
183
+ ]
184
+ },
185
+ "tmpfs": {
186
+ "kb_size": "1533964",
187
+ "kb_used": "220",
188
+ "kb_available": "1533744",
189
+ "percent_used": "1%",
190
+ "mount": "/run",
191
+ "total_inodes": "1917452",
192
+ "inodes_used": "284",
193
+ "inodes_available": "1917168",
194
+ "inodes_percent_used": "1%",
195
+ "fs_type": "tmpfs",
196
+ "mount_options": [
197
+ "rw",
198
+ "noexec",
199
+ "nosuid",
200
+ "size=10%",
201
+ "mode=0755"
202
+ ]
203
+ },
204
+ "none": {
205
+ "kb_size": "7669808",
206
+ "kb_used": "0",
207
+ "kb_available": "7669808",
208
+ "percent_used": "0%",
209
+ "mount": "/run/shm",
210
+ "total_inodes": "1917452",
211
+ "inodes_used": "1",
212
+ "inodes_available": "1917451",
213
+ "inodes_percent_used": "1%",
214
+ "fs_type": "tmpfs",
215
+ "mount_options": [
216
+ "rw",
217
+ "nosuid",
218
+ "nodev"
219
+ ]
220
+ },
221
+ "/dev/xvdb2": {
222
+ "kb_size": "37112232",
223
+ "kb_used": "226524",
224
+ "kb_available": "35000484",
225
+ "percent_used": "1%",
226
+ "mount": "/apps",
227
+ "total_inodes": "2359296",
228
+ "inodes_used": "32",
229
+ "inodes_available": "2359264",
230
+ "inodes_percent_used": "1%",
231
+ "fs_type": "ext4",
232
+ "mount_options": [
233
+ "rw"
234
+ ]
235
+ },
236
+ "proc": {
237
+ "mount": "/proc",
238
+ "fs_type": "proc",
239
+ "mount_options": [
240
+ "rw",
241
+ "noexec",
242
+ "nosuid",
243
+ "nodev"
244
+ ]
245
+ },
246
+ "sysfs": {
247
+ "mount": "/sys",
248
+ "fs_type": "sysfs",
249
+ "mount_options": [
250
+ "rw",
251
+ "noexec",
252
+ "nosuid",
253
+ "nodev"
254
+ ]
255
+ },
256
+ "devpts": {
257
+ "mount": "/dev/pts",
258
+ "fs_type": "devpts",
259
+ "mount_options": [
260
+ "rw",
261
+ "noexec",
262
+ "nosuid",
263
+ "gid=5",
264
+ "mode=0620"
265
+ ]
266
+ },
267
+ "xvda1": {
268
+ "fs_type": "ext4",
269
+ "uuid": "05ff0d8e-fbaf-4357-a261-9165fe9323f9",
270
+ "label": "cloudimg-rootfs"
271
+ },
272
+ "xvdb": {
273
+ "fs_type": "ext3",
274
+ "uuid": "6b6e6715-711f-477e-8554-3576dec970b9"
275
+ },
276
+ "xvdb1": {
277
+ "fs_type": "swap",
278
+ "uuid": "02a0de21-0977-4a8f-8e84-b2fa7e7f83d2"
279
+ },
280
+ "xvdb2": {
281
+ "fs_type": "ext4",
282
+ "uuid": "ff37b1f6-651e-4f8d-857b-a0f180ed01d3"
283
+ },
284
+ "xvdc": {
285
+ "fs_type": "ext3",
286
+ "uuid": "6b6e6715-711f-477e-8554-3576dec970b9"
287
+ },
288
+ "rootfs": {
289
+ "mount": "/",
290
+ "fs_type": "rootfs",
291
+ "mount_options": [
292
+ "rw"
293
+ ]
294
+ },
295
+ "/dev/disk/by-label/cloudimg-rootfs": {
296
+ "mount": "/",
297
+ "fs_type": "ext4",
298
+ "mount_options": [
299
+ "rw",
300
+ "relatime",
301
+ "user_xattr",
302
+ "barrier=1",
303
+ "data=ordered"
304
+ ]
305
+ }
306
+ },
307
+ "ip6address": "fe80::c10:f4ff:fede:ebbb",
308
+ "cpu": {
309
+ "0": {
310
+ "vendor_id": "GenuineIntel",
311
+ "family": "6",
312
+ "model": "62",
313
+ "model_name": "Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz",
314
+ "stepping": "4",
315
+ "mhz": "2500.064",
316
+ "cache_size": "25600 KB",
317
+ "physical_id": "1",
318
+ "core_id": "1",
319
+ "cores": "1",
320
+ "flags": [
321
+ "fpu",
322
+ "de",
323
+ "tsc",
324
+ "msr",
325
+ "pae",
326
+ "cx8",
327
+ "sep",
328
+ "cmov",
329
+ "pat",
330
+ "clflush",
331
+ "mmx",
332
+ "fxsr",
333
+ "sse",
334
+ "sse2",
335
+ "ss",
336
+ "ht",
337
+ "syscall",
338
+ "nx",
339
+ "lm",
340
+ "constant_tsc",
341
+ "rep_good",
342
+ "nopl",
343
+ "pni",
344
+ "pclmulqdq",
345
+ "ssse3",
346
+ "cx16",
347
+ "sse4_1",
348
+ "sse4_2",
349
+ "x2apic",
350
+ "popcnt",
351
+ "tsc_deadline_timer",
352
+ "aes",
353
+ "rdrand",
354
+ "hypervisor",
355
+ "lahf_lm",
356
+ "ida",
357
+ "arat",
358
+ "epb",
359
+ "pln",
360
+ "pts",
361
+ "dtherm",
362
+ "fsgsbase",
363
+ "erms"
364
+ ]
365
+ },
366
+ "1": {
367
+ "vendor_id": "GenuineIntel",
368
+ "family": "6",
369
+ "model": "62",
370
+ "model_name": "Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz",
371
+ "stepping": "4",
372
+ "mhz": "2500.064",
373
+ "cache_size": "25600 KB",
374
+ "physical_id": "1",
375
+ "core_id": "1",
376
+ "cores": "1",
377
+ "flags": [
378
+ "fpu",
379
+ "de",
380
+ "tsc",
381
+ "msr",
382
+ "pae",
383
+ "cx8",
384
+ "sep",
385
+ "cmov",
386
+ "pat",
387
+ "clflush",
388
+ "mmx",
389
+ "fxsr",
390
+ "sse",
391
+ "sse2",
392
+ "ss",
393
+ "ht",
394
+ "syscall",
395
+ "nx",
396
+ "lm",
397
+ "constant_tsc",
398
+ "rep_good",
399
+ "nopl",
400
+ "pni",
401
+ "pclmulqdq",
402
+ "ssse3",
403
+ "cx16",
404
+ "sse4_1",
405
+ "sse4_2",
406
+ "x2apic",
407
+ "popcnt",
408
+ "tsc_deadline_timer",
409
+ "aes",
410
+ "rdrand",
411
+ "hypervisor",
412
+ "lahf_lm",
413
+ "ida",
414
+ "arat",
415
+ "epb",
416
+ "pln",
417
+ "pts",
418
+ "dtherm",
419
+ "fsgsbase",
420
+ "erms"
421
+ ]
422
+ },
423
+ "2": {
424
+ "vendor_id": "GenuineIntel",
425
+ "family": "6",
426
+ "model": "62",
427
+ "model_name": "Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz",
428
+ "stepping": "4",
429
+ "mhz": "2500.064",
430
+ "cache_size": "25600 KB",
431
+ "physical_id": "1",
432
+ "core_id": "1",
433
+ "cores": "1",
434
+ "flags": [
435
+ "fpu",
436
+ "de",
437
+ "tsc",
438
+ "msr",
439
+ "pae",
440
+ "cx8",
441
+ "sep",
442
+ "cmov",
443
+ "pat",
444
+ "clflush",
445
+ "mmx",
446
+ "fxsr",
447
+ "sse",
448
+ "sse2",
449
+ "ss",
450
+ "ht",
451
+ "syscall",
452
+ "nx",
453
+ "lm",
454
+ "constant_tsc",
455
+ "rep_good",
456
+ "nopl",
457
+ "pni",
458
+ "pclmulqdq",
459
+ "ssse3",
460
+ "cx16",
461
+ "sse4_1",
462
+ "sse4_2",
463
+ "x2apic",
464
+ "popcnt",
465
+ "tsc_deadline_timer",
466
+ "aes",
467
+ "rdrand",
468
+ "hypervisor",
469
+ "lahf_lm",
470
+ "ida",
471
+ "arat",
472
+ "epb",
473
+ "pln",
474
+ "pts",
475
+ "dtherm",
476
+ "fsgsbase",
477
+ "erms"
478
+ ]
479
+ },
480
+ "3": {
481
+ "vendor_id": "GenuineIntel",
482
+ "family": "6",
483
+ "model": "62",
484
+ "model_name": "Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz",
485
+ "stepping": "4",
486
+ "mhz": "2500.064",
487
+ "cache_size": "25600 KB",
488
+ "physical_id": "1",
489
+ "core_id": "1",
490
+ "cores": "1",
491
+ "flags": [
492
+ "fpu",
493
+ "de",
494
+ "tsc",
495
+ "msr",
496
+ "pae",
497
+ "cx8",
498
+ "sep",
499
+ "cmov",
500
+ "pat",
501
+ "clflush",
502
+ "mmx",
503
+ "fxsr",
504
+ "sse",
505
+ "sse2",
506
+ "ss",
507
+ "ht",
508
+ "syscall",
509
+ "nx",
510
+ "lm",
511
+ "constant_tsc",
512
+ "rep_good",
513
+ "nopl",
514
+ "pni",
515
+ "pclmulqdq",
516
+ "ssse3",
517
+ "cx16",
518
+ "sse4_1",
519
+ "sse4_2",
520
+ "x2apic",
521
+ "popcnt",
522
+ "tsc_deadline_timer",
523
+ "aes",
524
+ "rdrand",
525
+ "hypervisor",
526
+ "lahf_lm",
527
+ "ida",
528
+ "arat",
529
+ "epb",
530
+ "pln",
531
+ "pts",
532
+ "dtherm",
533
+ "fsgsbase",
534
+ "erms"
535
+ ]
536
+ },
537
+ "total": 4,
538
+ "real": 1
539
+ },
540
+ "os": "linux",
541
+ "os_version": "3.2.0-77-virtual",
542
+ "lsb": {
543
+ "id": "Ubuntu",
544
+ "release": "12.04",
545
+ "codename": "precise",
546
+ "description": "Ubuntu 12.04.5 LTS"
547
+ },
548
+ "platform": "ubuntu",
549
+ "platform_version": "12.04",
550
+ "platform_family": "debian",
551
+ "memory": {
552
+ "swap": {
553
+ "cached": "0kB",
554
+ "total": "1606492kB",
555
+ "free": "1606492kB"
556
+ },
557
+ "total": "15339616kB",
558
+ "free": "9648444kB",
559
+ "buffers": "48724kB",
560
+ "cached": "763936kB",
561
+ "active": "5105188kB",
562
+ "inactive": "332544kB",
563
+ "dirty": "220kB",
564
+ "writeback": "0kB",
565
+ "anon_pages": "4625356kB",
566
+ "mapped": "61140kB",
567
+ "slab": "64364kB",
568
+ "slab_reclaimable": "51284kB",
569
+ "slab_unreclaim": "13080kB",
570
+ "page_tables": "16096kB",
571
+ "nfs_unstable": "0kB",
572
+ "bounce": "0kB",
573
+ "commit_limit": "9276300kB",
574
+ "committed_as": "14771792kB",
575
+ "vmalloc_total": "34359738367kB",
576
+ "vmalloc_used": "41152kB",
577
+ "vmalloc_chunk": "34359695064kB"
578
+ },
579
+ "command": {
580
+ "ps": "ps -ef"
581
+ },
582
+ "languages": {},
583
+ "hostname": "test-414",
584
+ "machinename": "test-414",
585
+ "fqdn": "test-414.staging.example.com",
586
+ "domain": "staging.example.com",
587
+ "ec2": {
588
+ "instance_id": "i-b57d975a"
589
+ },
590
+ "current_user": null,
591
+ "chef_packages": {
592
+ "ohai": {
593
+ "version": "7.4.0",
594
+ "ohai_root": "/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-7.4.0/lib/ohai"
595
+ },
596
+ "chef": {
597
+ "version": "11.16.4",
598
+ "chef_root": "/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.16.4/lib"
599
+ }
600
+ },
601
+ "init_package": "init",
602
+ "block_device": {
603
+ "ram0": {
604
+ "size": "131072",
605
+ "removable": "0"
606
+ },
607
+ "ram1": {
608
+ "size": "131072",
609
+ "removable": "0"
610
+ },
611
+ "ram2": {
612
+ "size": "131072",
613
+ "removable": "0"
614
+ },
615
+ "ram3": {
616
+ "size": "131072",
617
+ "removable": "0"
618
+ },
619
+ "ram4": {
620
+ "size": "131072",
621
+ "removable": "0"
622
+ },
623
+ "ram5": {
624
+ "size": "131072",
625
+ "removable": "0"
626
+ },
627
+ "ram6": {
628
+ "size": "131072",
629
+ "removable": "0"
630
+ },
631
+ "ram7": {
632
+ "size": "131072",
633
+ "removable": "0"
634
+ },
635
+ "ram8": {
636
+ "size": "131072",
637
+ "removable": "0"
638
+ },
639
+ "ram9": {
640
+ "size": "131072",
641
+ "removable": "0"
642
+ },
643
+ "ram10": {
644
+ "size": "131072",
645
+ "removable": "0"
646
+ },
647
+ "ram11": {
648
+ "size": "131072",
649
+ "removable": "0"
650
+ },
651
+ "ram12": {
652
+ "size": "131072",
653
+ "removable": "0"
654
+ },
655
+ "ram13": {
656
+ "size": "131072",
657
+ "removable": "0"
658
+ },
659
+ "ram14": {
660
+ "size": "131072",
661
+ "removable": "0"
662
+ },
663
+ "ram15": {
664
+ "size": "131072",
665
+ "removable": "0"
666
+ },
667
+ "loop0": {
668
+ "size": "0",
669
+ "removable": "0"
670
+ },
671
+ "loop1": {
672
+ "size": "0",
673
+ "removable": "0"
674
+ },
675
+ "loop2": {
676
+ "size": "0",
677
+ "removable": "0"
678
+ },
679
+ "loop3": {
680
+ "size": "0",
681
+ "removable": "0"
682
+ },
683
+ "loop4": {
684
+ "size": "0",
685
+ "removable": "0"
686
+ },
687
+ "loop5": {
688
+ "size": "0",
689
+ "removable": "0"
690
+ },
691
+ "loop6": {
692
+ "size": "0",
693
+ "removable": "0"
694
+ },
695
+ "loop7": {
696
+ "size": "0",
697
+ "removable": "0"
698
+ },
699
+ "xvda1": {
700
+ "size": "209715200",
701
+ "removable": "0"
702
+ },
703
+ "xvdb": {
704
+ "size": "78626816",
705
+ "removable": "0"
706
+ },
707
+ "xvdc": {
708
+ "size": "78626816",
709
+ "removable": "0"
710
+ }
711
+ },
712
+ "ohai_time": 1427652209.8412876,
713
+ "recipes": ["ohai"],
714
+ "roles": [
715
+ "application",
716
+ "base"
717
+ ],
718
+ "nginx": {
719
+ "version": "1.1.19",
720
+ "configure_arguments": [
721
+ "--prefix=/etc/nginx",
722
+ "--conf-path=/etc/nginx/nginx.conf",
723
+ "--error-log-path=/var/log/nginx/error.log",
724
+ "--http-client-body-temp-path=/var/lib/nginx/body",
725
+ "--http-fastcgi-temp-path=/var/lib/nginx/fastcgi",
726
+ "--http-log-path=/var/log/nginx/access.log",
727
+ "--http-proxy-temp-path=/var/lib/nginx/proxy",
728
+ "--http-scgi-temp-path=/var/lib/nginx/scgi",
729
+ "--http-uwsgi-temp-path=/var/lib/nginx/uwsgi",
730
+ "--lock-path=/var/lock/nginx.lock",
731
+ "--pid-path=/var/run/nginx.pid",
732
+ "--with-debug",
733
+ "--with-http_addition_module",
734
+ "--with-http_dav_module",
735
+ "--with-http_flv_module",
736
+ "--with-http_geoip_module",
737
+ "--with-http_gzip_static_module",
738
+ "--with-http_image_filter_module",
739
+ "--with-http_mp4_module",
740
+ "--with-http_perl_module",
741
+ "--with-http_random_index_module",
742
+ "--with-http_realip_module",
743
+ "--with-http_secure_link_module",
744
+ "--with-http_stub_status_module",
745
+ "--with-http_ssl_module",
746
+ "--with-http_sub_module",
747
+ "--with-http_xslt_module",
748
+ "--with-ipv6",
749
+ "--with-sha1=/usr/include/openssl",
750
+ "--with-md5=/usr/include/openssl",
751
+ "--with-mail",
752
+ "--with-mail_ssl_module",
753
+ "--add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-auth-pam",
754
+ "--add-module=/build/buildd/nginx-1.1.19/debian/modules/chunkin-nginx-module",
755
+ "--add-module=/build/buildd/nginx-1.1.19/debian/modules/headers-more-nginx-module",
756
+ "--add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-development-kit",
757
+ "--add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-echo",
758
+ "--add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-http-push",
759
+ "--add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-lua",
760
+ "--add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-upload-module",
761
+ "--add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-upload-progress",
762
+ "--add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-upstream-fair",
763
+ "--add-module=/build/buildd/nginx-1.1.19/debian/modules/nginx-dav-ext-module"
764
+ ],
765
+ "prefix": "/etc/nginx",
766
+ "conf_path": "/etc/nginx/nginx.conf"
767
+ }
768
+ },
769
+ "normal": {
770
+ "deployed_apps": [
771
+ "test"
772
+ ],
773
+ "tags": [
774
+ "staging",
775
+ "test-web",
776
+ "test"
777
+ ]
778
+ },
779
+ "chef_type": "node"
780
+ }
781
+ ],
782
+ "start":0,
783
+ "total":1
784
+ }