capistrano-hivequeen 7.7.2 → 7.7.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cbc758d62e2ed6b55d9595a7afc5ffa694e6aa2f76bde859a36d44380960f009
4
- data.tar.gz: 6f4ba43b6a19a9f93b950aadcfa39fefdb442ed2455728f1e7277d0cbb3ebff9
3
+ metadata.gz: af7a43b319d233fe8e1d7ce640d2d03686737690e3c62452900da71e810a0426
4
+ data.tar.gz: ee0fe0a8e640d18180e208217587b4e8d9705665a4b182490293294c35f26330
5
5
  SHA512:
6
- metadata.gz: 013b9d5bfa2a6e8d923dbe37a1d0b600dbb652aac1c2a3027b1fe17cb884a84af37d1781dfda9c4ad5f123d9b3ad3db087909fb3132e9a247f90e267e4afd281
7
- data.tar.gz: 293fe44f13d0c942cd5458f2d45e0c40840bd7cbe1cb06e2eb410db29e906dc9ce7a2f778e12a50e2d13047f23742cd30e2b4737f17f145efdbb96bc4d96d025
6
+ metadata.gz: '096bb90acc29cb9aefaa1095546aa909be7b526f09893e0642f12e97d16611e9440aabc4d415f5ef391c6684322ee169adf7b7f2d1561c824c6d22e303ebd162'
7
+ data.tar.gz: ca96fa3953d785f0b3aeca107d86b386deb7f3f4be7a66344c6216e955a0ad6d9fad5bb82c76b7b4e3622effddb66c90de5cecc6bbbd67ef29ce3fb86825a378
@@ -15,12 +15,12 @@ class HiveQueen
15
15
  ssh_public_key = File.read(File.expand_path('~/.ssh/ksr_ed25519.pub'))
16
16
 
17
17
  # Get SSH bastion instance(s) from Name tag
18
- ssh_params = { filters: [{ name: 'tag:Name', values: %w[ssh-bastion] }] }
18
+ ssh_params = { filters: [{ name: 'tag:Name', values: %w[ssh-bastion] }, {name: 'instance-state-name', values: %w[running]}] }
19
19
  logger.trace("ec2:DescribeInstances #{ssh_params.to_json}")
20
20
  bastions = ec2_client.describe_instances(**ssh_params).reservations.map(&:instances).flatten
21
21
 
22
22
  # Get EC2 instances from private DNS name
23
- ec2_params = { filters: [{ name: 'network-interface.private-dns-name', values: private_dns }] }
23
+ ec2_params = { filters: [{ name: 'network-interface.private-dns-name', values: private_dns }, {name: 'instance-state-name', values: %w[running]}] }
24
24
  logger.trace("ec2:DescribeInstances #{ec2_params.to_json}")
25
25
  instances = ec2_client.describe_instances(**ec2_params).reservations.map(&:instances).flatten
26
26
 
@@ -1,6 +1,6 @@
1
1
  class HiveQueen
2
2
  class Version
3
- @@version = '7.7.2'
3
+ @@version = '7.7.3'
4
4
 
5
5
  def self.to_s
6
6
  @@version
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-hivequeen
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.7.2
4
+ version: 7.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Suggs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-22 00:00:00.000000000 Z
11
+ date: 2023-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-ec2
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  requirements: []
148
- rubygems_version: 3.3.7
148
+ rubygems_version: 3.1.6
149
149
  signing_key:
150
150
  specification_version: 2
151
151
  summary: Capistrano extensions for interacting with HiveQueen