cookbooks/tvdinner/recipes/default.rb in tvd-tvdinner-0.0.15 vs cookbooks/tvdinner/recipes/default.rb in tvd-tvdinner-0.0.16

- old
+ new

@@ -29,11 +29,11 @@ mode 00644 source "gitignore.erb" variables({ :ignore => %w(/.bundle/ /vendor/bundle/ /*.gem - /crash.log /output)}) + /crash.log /output /git)}) end %w(NOTICE README.md Gemfile).each do |f| template "#{node[:release_dir]}/#{f}" do mode 00644 @@ -45,10 +45,23 @@ mode 00644 source "VERSION.erb" not_if { File.exists? "#{node[:release_dir]}/VERSION" } end +directory "#{node[:release_dir]}/git" do + mode 00755 +end + +directory "#{node[:release_dir]}/lib" do + mode 00755 +end + +cookbook_file "#{node[:release_dir]}/lib/development.rb" do + mode 00644 + source "development.rb" +end + cookbook_file "#{node[:release_dir]}/LICENSE" do mode 00644 source "LICENSE" end @@ -99,9 +112,14 @@ end remote_directory "#{node[:release_dir]}/libexec" do source "jasonx" files_mode 00755 +end + +cookbook_file "#{node[:release_dir]}/bin/cook" do + mode 00755 + source "cook" end cookbook_file "#{node[:release_dir]}/Makefile" do mode 00644 source "Makefile"