promet / drupal-cookbook

24 stars 28 forks source link

Cannot deploy #4

Closed unityweb closed 12 years ago

unityweb commented 12 years ago

Hi,

I just included the recipe; when I run chef-solo, i get :

Recipe Compile Error in /var/chef/cookbooks/drupal/attributes/default.rb

NameError

uninitialized constant Chef::Node::Opscode

Cookbook Trace:

/var/chef/cookbooks/drupal/attributes/default.rb:32:in `from_file'

Relevant File Content:

/var/chef/cookbooks/drupal/attributes/default.rb:

25: default['drupal']['db']['user'] = "drupal" 26: default['drupal']['db']['host'] = "localhost" 27: default['drupal']['site']['admin'] = "admin" 28: default['drupal']['site']['pass'] = "drupaladmin" 29: default['drupal']['site']['name'] = "Drupal7" 30: default['drupal']['apache']['port'] = "80" 31:
32>> ::Chef::Node.send(:include, Opscode::OpenSSL::Password) 33:
34: set_unless['drupal']['db']['password'] = secure_password 35: default['drupal']['src'] = Chef::Config[:file_cache_path] 36:
37: default['drupal']['drush']['version'] = "7.x-5.4" 38: default['drupal']['drush']['checksum'] = "6cea1275f2aad22b8d3474bb34b4494f069f823feecccb7edb399631f0b0ca40" 39: default['drupal']['drush']['dir'] = "/usr/local/drush" 40:
41: default['drupal']['modules'] = ["views", "webform"]

unityweb commented 12 years ago

Fixed. Missing openssl recipe.