chef.git
2 years agoDo more SMART self tests
Tom Hughes [Sat, 17 Mar 2018 14:43:19 +0000 (14:43 +0000)]
Do more SMART self tests

Run a short test at 4am every day and a long test at 2am on Sunday.

2 years agoBump planet-dump-ng version to v1.1.6.
Matt Amos [Tue, 13 Mar 2018 16:48:09 +0000 (16:48 +0000)]
Bump planet-dump-ng version to v1.1.6.

Version 1.1.6 includes a fix for the table header parser to allow explicit public schemas, which started getting added to the dumps as part of the upstream PostgreSQL fix for CVE-2018-1058.

2 years agoSend any civicrm cron output to admins
Tom Hughes [Thu, 8 Mar 2018 20:16:33 +0000 (20:16 +0000)]
Send any civicrm cron output to admins

2 years agoIncrease cache memory for drogon
Tom Hughes [Thu, 8 Mar 2018 16:19:40 +0000 (16:19 +0000)]
Increase cache memory for drogon

2 years agoExempt /mod_tile from redirection on tile servers
Tom Hughes [Sun, 4 Mar 2018 16:32:50 +0000 (16:32 +0000)]
Exempt /mod_tile from redirection on tile servers

2 years agoUpdate CiviCRM to 4.7.30
Tom Hughes [Sun, 25 Feb 2018 19:20:06 +0000 (19:20 +0000)]
Update CiviCRM to 4.7.30

2 years agoUpdate carto stylesheet to v4.8.0
Tom Hughes [Fri, 23 Feb 2018 18:53:23 +0000 (18:53 +0000)]
Update carto stylesheet to v4.8.0

Closes #153

2 years agoExempt /server-status from redirection on tile servers
Tom Hughes [Fri, 23 Feb 2018 08:28:15 +0000 (08:28 +0000)]
Exempt /server-status from redirection on tile servers

2 years agoRemove nadder-01 and nadder-02
Tom Hughes [Tue, 20 Feb 2018 20:30:02 +0000 (20:30 +0000)]
Remove nadder-01 and nadder-02

2 years agoAdded application/vnd.openstreetmap.data+xml type for uploads
Clive Blackledge [Tue, 20 Feb 2018 18:51:27 +0000 (18:51 +0000)]
Added application/vnd.openstreetmap.data+xml type for uploads

Closes #151

2 years agoAdd missing whitespace
Tom Hughes [Tue, 20 Feb 2018 16:11:32 +0000 (16:11 +0000)]
Add missing whitespace

2 years agoSet autovacuum scale factors for tile servers
Paul Norman [Tue, 20 Feb 2018 14:35:37 +0000 (06:35 -0800)]
Set autovacuum scale factors for tile servers

Reducing these factors helps make sure autovacuum runs often
enough and keeps bloat down.

Closes #152

2 years agoAllow vacuum_scale_factor and analyze_scale_factor to be configured
Tom Hughes [Tue, 20 Feb 2018 16:05:25 +0000 (16:05 +0000)]
Allow vacuum_scale_factor and analyze_scale_factor to be configured

2 years agoRedirect http requests on render servers to https
Tom Hughes [Fri, 16 Feb 2018 18:37:38 +0000 (18:37 +0000)]
Redirect http requests on render servers to https

2 years agoFix alias processing in mediawiki apache configuration
Tom Hughes [Fri, 16 Feb 2018 12:40:12 +0000 (12:40 +0000)]
Fix alias processing in mediawiki apache configuration

2 years agoRemove junk link from wordpress cookbook
Tom Hughes [Fri, 16 Feb 2018 09:00:37 +0000 (09:00 +0000)]
Remove junk link from wordpress cookbook

2 years agoMake sure apt-transport-https is installed
Tom Hughes [Fri, 16 Feb 2018 08:31:16 +0000 (08:31 +0000)]
Make sure apt-transport-https is installed

2 years agoInstall libffi-dev for rails
Tom Hughes [Thu, 15 Feb 2018 18:24:53 +0000 (18:24 +0000)]
Install libffi-dev for rails

2 years agoAdd osm as an allowed file type for wiki uploads
Clive Blackledge [Mon, 12 Feb 2018 16:54:39 +0000 (08:54 -0800)]
Add osm as an allowed file type for wiki uploads

