X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0024cffb7b0d6869b0596b7520e3d2bdf45d7b96..cdb2f6f01940242c613b6c1d31332598dec7d625:/cookbooks/foundation/recipes/wiki.rb diff --git a/cookbooks/foundation/recipes/wiki.rb b/cookbooks/foundation/recipes/wiki.rb index 4f5914a1d..905b30176 100644 --- a/cookbooks/foundation/recipes/wiki.rb +++ b/cookbooks/foundation/recipes/wiki.rb @@ -40,32 +40,14 @@ mediawiki_site "wiki.osmfoundation.org" do recaptcha_private_key passwords["wiki"]["recaptcha"] end -cookbook_file "/srv/wiki.osmfoundation.org/Wiki.png" do - owner node[:mediawiki][:user] - group node[:mediawiki][:group] - mode 0644 +mediawiki_skin "osmf" do + site "wiki.osmfoundation.org" + repository "git://github.com/openstreetmap/mediawiki-skins-osmf.git" + revision "master" end -subversion "/srv/wiki.osmfoundation.org/w/skins/osmf-skin" do - repository "http://svn.openstreetmap.org/extensions/mediawiki/osmf" - user node[:mediawiki][:user] - group node[:mediawiki][:group] -end - -link "/srv/wiki.osmfoundation.org/w/skins/osmf" do - to "osmf-skin/osmf" - owner node[:mediawiki][:user] - group node[:mediawiki][:group] -end - -link "/srv/wiki.osmfoundation.org/w/skins/osmf.deps.php" do - to "osmf-skin/osmf.deps.php" - owner node[:mediawiki][:user] - group node[:mediawiki][:group] -end - -link "/srv/wiki.osmfoundation.org/w/skins/osmf.php" do - to "osmf-skin/osmf.php" +cookbook_file "/srv/wiki.osmfoundation.org/Wiki.png" do owner node[:mediawiki][:user] group node[:mediawiki][:group] + mode 0644 end