summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3df3f8f)
It doesn't actually work because the timer jobs assums they can
infer the directory from the site name.
mediawiki_site "board.osmfoundation.org" do
sitename "OSMF Board Wiki"
metanamespace "OSMFBoard"
mediawiki_site "board.osmfoundation.org" do
sitename "OSMF Board Wiki"
metanamespace "OSMFBoard"
- directory "/srv/board.osmfoundation.org"
fpm_prometheus_port 11004
database_name "board-wiki"
database_user "board-wikiuser"
fpm_prometheus_port 11004
database_name "board-wiki"
database_user "board-wikiuser"
mediawiki_site "dwg.osmfoundation.org" do
sitename "OSMF Data Working Group Wiki"
metanamespace "OSMFDWG"
mediawiki_site "dwg.osmfoundation.org" do
sitename "OSMF Data Working Group Wiki"
metanamespace "OSMFDWG"
- directory "/srv/dwg.osmfoundation.org"
fpm_prometheus_port 11002
database_name "dwg-wiki"
database_user "dwg-wikiuser"
fpm_prometheus_port 11002
database_name "dwg-wiki"
database_user "dwg-wikiuser"
mediawiki_site "mwg.osmfoundation.org" do
sitename "OSMF Membership Working Group Wiki"
metanamespace "OSMFMWG"
mediawiki_site "mwg.osmfoundation.org" do
sitename "OSMF Membership Working Group Wiki"
metanamespace "OSMFMWG"
- directory "/srv/mwg.osmfoundation.org"
fpm_prometheus_port 11003
database_name "mwg_wiki"
database_user "mwg_wikiuser"
fpm_prometheus_port 11003
database_name "mwg_wiki"
database_user "mwg_wikiuser"
aliases ["wiki.osmfoundation.org", "www.osmfoundation.org",
"foundation.openstreetmap.org", "foundation.osm.org"]
sitename "OpenStreetMap Foundation"
aliases ["wiki.osmfoundation.org", "www.osmfoundation.org",
"foundation.openstreetmap.org", "foundation.osm.org"]
sitename "OpenStreetMap Foundation"
- directory "/srv/wiki.osmfoundation.org"
fpm_max_children 20
fpm_start_servers 5
fpm_min_spare_servers 5
fpm_max_children 20
fpm_start_servers 5
fpm_min_spare_servers 5
property :site, :kind_of => String, :name_property => true
property :aliases, :kind_of => [String, Array]
property :site, :kind_of => String, :name_property => true
property :aliases, :kind_of => [String, Array]
-property :directory, :kind_of => String
property :version, :kind_of => String, :default => "1.39"
property :database_name, :kind_of => String, :required => true
property :database_user, :kind_of => String, :required => [:create, :update]
property :version, :kind_of => String, :default => "1.39"
property :database_name, :kind_of => String, :required => true
property :database_user, :kind_of => String, :required => [:create, :update]
include OpenStreetMap::Mixin::PersistentToken
def site_directory
include OpenStreetMap::Mixin::PersistentToken
def site_directory
- new_resource.directory || "/srv/#{new_resource.site}"
+ "/srv/#{new_resource.site}"
end
def mediawiki_reference
end
def mediawiki_reference
"wiki.openstreetmap.ca", "wiki.openstreetmap.eu",
"wiki.openstreetmap.pro", "wiki.openstreetmaps.org",
"osm.wiki", "www.osm.wiki", "wiki.osm.wiki"]
"wiki.openstreetmap.ca", "wiki.openstreetmap.eu",
"wiki.openstreetmap.pro", "wiki.openstreetmaps.org",
"osm.wiki", "www.osm.wiki", "wiki.osm.wiki"]
- directory "/srv/wiki.openstreetmap.org"
fpm_max_children 50
fpm_start_servers 10
fpm_max_children 50
fpm_start_servers 10