Skip to content

Commit

Permalink
Enable optional recipe ggrc::local to run by default if available,
Browse files Browse the repository at this point in the history
e.g. to install additional tools into the local deployment environment.
The (optional) recipe file is: `/site-cookbooks/ggrc/recipes/local.rb`
  • Loading branch information
danring committed Apr 10, 2013
1 parent b38019f commit d831c7d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions site-cookbooks/ggrc/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,10 @@
end

include_recipe "ggrc::package_env"

# Attempt to include custom local additions to the environment
begin
include_recipe "ggrc::local"
rescue Chef::Exceptions::RecipeNotFound
# Fail silently, since the file is optional
end

0 comments on commit d831c7d

Please # to comment.