chef.git
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

2 years agoQualify property names
Tom Hughes [Mon, 27 Nov 2017 15:40:53 +0000 (15:40 +0000)]
Qualify property names

2 years agoCoerce piwik goals into a normal hash
Tom Hughes [Mon, 27 Nov 2017 15:38:18 +0000 (15:38 +0000)]
Coerce piwik goals into a normal hash

2 years agoUpgrade bytemark machines to chef 13
Tom Hughes [Mon, 27 Nov 2017 15:23:14 +0000 (15:23 +0000)]
Upgrade bytemark machines to chef 13

2 years agoQualify property names
Tom Hughes [Mon, 27 Nov 2017 15:20:13 +0000 (15:20 +0000)]
Qualify property names

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

2 years agoUpgrade ridley to chef 13
Tom Hughes [Mon, 27 Nov 2017 15:04:35 +0000 (15:04 +0000)]
Upgrade ridley to chef 13

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

2 years agoFix warning cleaning up symbolic link
Tom Hughes [Mon, 27 Nov 2017 14:59:45 +0000 (14:59 +0000)]
Fix warning cleaning up symbolic link

2 years agoQualify property names
Tom Hughes [Mon, 27 Nov 2017 14:51:49 +0000 (14:51 +0000)]
Qualify property names

2 years agoUpgrade eustace to chef 13
Tom Hughes [Mon, 27 Nov 2017 14:46:19 +0000 (14:46 +0000)]
Upgrade eustace to chef 13

2 years agoConvert rails_port definition to a resource
Tom Hughes [Sun, 26 Nov 2017 20:48:58 +0000 (20:48 +0000)]
Convert rails_port definition to a resource

2 years agoDrop redundant file_column_root attribute
Tom Hughes [Sun, 26 Nov 2017 20:48:17 +0000 (20:48 +0000)]
Drop redundant file_column_root attribute

3 years agoEnable CSP in report only mode for the main web site
Tom Hughes [Thu, 23 Nov 2017 21:21:43 +0000 (21:21 +0000)]
Enable CSP in report only mode for the main web site

3 years agoModernise postgresql LWRPs
Tom Hughes [Thu, 23 Nov 2017 18:36:37 +0000 (18:36 +0000)]
Modernise postgresql LWRPs

3 years agoUpdate chef client to 12.21.26
Tom Hughes [Wed, 22 Nov 2017 20:28:22 +0000 (20:28 +0000)]
Update chef client to 12.21.26

3 years agoModernise nodejs_package LWRP
Tom Hughes [Wed, 22 Nov 2017 20:22:49 +0000 (20:22 +0000)]
Modernise nodejs_package LWRP

3 years agoUpdate wiki to mediawiki 1.29
Tom Hughes [Wed, 22 Nov 2017 18:13:01 +0000 (18:13 +0000)]
Update wiki to mediawiki 1.29

3 years agoModernise mysql LWRPs
Tom Hughes [Wed, 22 Nov 2017 18:07:29 +0000 (18:07 +0000)]
Modernise mysql LWRPs

3 years agoModernise mediawiki LWRPs
Tom Hughes [Wed, 22 Nov 2017 18:00:42 +0000 (18:00 +0000)]
Modernise mediawiki LWRPs

3 years agoQualify property access
Tom Hughes [Wed, 22 Nov 2017 13:29:38 +0000 (13:29 +0000)]
Qualify property access

3 years agoUse declare_resource to avoid conflict with "package" property
Tom Hughes [Wed, 22 Nov 2017 13:29:06 +0000 (13:29 +0000)]
Use declare_resource to avoid conflict with "package" property

3 years agoAdd explanatory header for full-experimental CC BY-SA planets.
Matt Amos [Wed, 22 Nov 2017 10:02:07 +0000 (10:02 +0000)]
Add explanatory header for full-experimental CC BY-SA planets.

Thanks to @pnorman for pointing out the difference between them. Since it confused me, seems worth adding a little comment at the top to say what each one is (and why the earlier one says "final").

3 years agoModernise wordpress LWRPs
Tom Hughes [Tue, 21 Nov 2017 22:56:16 +0000 (22:56 +0000)]
Modernise wordpress LWRPs

3 years agoUse declare_resource to avoid need for template_source wart
Tom Hughes [Tue, 21 Nov 2017 20:24:23 +0000 (20:24 +0000)]
Use declare_resource to avoid need for template_source wart

3 years agoModernise apache LWRPs
Tom Hughes [Tue, 21 Nov 2017 19:41:13 +0000 (19:41 +0000)]
Modernise apache LWRPs

3 years agoModernise squid_fragment LWRP
Tom Hughes [Tue, 21 Nov 2017 19:09:41 +0000 (19:09 +0000)]
Modernise squid_fragment LWRP

3 years agoFix munin_plugin resource
Tom Hughes [Sun, 19 Nov 2017 20:58:08 +0000 (20:58 +0000)]
Fix munin_plugin resource

3 years agoUpdate carto stylesheet to v4.5.0
Tom Hughes [Fri, 17 Nov 2017 19:24:26 +0000 (19:24 +0000)]
Update carto stylesheet to v4.5.0

Closes #138

3 years agoDisable mcelog on shenron
Tom Hughes [Fri, 17 Nov 2017 16:55:07 +0000 (16:55 +0000)]
Disable mcelog on shenron

3 years agoDisable mcelog on scorch
Tom Hughes [Fri, 17 Nov 2017 16:21:21 +0000 (16:21 +0000)]
Disable mcelog on scorch

The processor/chipset in scorch needs a new version than is
available in 16.04 and refuses to start otherwise.

3 years agoFix issues with chef report handler
Tom Hughes [Fri, 17 Nov 2017 16:00:02 +0000 (16:00 +0000)]
Fix issues with chef report handler

3 years agoUse mail gem instead of pony
Tom Hughes [Thu, 16 Nov 2017 21:30:59 +0000 (21:30 +0000)]
Use mail gem instead of pony

It seems pony hasn't been updated for a while and has broken
with the latest release of mail so just use mail directly.

3 years agoModernise more LWRPs
Tom Hughes [Thu, 16 Nov 2017 19:56:45 +0000 (19:56 +0000)]
Modernise more LWRPs

3 years agoUse multipackage installs throughout
Tim Smith [Wed, 15 Nov 2017 23:14:53 +0000 (15:14 -0800)]
Use multipackage installs throughout

In Chef 12.1 we introduced multipackage installs. Instead of shelling
out to dpkg for each package to determine what we should do we gather
the information we need and check each package in the array. It's faster
and it takes less memory. It's especially useful after the first run when
nothing actually changes. Far fewer resources consumed.

I noticed you arranged the packages so I tried to keep them to that
same arrangement and I used multiline arrays since they make the diffs
nicer in the future as you add / remove packages. This isn't necessary
for Chef 13, but it's best practice.

Signed-off-by: Tim Smith <tsmith@chef.io>
Closes #137