Fixes operations/194
Closes #150

2 years agoRemove ssl_enabled option for mediawiki sites
Tom Hughes [Sun, 11 Feb 2018 19:55:14 +0000 (19:55 +0000)]
Remove ssl_enabled option for mediawiki sites

2 years agoRemove ssl_enabled option for wordpress sites
Tom Hughes [Sun, 11 Feb 2018 19:50:25 +0000 (19:50 +0000)]
Remove ssl_enabled option for wordpress sites

2 years agoConvert some URLs to https
Tom Hughes [Sun, 11 Feb 2018 19:47:17 +0000 (19:47 +0000)]
Convert some URLs to https

2 years agoConvert more URLs to https
Tom Hughes [Sun, 11 Feb 2018 00:17:41 +0000 (00:17 +0000)]
Convert more URLs to https

2 years agonominatim: fix rights for restricted IP log
Sarah Hoffmann [Sun, 11 Feb 2018 08:59:54 +0000 (09:59 +0100)]
nominatim: fix rights for restricted IP log

2 years agoConvert various URLs to https
Tom Hughes [Sat, 10 Feb 2018 18:02:05 +0000 (18:02 +0000)]
Convert various URLs to https

2 years agoAdd https support for git.osm.org
Tom Hughes [Sat, 10 Feb 2018 17:42:52 +0000 (17:42 +0000)]
Add https support for git.osm.org

2 years agoMake trac use https when authenticating
Tom Hughes [Sat, 10 Feb 2018 17:14:20 +0000 (17:14 +0000)]
Make trac use https when authenticating

2 years agoAdd tile.openstreetmap.org to render server certificates
Tom Hughes [Sat, 10 Feb 2018 14:44:38 +0000 (14:44 +0000)]
Add tile.openstreetmap.org to render server certificates

2 years agoUse https between tile caches and render servers
Tom Hughes [Sat, 10 Feb 2018 14:28:51 +0000 (14:28 +0000)]
Use https between tile caches and render servers

2 years agoEnable SSL on tile render servers
Tom Hughes [Fri, 9 Feb 2018 19:04:44 +0000 (19:04 +0000)]
Enable SSL on tile render servers

2 years agoDisable HSTS for Firefox 52 to avoid issues with remote editing
Tom Hughes [Thu, 8 Feb 2018 19:13:36 +0000 (19:13 +0000)]
Disable HSTS for Firefox 52 to avoid issues with remote editing

2 years agonominatim: reinstate fail2ban on restricted_ips.log
Sarah Hoffmann [Wed, 7 Feb 2018 20:39:04 +0000 (21:39 +0100)]
nominatim: reinstate fail2ban on restricted_ips.log

This file is smaller so that fail2ban hopefully can handle it.

2 years agonominatim: add restricted_ips.log to log rotation
Sarah Hoffmann [Wed, 7 Feb 2018 20:38:31 +0000 (21:38 +0100)]
nominatim: add restricted_ips.log to log rotation

2 years agoUse RewriteRule for ACME redirect on gps-tile
Tom Hughes [Wed, 7 Feb 2018 14:33:30 +0000 (14:33 +0000)]
Use RewriteRule for ACME redirect on gps-tile

2 years agoRun old planet file cleanup on first Monday of the month.
Matt Amos [Mon, 5 Feb 2018 13:51:11 +0000 (13:51 +0000)]
Run old planet file cleanup on first Monday of the month.

Not every Monday and additionally the 1st through 7th, as the
previous cron configuration actually meant. Turns out the command
runs when either the day of week matches _or_ the day of month
matches, unlike all the other rules.

2 years agoFix ooc.osm.org HTML title
Grant Slater [Sun, 4 Feb 2018 11:39:19 +0000 (11:39 +0000)]
Fix ooc.osm.org HTML title

2 years agoIncrease HSTS expiry to a year
Tom Hughes [Sat, 3 Feb 2018 12:18:48 +0000 (12:18 +0000)]
Increase HSTS expiry to a year

2 years agoUpdate carto stylesheet to v4.7.1
Tom Hughes [Fri, 2 Feb 2018 19:52:04 +0000 (19:52 +0000)]
Update carto stylesheet to v4.7.1

Closes #148

