mofa 0.3.26 → 0.3.27
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mofa/released_cookbook.rb +3 -4
- data/lib/mofa/version.rb +1 -1
- metadata +1 -1
@@ -52,10 +52,9 @@ class ReleasedCookbook < Cookbook
|
|
52
52
|
mkdir_p "#{pkg_dir}/tmp"
|
53
53
|
run "tar x#{tar_verbose}fz #{pkg_dir}/#{pkg_name} -C #{pkg_dir}/tmp/"
|
54
54
|
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
end
|
55
|
+
# copy out data_bags if exists
|
56
|
+
if File.directory?("#{pkg_dir}/tmp/#{name}/data_bags")
|
57
|
+
FileUtils.cp_r "#{pkg_dir}/tmp/#{name}/data_bags", pkg_dir
|
59
58
|
end
|
60
59
|
|
61
60
|
run "cd #{pkg_dir}/tmp/;tar c#{tar_verbose}fz #{pkg_dir}/#{pkg_name}.new ."
|
data/lib/mofa/version.rb
CHANGED