X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/7a0adccf14d7904d35c06822ae0c4ffffbeb740a..54b26b3054c5cf68acde82ec008be465b5c7d83f:/cookbooks/osqa/recipes/default.rb diff --git a/cookbooks/osqa/recipes/default.rb b/cookbooks/osqa/recipes/default.rb index 482d73d88..a886fe6f4 100644 --- a/cookbooks/osqa/recipes/default.rb +++ b/cookbooks/osqa/recipes/default.rb @@ -8,7 +8,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -18,8 +18,9 @@ # include_recipe "tools" -include_recipe "apache::ssl" +include_recipe "apache" include_recipe "memcached" +include_recipe "python" package "python-django" package "python-html5lib" @@ -30,9 +31,7 @@ package "python-mysqldb" package "python-psycopg2" package "python-setuptools" -easy_install_package "South" do - package_name "south" -end +python_package "South" apache_module "rewrite" apache_module "wsgi" @@ -51,7 +50,6 @@ node[:osqa][:sites].each do |site| ssl_certificate site_name do domains site_name - fallback_certificate "openstreetmap" notifies :reload, "service[apache2]" end @@ -78,7 +76,7 @@ node[:osqa][:sites].each do |site| git "#{directory}/osqa" do action :sync - repository "git://git.openstreetmap.org/osqa.git" + repository "https://git.openstreetmap.org/public/osqa.git" revision "live" user site_user group site_group