2 years agoAdd crossdomain.xml for ooc site
Tom Hughes [Fri, 2 Feb 2018 19:37:20 +0000 (19:37 +0000)]
Add crossdomain.xml for ooc site

2 years agoRewrite ooc site using leaflet and bring it under chef control
Tom Hughes [Fri, 2 Feb 2018 19:23:53 +0000 (19:23 +0000)]
Rewrite ooc site using leaflet and bring it under chef control

2 years agoIncrease pool_idle_time for frontends
Tom Hughes [Thu, 1 Feb 2018 20:33:05 +0000 (20:33 +0000)]
Increase pool_idle_time for frontends

2 years agoUpdate carto stylesheet to v4.7.0
Tom Hughes [Fri, 26 Jan 2018 18:47:11 +0000 (18:47 +0000)]
Update carto stylesheet to v4.7.0

Closes #146

2 years agoSort certificates in a stable order
Tom Hughes [Fri, 26 Jan 2018 15:34:13 +0000 (15:34 +0000)]
Sort certificates in a stable order

2 years agoDon't check the certificate when the connection failed
Tom Hughes [Fri, 26 Jan 2018 15:30:13 +0000 (15:30 +0000)]
Don't check the certificate when the connection failed

2 years agoCheck all hosts for shared certificates
Tom Hughes [Fri, 26 Jan 2018 15:22:34 +0000 (15:22 +0000)]
Check all hosts for shared certificates

2 years agoStart reminding about expiry at 21 days
Tom Hughes [Fri, 26 Jan 2018 10:23:45 +0000 (10:23 +0000)]
Start reminding about expiry at 21 days

2 years agoRescue all errors
Tom Hughes [Fri, 26 Jan 2018 09:21:35 +0000 (09:21 +0000)]
Rescue all errors

2 years agoCorrect over aggressive search and replace
Tom Hughes [Fri, 26 Jan 2018 09:21:11 +0000 (09:21 +0000)]
Correct over aggressive search and replace

2 years agoAdd a cron job to check SSL certificate validity
Tom Hughes [Thu, 25 Jan 2018 00:08:44 +0000 (00:08 +0000)]
Add a cron job to check SSL certificate validity

2 years agoAdd cron job to delete old planet files.
Matt Amos [Wed, 24 Jan 2018 12:26:55 +0000 (12:26 +0000)]
Add cron job to delete old planet files.

At the moment it's just hard-coded to the general consensus view that we should keep the last 4 weeks of planet files, and the first planet for each calendar month before that.

This doesn't touch any of the "historical interest" planets in `/store/planet/cc-by-sa`.

2 years agoExempt /server-status from redirection
Tom Hughes [Mon, 22 Jan 2018 19:11:41 +0000 (19:11 +0000)]
Exempt /server-status from redirection

Fixed #144

2 years agoIncrease HSTS expiry to ten days
Tom Hughes [Sat, 20 Jan 2018 15:44:38 +0000 (15:44 +0000)]
Increase HSTS expiry to ten days

2 years agoUse https URL for html base tag for nominatim.openstreetmap.org.
Guillaume RISCHARD [Tue, 16 Jan 2018 14:10:32 +0000 (15:10 +0100)]
Use https URL for html base tag for nominatim.openstreetmap.org.

2 years agoEnable mod_headers everywhere as we use it for HSTS support
Tom Hughes [Wed, 17 Jan 2018 19:08:44 +0000 (19:08 +0000)]
Enable mod_headers everywhere as we use it for HSTS support

2 years agoMake dev sites serve crossdomain.xml with correct MIME type
Tom Hughes [Wed, 17 Jan 2018 18:47:05 +0000 (18:47 +0000)]
Make dev sites serve crossdomain.xml with correct MIME type

2 years agoAllow cross domain access to https tiles from http pages
Tom Hughes [Tue, 16 Jan 2018 17:49:39 +0000 (17:49 +0000)]
Allow cross domain access to https tiles from http pages

2 years agoFix HSTS for tile caches
Tom Hughes [Tue, 16 Jan 2018 12:30:17 +0000 (12:30 +0000)]
Fix HSTS for tile caches

2 years agoFix permalink control on imagery sites
Tom Hughes [Tue, 16 Jan 2018 09:42:25 +0000 (09:42 +0000)]
Fix permalink control on imagery sites

