aws-cleaner 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/aws_cleaner.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d960635f67336a50cd494f8c4886cb2d288dac07
|
4
|
+
data.tar.gz: b2e13460c1390ff2a38484d42c19cbe9cb2b7805
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e17e67a8eb0ad493b54cc106f019c5a70201ad55ad032309fcef253ef76f78c29e4bc71e155a614c40f5ccb48a23e84decbb2049944a70f71f65254b79d92a10
|
7
|
+
data.tar.gz: 4ff7266734e55f77f702f83b90f2c32eb28c46d569786437addcacc1960db6196950264b4650dcd48999b953526cc26b080c67bae706d7e609f787346dccf3ba
|
data/bin/aws_cleaner.rb
CHANGED
@@ -73,7 +73,7 @@ end
|
|
73
73
|
|
74
74
|
# call the Chef API to get the node name of the instance
|
75
75
|
def get_chef_node_name(instance_id)
|
76
|
-
results = @chef.search.query(:node, "ec2_instance_id:#{instance_id}")
|
76
|
+
results = @chef.search.query(:node, "ec2_instance_id:#{instance_id} OR chef_provisioning_reference_server_id:#{instance_id}")
|
77
77
|
if results.rows.size > 0
|
78
78
|
return results.rows.first['name']
|
79
79
|
else
|