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

Commit

Permalink
Update metadata, recipes for debuging
Browse files Browse the repository at this point in the history
  • Loading branch information
Rud5G committed Dec 21, 2014
1 parent 5651e60 commit 5d3ccb9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@

depends 'nodejs'
depends 'samba'

# additional for chef-solo
depends 'chef-solo-search', '~> 0.5.1'

6 changes: 4 additions & 2 deletions recipes/database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@
#

begin

data_bag('databases').each do |database|
databasedata = data_bag_item('databases', database)[node.chef_environment]

begin
Chef::Log.debug(databasedata.inspect)
Chef::Log.debug("Cookbook #{cookbook_name} in the recipe: #{recipe_name}.")


begin
database_connection = {
:host => databasedata['host'],
:port => databasedata['port']
Expand Down
2 changes: 0 additions & 2 deletions recipes/projects.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@

# create parentprojectdir
directory parentprojectdir.to_path do
owner projectdata['owner']
group projectdata['group']
mode 00775
action :create
recursive true
Expand Down

0 comments on commit 5d3ccb9

Please sign in to comment.