openminds / sneakers

Sneakers is a simple, fast way to mimick Openminds Shared and Cloud hosting environments using vagrant/virtualbox, and provisioned by Chef.
25 stars 11 forks source link

Apache: vhost: fix template file source. #16

Closed jelmersnoeck closed 11 years ago

jelmersnoeck commented 11 years ago

The template file was listed as an actual file whilst it is actually a template file. This should be reflected as such.

As you can see here there is no rack_vhost.conf file, this file is here (although with a slightly different name).

I noticed this when I used the following settings:

  app_directory: "/Users/jelmersnoeck/Projects/blog"
  type: "ruby193"
  http_port: 8040
  memory: 1024

I got the following error:

[2013-06-03T21:07:44+02:00] FATAL: Chef::Exceptions::FileNotFound: cookbook_file[/etc/apache2/sites-available/default] (apache::passenger line 55) had an error: Chef::Exceptions::FileNotFound: Cookbook 'apache' (0.1.0) does not contain a file at any of these locations:
  files/debian-6.0.7/rack_vhost.conf.erb
  files/debian/rack_vhost.conf.erb
  files/default/rack_vhost.conf.erb
Zhann commented 11 years ago

Thank you for fixing this. As you'll notice, we still have some work to do with sneakers+rack.