opzworks 0.12.3 → 0.12.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +1 -1
- data/Rakefile +1 -0
- data/bin/opzworks +1 -0
- data/lib/opzworks/cli.rb +2 -0
- data/lib/opzworks/commands/berks.rb +5 -3
- data/lib/opzworks/commands/cmd.rb +2 -0
- data/lib/opzworks/commands/elastic.rb +2 -0
- data/lib/opzworks/commands/include/elastic.rb +2 -0
- data/lib/opzworks/commands/include/manage_berks_repos.rb +2 -0
- data/lib/opzworks/commands/include/populate_stack.rb +2 -0
- data/lib/opzworks/commands/include/run_local.rb +2 -0
- data/lib/opzworks/commands/json.rb +2 -0
- data/lib/opzworks/commands/ssh.rb +2 -2
- data/lib/opzworks/config.rb +2 -0
- data/lib/opzworks/meta.rb +4 -3
- data/lib/opzworks.rb +2 -0
- data/opzworks.gemspec +1 -0
- 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: 958864d65b2ffee9a2c69d7ab0b8a3bdf00cf392
|
4
|
+
data.tar.gz: 4a6076ccf8ee8d8d660a1965fcc4c652891bd734
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce662eec86a32ec2ce410f1908fc6bab9f716d2d05106ce5aabbab57a99021cbd2ae6229e71f62eb919a9c2ee84088793aa436634865fb0b573a609eba037e09
|
7
|
+
data.tar.gz: 6f37605a16027f58c0de2c939ca492fe20e3d54e3a17feaf87e258584b55448277183c47125220bc0925942d782cd4b85c58df75edb6650516e596389e18ca52
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
data/bin/opzworks
CHANGED
data/lib/opzworks/cli.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'aws-sdk'
|
2
4
|
require 'trollop'
|
3
5
|
require 'opzworks'
|
@@ -147,12 +149,12 @@ module OpzWorks
|
|
147
149
|
puts "\t#{e}"
|
148
150
|
else
|
149
151
|
backup_arr = []
|
150
|
-
cull.contents.each { |k
|
152
|
+
cull.contents.each { |k| backup_arr << k.key }
|
151
153
|
backup_arr.pop(5) # keep last 5 backups
|
152
154
|
|
153
|
-
|
155
|
+
unless backup_arr.empty?
|
154
156
|
delete_arr = []
|
155
|
-
|
157
|
+
until backup_arr.empty?
|
156
158
|
puts "Adding backup #{backup_arr[0]} to the cull list".foreground(:green)
|
157
159
|
delete_arr << backup_arr.pop
|
158
160
|
|
@@ -4,8 +4,8 @@ require 'aws-sdk'
|
|
4
4
|
require 'trollop'
|
5
5
|
require 'opzworks'
|
6
6
|
|
7
|
-
SSH_PREFIX = '# --- OpzWorks ---'
|
8
|
-
SSH_POSTFIX = '# --- End of OpzWorks ---'
|
7
|
+
SSH_PREFIX = '# --- OpzWorks ---'
|
8
|
+
SSH_POSTFIX = '# --- End of OpzWorks ---'
|
9
9
|
|
10
10
|
module OpzWorks
|
11
11
|
class Commands
|
data/lib/opzworks/config.rb
CHANGED
data/lib/opzworks/meta.rb
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
+
|
2
3
|
module OpzWorks
|
3
|
-
VERSION = '0.12.
|
4
|
+
VERSION = '0.12.4'
|
4
5
|
AUTHORS = ['Grant Heffernan', 'Mapzen'].freeze
|
5
6
|
EMAIL = ['grant@mapzen.com'].freeze
|
6
|
-
DESCRIPTION = 'OpzWorks Utilities'
|
7
|
-
SUMMARY = 'Command line interface for Amazon OpsWorks'
|
7
|
+
DESCRIPTION = 'OpzWorks Utilities'
|
8
|
+
SUMMARY = 'Command line interface for Amazon OpsWorks'
|
8
9
|
end
|
data/lib/opzworks.rb
CHANGED
data/opzworks.gemspec
CHANGED