2 years agoQualify property names
Tom Hughes [Tue, 16 Jan 2018 09:31:26 +0000 (09:31 +0000)]
Qualify property names

2 years agoEnable HSTS for all nginx served SSL sites
Tom Hughes [Tue, 16 Jan 2018 09:20:40 +0000 (09:20 +0000)]
Enable HSTS for all nginx served SSL sites

2 years agoMove nginx SSL configuration to shared location in nginx cookbook
Tom Hughes [Tue, 16 Jan 2018 09:15:14 +0000 (09:15 +0000)]
Move nginx SSL configuration to shared location in nginx cookbook

2 years agoAdd new skin to OSMF mediawiki instance
Michael Glanznig [Sun, 14 Jan 2018 09:03:24 +0000 (10:03 +0100)]
Add new skin to OSMF mediawiki instance

Closes #141

2 years agoUpdate to leaflet 1.3.0
Tom Hughes [Mon, 15 Jan 2018 10:17:02 +0000 (10:17 +0000)]
Update to leaflet 1.3.0

2 years agoUpdate piwik to 3.3.0
Tom Hughes [Sat, 13 Jan 2018 00:15:58 +0000 (00:15 +0000)]
Update piwik to 3.3.0

2 years agoIncrease HSTS expiry
Tom Hughes [Fri, 12 Jan 2018 18:43:01 +0000 (18:43 +0000)]
Increase HSTS expiry

2 years agoEnable HSTS for all apache served SSL sites
Tom Hughes [Thu, 11 Jan 2018 18:13:53 +0000 (18:13 +0000)]
Enable HSTS for all apache served SSL sites

2 years agoAdd static site for 2013.stateofthemap.org
Tom Hughes [Wed, 10 Jan 2018 18:39:58 +0000 (18:39 +0000)]
Add static site for 2013.stateofthemap.org

2 years agoConvert various links to https
Tom Hughes [Fri, 5 Jan 2018 19:58:43 +0000 (19:58 +0000)]
Convert various links to https

2 years agoConvert planet references to use https
Tom Hughes [Thu, 4 Jan 2018 21:53:35 +0000 (21:53 +0000)]
Convert planet references to use https

2 years agoRevert "Make planet redirect to https"
Tom Hughes [Thu, 4 Jan 2018 21:22:15 +0000 (21:22 +0000)]
Revert "Make planet redirect to https"

This reverts commit 31a516770ed279c68a6fb17ec9a498824becdcf3.

2 years agoMake imagery sites redirect to https
Tom Hughes [Thu, 4 Jan 2018 19:28:13 +0000 (19:28 +0000)]
Make imagery sites redirect to https

2 years agoMake planet redirect to https
Tom Hughes [Thu, 4 Jan 2018 19:21:15 +0000 (19:21 +0000)]
Make planet redirect to https

2 years agoMake mediawiki sites redirect to https
Tom Hughes [Thu, 4 Jan 2018 18:55:45 +0000 (18:55 +0000)]
Make mediawiki sites redirect to https

2 years agoBring dev.osm.org under chef control and SSL enable it
Tom Hughes [Thu, 4 Jan 2018 18:31:52 +0000 (18:31 +0000)]
Bring dev.osm.org under chef control and SSL enable it

2 years agoUpdate phppgadmin site to use https
Tom Hughes [Thu, 4 Jan 2018 18:21:31 +0000 (18:21 +0000)]
Update phppgadmin site to use https

2 years agoRedirect user dev sites to https
Tom Hughes [Thu, 4 Jan 2018 18:19:28 +0000 (18:19 +0000)]
Redirect user dev sites to https

2 years agoEnable SSL for user sites on the dev server
Tom Hughes [Thu, 4 Jan 2018 17:58:45 +0000 (17:58 +0000)]
Enable SSL for user sites on the dev server

2 years agoRedirect all gps-tile access to https
Tom Hughes [Thu, 4 Jan 2018 17:37:06 +0000 (17:37 +0000)]
Redirect all gps-tile access to https

2 years agoUse --quieter switch to pluto
Tom Hughes [Wed, 3 Jan 2018 20:58:45 +0000 (20:58 +0000)]
Use --quieter switch to pluto

