cloudstrap 0.32.5.pre → 0.33.1.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e1bea105bb2688899a8f16b53bf5e1dcceb9466f
4
- data.tar.gz: bb2c9cc629e47e893a2e34757d980eeb1a9941b1
3
+ metadata.gz: d72d0293d09e10bde208081a74e5cfd399743afe
4
+ data.tar.gz: c71065fe71ec2da74fde77d6b2bf7fb73c9102d7
5
5
  SHA512:
6
- metadata.gz: 9f38f340ad7c12306653b4552e5bf8bd75218b6e3f5fb7e90a0af1b4446b05ffaa6866beeba212d5629a321f04c1079f5a6eeba11486f009811ddef2416ac4a7
7
- data.tar.gz: f3474f5b31087fe2a2b39e037163f6255c86180e3e3588316d56845df0c0e9092c9955adfff88e9a6dc09752045decf05625a6bde178384af9eff2a58d240598
6
+ metadata.gz: 2d4bf913ffe4a1bd146c0e6872ab47b1f1a87c2918a51cf6fb30690d7d3c36034b315ab0117aa1a861f37438a9e45bc7da0814eaed786d0693ddd2b99b175614
7
+ data.tar.gz: 6842eb7b2dc55da08b2e2d4cfa10dc2bd0d274eda1b3eb8c4e2fdb365b72d4a653faf68dbf1768dd8aa31e60e9ff495e53b584b978624b1400efb6aa6357cbf0
data/bin/cloudstrap CHANGED
@@ -73,6 +73,7 @@ BOOTSTRAP_WITHOUT_HUMAN_OVERSIGHT=#{!agent.requires_human_oversight?}
73
73
  # SSH Allowed to Jumpbox? #{agent.allow_ssh}
74
74
  # SSH Key uploaded to AWS? #{agent.upload_ssh_key}
75
75
  # HDP bootstrap.properties configured? #{agent.configure_hdp}
76
+ # Jumpbox Tagged? #{agent.tag_jumpbox}
76
77
  # Jumpbox Running? #{agent.jumpbox_running?}
77
78
 
78
79
  EOS
@@ -297,6 +297,11 @@ module Cloudstrap
297
297
  find_jumpbox || create_jumpbox
298
298
  end
299
299
 
300
+ Contract None => Bool
301
+ def tag_jumpbox
302
+ ec2.create_tags([jumpbox], [{ key: 'Cloudstrapped', value: 'true' }])
303
+ end
304
+
300
305
  Contract None => String
301
306
  def ami
302
307
  @ami ||= ENV.fetch('BOOTSTRAP_AMI') do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.5.pre
4
+ version: 0.33.1.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Olstrom
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-26 00:00:00.000000000 Z
11
+ date: 2016-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk