veewee-to-packer 0.2.1 → 0.2.2
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.
|
@@ -145,6 +145,13 @@ module VeeweeToPacker
|
|
|
145
145
|
kickstart_file.each do |single_file|
|
|
146
146
|
kickstart_file_src = Pathname.new(File.expand_path(single_file, input_dir))
|
|
147
147
|
kickstart_file_dest = http_dir.join(kickstart_file_src.basename)
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
if kickstart_file_src.file?
|
|
151
|
+
raise Error, "The kickstart file below is specified in the definition but\n" +
|
|
152
|
+
"is a directory and not a file. The kickstart file list should be files."
|
|
153
|
+
end
|
|
154
|
+
|
|
148
155
|
FileUtils.cp(kickstart_file_src, kickstart_file_dest)
|
|
149
156
|
end
|
|
150
157
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: veewee-to-packer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-08-18 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: Converts Veewee templates to Packer templates.
|
|
15
15
|
email:
|