Permalink
Browse files

Require cron recipe in default recipe.

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...
1 parent 143c906 commit 418b26b3baa09067171a923fb0911575c6255703 @dkinzer dkinzer committed Feb 11, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −1 metadata.rb
  2. +1 −0 recipes/default.rb
View
@@ -9,7 +9,7 @@
recipe "drupal::cron", "Sets up the default drupal cron"
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
end
View
@@ -21,6 +21,7 @@
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 "postfix"
+include_recipe "cron"
include_recipe "drupal::drush"
if node['drupal']['site']['host'] == "localhost"

0 comments on commit 418b26b

Please sign in to comment.