X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/46d97368eb6034f2eb95d5a8400bd4bf6faf4ed2..be9aeb731767735592361597ecfc1a4815f2b6c6:/cookbooks/mediawiki/definitions/mediawiki_site.rb?ds=inline diff --git a/cookbooks/mediawiki/definitions/mediawiki_site.rb b/cookbooks/mediawiki/definitions/mediawiki_site.rb index d6a1ab773..e74c3ca26 100644 --- a/cookbooks/mediawiki/definitions/mediawiki_site.rb +++ b/cookbooks/mediawiki/definitions/mediawiki_site.rb @@ -38,8 +38,6 @@ define :mediawiki_site, :action => [ :create, :enable ] do mediawiki_version = params[:version] || "1.22" mediawiki_reference = "refs/heads/REL#{mediawiki_version}".tr(".", "_") - passwords = data_bag_item("mediawiki", "passwords") - mediawiki = { :directory => "#{site_directory}/w", :site => name, @@ -54,7 +52,7 @@ define :mediawiki_site, :action => [ :create, :enable ] do :site_notice => params[:site_notice] || "", :site_readonly => params[:site_readonly] || FALSE, :site_admin_user => "Admin", - :site_admin_pw => passwords["mediawiki-admin-user"], + :site_admin_pw => params[:admin_password], :enable_ssl => params[:enable_ssl] || FALSE, :private => params[:private] || FALSE }