Skip to content

Commit

Permalink
Require cron recipe in default recipe.
Browse files Browse the repository at this point in the history
Some small CentOs installations do not come with cron by default. This
change helps ensure that a build does not fail because crontab is not
available.
  • Loading branch information
dkinzer committed Feb 11, 2013
1 parent 143c906 commit 418b26b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
recipe "drupal::cron", "Sets up the default drupal cron" recipe "drupal::cron", "Sets up the default drupal cron"
recipe "drupal::drush", "Installs drush - a command line shell and scripting interface for Drupal" recipe "drupal::drush", "Installs drush - a command line shell and scripting interface for Drupal"


%w{ postfix php apache2 mysql openssl firewall }.each do |cb| %w{ postfix php apache2 mysql openssl firewall cron }.each do |cb|
depends cb depends cb
end end


Expand Down
1 change: 1 addition & 0 deletions recipes/default.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
include_recipe %w{apache2 apache2::mod_php5 apache2::mod_rewrite apache2::mod_expires} include_recipe %w{apache2 apache2::mod_php5 apache2::mod_rewrite apache2::mod_expires}
include_recipe %w{php php::module_mysql php::module_gd} include_recipe %w{php php::module_mysql php::module_gd}
include_recipe "postfix" include_recipe "postfix"
include_recipe "cron"
include_recipe "drupal::drush" include_recipe "drupal::drush"


if node['drupal']['site']['host'] == "localhost" if node['drupal']['site']['host'] == "localhost"
Expand Down

0 comments on commit 418b26b

Please sign in to comment.