Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Commit

Permalink
Bump version 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Rud5G committed Jun 13, 2014
1 parent fdbdac2 commit fb101e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 41 deletions.
3 changes: 2 additions & 1 deletion data_bags/projects/zf2tutorial.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"writabledirs": ["data/"],
"createdirs": ["website","website/var","plugins"],
"database_template": "zf2-db-local.php.erb",
"database_settings_file": "config/autoload/local.php"
"database_settings_file": "config/autoload/local.php",
"cookbook_name": "zf2"
}
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
license 'Apache 2.0'
description 'Installs/Configures ZF2'
long_description 'Installs/Configures ZF2'
version '0.3.9'
version '0.4.0'

depends 'baseserver', '~> 0.7.3'

Expand Down
39 changes: 0 additions & 39 deletions recipes/projects.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,38 +23,6 @@
owner 'root'
mode 0755
end
#
#
# Chef::Log.info(node['parent'])
# Chef::Log.info(Chef::Config.inspect)
# Chef::Log.info(node.inspect)

Chef::Log.info(run_context.loaded_recipes.inspect)

# Get the Chef::CookbookVersion for the current cookbook
cb = run_context.cookbook_collection[cookbook_name]

Chef::Log.info(cb.inspect)


# Loop over the array of files.
# 'templates' will also work.
cb.manifest['templates'].each do |cookbookfile|
Chef::Log.info("found: " + cookbookfile['name'])
end


Chef::Log.info("RECIPE_NAME: #{recipe_name}, COOKBOOK_NAME: #{cookbook_name}")




Chef::Log.info(run_context.cookbook_collection[cookbook_name].inspect)



Chef::Log.info(:cookbook_name)


begin
data_bag('projects').each do |project|
Expand All @@ -74,13 +42,6 @@
recursive true
end

# # set ssh_wrapper from template
# template '/var/tmp/chef_ssh_wrapper.sh' do
# source 'chef_ssh_wrapper.sh.erb'
# owner 'root'
# mode 0755
# end

# clone repository
git projectdata['projectdir'] do
repository projectdata['repository']
Expand Down

0 comments on commit fb101e9

Please sign in to comment.