Sha256: 783691b4e9db58fb0ca5bc023b50965c6a1ca0f037079ed83076bd0bb9d60e42

Contents?: true

Size: 441 Bytes

Versions: 5

Compression:

Stored size: 441 Bytes

Contents

#
# At the time of writing, the drupal::default recipe fails because 
# server_aliases has to be an array (and not a string, as below), 
# otherwise the Apache2 config file templating fails.
# This post-processing recipe should fix the bug.
#

web_app "drupal" do
  template "drupal.conf.erb"
  docroot node['drupal']['dir']
  server_name server_fqdn
  # original
  #server_aliases node['fqdn']
  # fixed
  server_aliases [node['fqdn']]
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cloud-toaster-1.1.6 chef/cookbooks/toaster/recipes/post__drupal__default.rb
cloud-toaster-1.1.5 chef/cookbooks/toaster/recipes/post__drupal__default.rb
cloud-toaster-1.1.4 chef/cookbooks/toaster/recipes/post__drupal__default.rb
cloud-toaster-1.1.3 chef/cookbooks/toaster/recipes/post__drupal__default.rb
cloud-toaster-1.1.2 chef/cookbooks/toaster/recipes/post__drupal__default.rb