veewee-to-packer 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -146,10 +146,10 @@ module VeeweeToPacker
|
|
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
148
|
|
149
|
-
|
150
|
-
if kickstart_file_src.file?
|
149
|
+
if !kickstart_file_src.file?
|
151
150
|
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
|
151
|
+
"is a directory and not a file. The kickstart file list should be files.\n\n" +
|
152
|
+
kickstart_file_src.to_s
|
153
153
|
end
|
154
154
|
|
155
155
|
FileUtils.cp(kickstart_file_src, kickstart_file_dest)
|
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.3
|
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-08-
|
12
|
+
date: 2013-08-20 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Converts Veewee templates to Packer templates.
|
15
15
|
email:
|