ami_spec 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ami_spec/version.rb +1 -1
- data/lib/ami_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c50eed3429c33081ff25fc9d4695b10c1f3696c839a53f2da7ebaca9457333f8
|
4
|
+
data.tar.gz: 20a87adad2bfa8a80ae3f6c4794d08515612a4da46590a61656ac3c02608a1a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d89d294411139f9645536b67aeab0e47eb744a9aad698c9e3807ac29b5bbf0589c6dbbfa4dc0250a938801878dae8ce673cb765d11c0b932d6e10d94f062ae80
|
7
|
+
data.tar.gz: 1e0a0a653a5f792e7f126a891f0b6aa73a2aadcf2d3ecda8059cb5df0136337cf719e359cefd79d47227ee0dcd16c37f63adbced9a00b20441f6613b7dfd58e3
|
data/lib/ami_spec/version.rb
CHANGED
data/lib/ami_spec.rb
CHANGED
@@ -104,7 +104,7 @@ module AmiSpec
|
|
104
104
|
opt :debug, "Don't terminate instances on exit"
|
105
105
|
opt :buildkite, "Output section separators for buildkite"
|
106
106
|
opt :wait_for_rc, "Wait for oldschool SystemV scripts to run before conducting tests. Currently only supports Ubuntu with upstart"
|
107
|
-
opt :user_data_file, "File path for aws ec2 user data", type: :string
|
107
|
+
opt :user_data_file, "File path for aws ec2 user data", type: :string, default: nil
|
108
108
|
opt :iam_instance_profile_arn, "IAM instance profile to use", type: :string
|
109
109
|
end
|
110
110
|
|
@@ -125,7 +125,7 @@ module AmiSpec
|
|
125
125
|
fail "Key file #{options[:key_file]} not found"
|
126
126
|
end
|
127
127
|
|
128
|
-
|
128
|
+
if options[:user_data_file] and !File.exist? options[:user_data_file]
|
129
129
|
fail "User Data file #{options[:user_data_file]} not found"
|
130
130
|
end
|
131
131
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ami_spec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Robinson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-06-
|
12
|
+
date: 2018-06-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|