2 years agowiki: use noreply email address
Grant Slater [Mon, 1 Jan 2018 21:44:39 +0000 (21:44 +0000)]
wiki: use noreply email address

2 years agoRevert "Switch bytemark to use eddie for readonly database queries"
Tom Hughes [Sat, 23 Dec 2017 14:38:03 +0000 (14:38 +0000)]
Revert "Switch bytemark to use eddie for readonly database queries"

This reverts commit 5914b757dd8016700a06cb6392f631a7706b53ad.

2 years agoLog statements taking longer than 1s on the main database
Tom Hughes [Fri, 22 Dec 2017 11:21:37 +0000 (11:21 +0000)]
Log statements taking longer than 1s on the main database

2 years agoIncrease MinSpareThreads and MaxSpareThreads for nominatim
Tom Hughes [Wed, 20 Dec 2017 08:49:04 +0000 (08:49 +0000)]
Increase MinSpareThreads and MaxSpareThreads for nominatim

2 years agonominatim: apply rate limit
Sarah Hoffmann [Tue, 19 Dec 2017 21:27:52 +0000 (22:27 +0100)]
nominatim: apply rate limit

2 years agoAdd support for rate limit http connections
Tom Hughes [Tue, 19 Dec 2017 20:55:42 +0000 (20:55 +0000)]
Add support for rate limit http connections

2 years agoUpdate carto stylesheet to v4.6.0
Tom Hughes [Sun, 17 Dec 2017 21:50:57 +0000 (21:50 +0000)]
Update carto stylesheet to v4.6.0

Closes #140

2 years agoSwitch moderation dev site to use gravitystorm's branch
Tom Hughes [Thu, 14 Dec 2017 11:46:29 +0000 (11:46 +0000)]
Switch moderation dev site to use gravitystorm's branch

2 years agoSwitch bytemark to use eddie for readonly database queries
Tom Hughes [Tue, 12 Dec 2017 09:08:13 +0000 (09:08 +0000)]
Switch bytemark to use eddie for readonly database queries

2 years agoReduce random_page_cost for postgres instances on SSD
Tom Hughes [Thu, 7 Dec 2017 12:06:11 +0000 (12:06 +0000)]
Reduce random_page_cost for postgres instances on SSD

2 years agoUpdate piwik to 3.2.1
Tom Hughes [Thu, 7 Dec 2017 09:31:10 +0000 (09:31 +0000)]
Update piwik to 3.2.1

2 years agoRemove tilecache role from komodo for now
Tom Hughes [Tue, 5 Dec 2017 15:55:29 +0000 (15:55 +0000)]
Remove tilecache role from komodo for now

2 years agoDisable chef exception handler
Tom Hughes [Tue, 5 Dec 2017 14:11:32 +0000 (14:11 +0000)]
Disable chef exception handler

2 years agoUpdate interface name for cmok
Tom Hughes [Tue, 5 Dec 2017 12:44:47 +0000 (12:44 +0000)]
Update interface name for cmok

2 years agoDisable chef report handler
Tom Hughes [Sun, 3 Dec 2017 12:14:53 +0000 (12:14 +0000)]
Disable chef report handler

2 years agoUse string keys for piwik configuration items
Tom Hughes [Fri, 1 Dec 2017 00:26:09 +0000 (00:26 +0000)]
Use string keys for piwik configuration items

2 years agoInstall image optimisation tools on rails machines
Tom Hughes [Wed, 29 Nov 2017 15:44:47 +0000 (15:44 +0000)]
Install image optimisation tools on rails machines

2 years agoDisable "slow run" reporting for chef
Tom Hughes [Tue, 28 Nov 2017 09:11:53 +0000 (09:11 +0000)]
Disable "slow run" reporting for chef

2 years agoExclude fd0 from diskstats munin plugin
Tom Hughes [Tue, 28 Nov 2017 08:35:29 +0000 (08:35 +0000)]
Exclude fd0 from diskstats munin plugin

2 years agoUpgrade remaining machines to chef 13
Tom Hughes [Mon, 27 Nov 2017 15:54:36 +0000 (15:54 +0000)]
Upgrade remaining machines to chef 13

2 years agoUpgrade IC machines to chef 13
Tom Hughes [Mon, 27 Nov 2017 15:44:29 +0000 (15:44 +0000)]
Upgrade IC machines to chef 13