cloudformation-tool 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/cloud_formation_tool/cloud_formation.rb +1 -1
- data/lib/cloud_formation_tool/version.rb +1 -1
- 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: 5bce6870ac6673790b3c415e13943639a5af5c4f
|
4
|
+
data.tar.gz: cafabf00b0990298d934a0effe4a42bcc6f57ec9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f95dd5e742825fa0eba2b602e5f84c49a1a80d7018aa22d8515c6e15133eea16db0c00a5cceae6d32eabd081806dc66d0019aff00420e77ae60bcc59559d0808
|
7
|
+
data.tar.gz: 74838f921a39b438ea578c1ce61394604e4643c36ad0a894e3e7b3ac3dc6a847913d326c451910e0468e67ebc133186635a5c9a10ac885ec4a8a071162dc0172
|
data/README.md
CHANGED
@@ -119,7 +119,7 @@ you should expect that the template will fail to create the server.
|
|
119
119
|
#### User data file parsing
|
120
120
|
|
121
121
|
The reference file will be loaded and parsed as a ("Cloud Config data" file)[http://cloudinit.readthedocs.io/en/latest/topics/format.html#cloud-config-data]
|
122
|
-
with the special `write_files` enhancement (see below). The result is then checked that it
|
122
|
+
with the special `write_files` and `write_directories` enhancement (see below). The result is then checked that it
|
123
123
|
does not exceed the user-data size limitation. If the file is bigger than can fit in the AWS
|
124
124
|
user-data block, it will first be compressed using gzip and if it is still too large, it will
|
125
125
|
be uploaded to S3 and the user-data block will be set with a cloud-init download reference to
|
@@ -158,7 +158,7 @@ module CloudFormationTool
|
|
158
158
|
CloudInit.new("#{@basedir}/#{val["File"]}").to_base64
|
159
159
|
elsif (key == "UserData") and (val["FileTemplate"])
|
160
160
|
# Support LaunchConfiguration UserData from file with substitutions
|
161
|
-
{ "Fn::Base64" => { "Fn::Sub" => CloudInit.new("#{@basedir}/#{val["
|
161
|
+
{ "Fn::Base64" => { "Fn::Sub" => CloudInit.new("#{@basedir}/#{val["FileTemplate"]}").compile } }
|
162
162
|
elsif (key == "Code") and (val["URL"])
|
163
163
|
# Support Lambda Code from arbitrary URLs
|
164
164
|
url = resolveVal(val["URL"])
|