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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/aws_cleaner.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16fb8dddd4f3797a0bd15892381a32196094d0bd
4
- data.tar.gz: b4035248aab35a0d328504fb7eaaa429a92d64cc
3
+ metadata.gz: d960635f67336a50cd494f8c4886cb2d288dac07
4
+ data.tar.gz: b2e13460c1390ff2a38484d42c19cbe9cb2b7805
5
5
  SHA512:
6
- metadata.gz: 0df807abd32212c1dd95bccadfa672006ffe0e4e920c95e13bcdeda41649fe201f21d7e4182ce233a02d3dff4a8305812d087778d9c613fd7d4c002dab6bca04
7
- data.tar.gz: c55ffa8a0079f4cbc81ee570fbb80e06f42eeb72f97b47773d4ed3c0c4d36b353d00a543501d222bec3929aea1b653d053c1f194fb2a32552309f0958497bf86
6
+ metadata.gz: e17e67a8eb0ad493b54cc106f019c5a70201ad55ad032309fcef253ef76f78c29e4bc71e155a614c40f5ccb48a23e84decbb2049944a70f71f65254b79d92a10
7
+ data.tar.gz: 4ff7266734e55f77f702f83b90f2c32eb28c46d569786437addcacc1960db6196950264b4650dcd48999b953526cc26b080c67bae706d7e609f787346dccf3ba
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-cleaner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Heydrick