opzworks 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/opzworks/commands/berks.rb +20 -11
- data/lib/opzworks/meta.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4f9fc4073191ff39ff98f0e525668ab3cdecccb
|
4
|
+
data.tar.gz: 130b0426c4087386d0cb8b8fc37c5ab555097f4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d2110e5ff2526da66d10b66f7f04ace5bab5cd6d18111d67d6918ab99c314ed7cf7b6b8ff21b8afc474cf29fadb74be72a1d308f8ba65474b9680751225cfa4
|
7
|
+
data.tar.gz: b87107774be58150423647d3af288cb6548eb6fc744b62a630bdf2370c47b08e65af06f7c87ed632e949b171005c15ec5da05a1adaadc94cd8abc1237668f6bf
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
changelog
|
2
2
|
=========
|
3
3
|
|
4
|
+
0.3.9
|
5
|
+
-----
|
6
|
+
* add remote management berkshelf option back in: if there is a Berksfile.opsworks present in the
|
7
|
+
opsworks-${project} repo, simply upload it to S3 (don't build the local berkshelf)
|
8
|
+
|
4
9
|
0.3.7
|
5
10
|
-----
|
6
11
|
* elastic code enhancements, including a timeout on ssh connect
|
@@ -54,17 +54,26 @@ module OpzWorks
|
|
54
54
|
s3_bucket = config.berks_s3_bucket || 'opzworks'
|
55
55
|
overrides = 'overrides'
|
56
56
|
|
57
|
-
#
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
57
|
+
if File.exist?("#{@target_path}/Berksfile.opsworks")
|
58
|
+
puts 'Remote management berksfile detected, not building local berkshelf.'.foreground(:yellow)
|
59
|
+
|
60
|
+
unless File.directory?("#{install_path}")
|
61
|
+
FileUtils.mkdir_p("#{install_path}")
|
62
|
+
end
|
63
|
+
FileUtils.copy("#{@target_path}/Berksfile.opsworks", "#{install_path}/Berksfile")
|
64
|
+
else
|
65
|
+
# berks
|
66
|
+
#
|
67
|
+
puts 'Running berks install'.foreground(:blue)
|
68
|
+
run_local <<-BASH
|
69
|
+
cd #{@target_path}
|
70
|
+
berks update
|
71
|
+
BASH
|
72
|
+
run_local <<-BASH
|
73
|
+
cd #{@target_path}
|
74
|
+
berks vendor #{install_path}
|
75
|
+
BASH
|
76
|
+
end
|
68
77
|
|
69
78
|
# if there's an overrides file, just pull it and stuff the contents into the
|
70
79
|
# upload repo; the line is assumed to be a git repo. This is done to override
|
data/lib/opzworks/meta.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opzworks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grant Heffernan
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-01-
|
12
|
+
date: 2016-01-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|