mofa 0.3.27 → 0.3.28

Sign up to get free protection for your applications and to get access to all the features.
@@ -53,8 +53,13 @@ class ReleasedCookbook < Cookbook
53
53
  run "tar x#{tar_verbose}fz #{pkg_dir}/#{pkg_name} -C #{pkg_dir}/tmp/"
54
54
 
55
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
56
+ if File.directory?("#{pkg_dir}/tmp/cookbooks/#{name}/data_bags")
57
+ FileUtils.cp_r "#{pkg_dir}/tmp/cookbooks/#{name}/data_bags", pkg_dir
58
+ end
59
+
60
+ # copy out recipes
61
+ if File.directory?("#{pkg_dir}/tmp/cookbooks/#{name}/recipes")
62
+ FileUtils.cp_r "#{pkg_dir}/tmp/cookbooks/#{name}/recipes", pkg_dir
58
63
  end
59
64
 
60
65
  run "cd #{pkg_dir}/tmp/;tar c#{tar_verbose}fz #{pkg_dir}/#{pkg_name}.new ."
data/lib/mofa/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mofa
2
- VERSION = "0.3.27"
2
+ VERSION = "0.3.28"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mofa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.27
4
+ version: 0.3.28
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: