]> git.openstreetmap.org Git - chef.git/log
chef.git
4 years agoRemove ancient cruft
Tom Hughes [Tue, 21 Jul 2020 18:03:47 +0000 (19:03 +0100)]
Remove ancient cruft

4 years agoReplace cron.d templates with cron_d resources
Tom Hughes [Tue, 21 Jul 2020 18:03:28 +0000 (19:03 +0100)]
Replace cron.d templates with cron_d resources

4 years agoReplace cron.d templates with cron_d resources
Tom Hughes [Tue, 21 Jul 2020 17:42:33 +0000 (18:42 +0100)]
Replace cron.d templates with cron_d resources

4 years agoUpdate piwik to 3.14.0
Tom Hughes [Tue, 21 Jul 2020 08:01:29 +0000 (09:01 +0100)]
Update piwik to 3.14.0

4 years agoReplace cron.d templates with cron_d resources
Tom Hughes [Sun, 19 Jul 2020 18:29:04 +0000 (19:29 +0100)]
Replace cron.d templates with cron_d resources

4 years agoRemove duplicate resource
Tom Hughes [Sun, 19 Jul 2020 18:24:25 +0000 (19:24 +0100)]
Remove duplicate resource

4 years agoRemove old cleanup code
Tom Hughes [Sun, 19 Jul 2020 18:22:43 +0000 (19:22 +0100)]
Remove old cleanup code

4 years agoReplace cron.d templates with cron_d resources
Tom Hughes [Sun, 19 Jul 2020 18:00:43 +0000 (19:00 +0100)]
Replace cron.d templates with cron_d resources

4 years agoReplace cron.d template with a cron_d resource
Tom Hughes [Sun, 19 Jul 2020 17:42:28 +0000 (18:42 +0100)]
Replace cron.d template with a cron_d resource

4 years agoUpdate rubocop todo
Tom Hughes [Sun, 19 Jul 2020 17:37:28 +0000 (18:37 +0100)]
Update rubocop todo

4 years agoUpdate bundle
Tom Hughes [Sun, 19 Jul 2020 17:33:10 +0000 (18:33 +0100)]
Update bundle

4 years agonominatim: also logrotate the ngninx error log
Sarah Hoffmann [Sat, 18 Jul 2020 10:41:39 +0000 (12:41 +0200)]
nominatim: also logrotate the ngninx error log

4 years agoRun planetdump as a systemd service with a 64Gb memory limit
Tom Hughes [Fri, 17 Jul 2020 16:17:16 +0000 (17:17 +0100)]
Run planetdump as a systemd service with a 64Gb memory limit

4 years agoLimit concurrency of planet dump
Tom Hughes [Fri, 17 Jul 2020 16:17:07 +0000 (17:17 +0100)]
Limit concurrency of planet dump

4 years agoParent lockheed on the french CDN node
Tom Hughes [Fri, 17 Jul 2020 11:07:10 +0000 (12:07 +0100)]
Parent lockheed on the french CDN node

4 years agoMerge remote-tracking branch 'github/pull/324'
Tom Hughes [Fri, 17 Jul 2020 10:45:41 +0000 (11:45 +0100)]
Merge remote-tracking branch 'github/pull/324'

4 years agoBump planet-dump-ng version to v1.1.8, which includes a concurrency limit for disk...
Matt Amos [Fri, 17 Jul 2020 10:36:39 +0000 (11:36 +0100)]
Bump planet-dump-ng version to v1.1.8, which includes a concurrency limit for disk-write threads, which hopefully slows the process down to the point where it's not using infinite memory.

4 years agoAdd role for lockheed
Tom Hughes [Thu, 16 Jul 2020 21:34:27 +0000 (22:34 +0100)]
Add role for lockheed

4 years agoAdd role for kilgharrah
Tom Hughes [Thu, 16 Jul 2020 17:23:43 +0000 (18:23 +0100)]
Add role for kilgharrah

4 years agoProcess the expiry queue in order
Tom Hughes [Thu, 16 Jul 2020 16:58:15 +0000 (17:58 +0100)]
Process the expiry queue in order

4 years agoUpdate tile expiry script for pyproj 2.x
Tom Hughes [Thu, 16 Jul 2020 16:52:44 +0000 (17:52 +0100)]
Update tile expiry script for pyproj 2.x

4 years agoMerge remote-tracking branch 'github/pull/323
Tom Hughes [Thu, 16 Jul 2020 16:09:52 +0000 (17:09 +0100)]
Merge remote-tracking branch 'github/pull/323

4 years agoBump planet-dump-ng version to get fixes for memory explosion and pg_restore argument...
Matt Amos [Thu, 16 Jul 2020 15:48:53 +0000 (16:48 +0100)]
Bump planet-dump-ng version to get fixes for memory explosion and pg_restore argument changes.

4 years agoMerge remote-tracking branch 'github/pull/322'
Tom Hughes [Thu, 16 Jul 2020 07:27:46 +0000 (08:27 +0100)]
Merge remote-tracking branch 'github/pull/322'

4 years agoMerge remote-tracking branch 'github/pull/321'
Tom Hughes [Thu, 16 Jul 2020 07:18:33 +0000 (08:18 +0100)]
Merge remote-tracking branch 'github/pull/321'

4 years agoAvoid warning running cookstyle due to Layout/HeredocIndentation
Tim Smith [Thu, 16 Jul 2020 05:44:17 +0000 (22:44 -0700)]
Avoid warning running cookstyle due to Layout/HeredocIndentation

When Ruby 2.3 support was dropped in RuboCop they changed the Layout/HeredocIndentation to only support squiggly so setting this just causes it to warn. Just enable it instead.

See https://github.com/rubocop-hq/rubocop/pull/8056

Signed-off-by: Tim Smith <tsmith@chef.io>
4 years agoBump cookstyle from 6.11.4 to 6.12.6
dependabot[bot] [Thu, 16 Jul 2020 05:01:21 +0000 (05:01 +0000)]
Bump cookstyle from 6.11.4 to 6.12.6

Bumps [cookstyle](https://github.com/chef/cookstyle) from 6.11.4 to 6.12.6.
- [Release notes](https://github.com/chef/cookstyle/releases)
- [Changelog](https://github.com/chef/cookstyle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chef/cookstyle/compare/v6.11.4...v6.12.6)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoimagery: switch baselayer to experimental fastly CDN
Grant Slater [Wed, 15 Jul 2020 22:23:23 +0000 (23:23 +0100)]
imagery: switch baselayer to experimental fastly CDN

4 years agoMerge remote-tracking branch 'github/pull/320'
Tom Hughes [Wed, 15 Jul 2020 07:19:24 +0000 (08:19 +0100)]
Merge remote-tracking branch 'github/pull/320'

4 years agoBump kitchen-dokken from 2.9.0 to 2.10.0
dependabot[bot] [Wed, 15 Jul 2020 05:01:56 +0000 (05:01 +0000)]
Bump kitchen-dokken from 2.9.0 to 2.10.0

Bumps [kitchen-dokken](https://github.com/someara/kitchen-dokken) from 2.9.0 to 2.10.0.
- [Release notes](https://github.com/someara/kitchen-dokken/releases)
- [Changelog](https://github.com/test-kitchen/kitchen-dokken/blob/master/CHANGELOG.md)
- [Commits](https://github.com/someara/kitchen-dokken/compare/v2.9.0...v2.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoUpdate hardware cookbook for new version of Intel SSD tool
Tom Hughes [Tue, 14 Jul 2020 15:38:15 +0000 (16:38 +0100)]
Update hardware cookbook for new version of Intel SSD tool

4 years agoInstall php-fpm whenever we install php
Tom Hughes [Tue, 14 Jul 2020 08:17:13 +0000 (09:17 +0100)]
Install php-fpm whenever we install php

This stops apt (un)helpfully installing and activating mod_php for us.

4 years agoMake sure mod_php is disabled when we're using FPM
Tom Hughes [Tue, 14 Jul 2020 08:08:40 +0000 (09:08 +0100)]
Make sure mod_php is disabled when we're using FPM

4 years agoMerge remote-tracking branch 'github/pull/319'
Tom Hughes [Tue, 14 Jul 2020 07:13:37 +0000 (08:13 +0100)]
Merge remote-tracking branch 'github/pull/319'

4 years agoBump test-kitchen from 2.5.2 to 2.5.3
dependabot[bot] [Tue, 14 Jul 2020 05:01:55 +0000 (05:01 +0000)]
Bump test-kitchen from 2.5.2 to 2.5.3

Bumps [test-kitchen](https://github.com/test-kitchen/test-kitchen) from 2.5.2 to 2.5.3.
- [Release notes](https://github.com/test-kitchen/test-kitchen/releases)
- [Changelog](https://github.com/test-kitchen/test-kitchen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/test-kitchen/test-kitchen/compare/v2.5.2...v2.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoDrop mod_php support
Tom Hughes [Mon, 13 Jul 2020 18:20:41 +0000 (19:20 +0100)]
Drop mod_php support

4 years agoConfigure open_basedir for dmca site
Tom Hughes [Mon, 13 Jul 2020 18:12:20 +0000 (19:12 +0100)]
Configure open_basedir for dmca site

4 years agoDrop prefork overrides for PHP sites
Tom Hughes [Mon, 13 Jul 2020 18:04:11 +0000 (19:04 +0100)]
Drop prefork overrides for PHP sites

4 years agoSwitch remaining PHP sites to use FPM
Tom Hughes [Mon, 13 Jul 2020 17:52:28 +0000 (18:52 +0100)]
Switch remaining PHP sites to use FPM

4 years agoEnable wikidiff2 for FPM
Tom Hughes [Mon, 13 Jul 2020 17:38:39 +0000 (18:38 +0100)]
Enable wikidiff2 for FPM

4 years agoSwitch mediawiki cookbook to use FPM for PHP
Tom Hughes [Mon, 13 Jul 2020 16:29:00 +0000 (17:29 +0100)]
Switch mediawiki cookbook to use FPM for PHP

4 years agoPass PHP options to FPM from apache
Tom Hughes [Mon, 13 Jul 2020 16:07:45 +0000 (17:07 +0100)]
Pass PHP options to FPM from apache

4 years agoIncrease server limit for piwik
Tom Hughes [Mon, 13 Jul 2020 10:52:15 +0000 (11:52 +0100)]
Increase server limit for piwik

4 years agoAdjust apache tuning for forum and piwik
Tom Hughes [Mon, 13 Jul 2020 09:04:50 +0000 (10:04 +0100)]
Adjust apache tuning for forum and piwik

4 years agoSwitch piwik to use FPM for PHP
Tom Hughes [Mon, 13 Jul 2020 08:36:32 +0000 (09:36 +0100)]
Switch piwik to use FPM for PHP

4 years agoSeparate php::apache-fpm frpm php::fpm
Tom Hughes [Sun, 12 Jul 2020 19:27:15 +0000 (20:27 +0100)]
Separate php::apache-fpm frpm php::fpm

Create a new php::apache-fpm recipe that configures apache
to use FPM for PHP scripts.

4 years agoRestart FPM when the configuration changes
Tom Hughes [Sun, 12 Jul 2020 18:47:46 +0000 (19:47 +0100)]
Restart FPM when the configuration changes

4 years agoMove forum PHP configuration options to FPM configuration
Tom Hughes [Sun, 12 Jul 2020 18:45:54 +0000 (19:45 +0100)]
Move forum PHP configuration options to FPM configuration

4 years agoAllow PHP configuration options for FPM to be configured
Tom Hughes [Sun, 12 Jul 2020 18:40:10 +0000 (19:40 +0100)]
Allow PHP configuration options for FPM to be configured

4 years agoMake php::fpm enable FPM support in apache
Tom Hughes [Sun, 12 Jul 2020 18:30:07 +0000 (19:30 +0100)]
Make php::fpm enable FPM support in apache

4 years agoSwitch the forum to use php-fpm
Tom Hughes [Sun, 12 Jul 2020 18:22:15 +0000 (18:22 +0000)]
Switch the forum to use php-fpm

4 years agoOnly force the prefork mpm when mod_php is used
Tom Hughes [Sun, 12 Jul 2020 18:21:49 +0000 (18:21 +0000)]
Only force the prefork mpm when mod_php is used

4 years agoFix logrotate for squid 4.11
Tom Hughes [Fri, 10 Jul 2020 21:46:58 +0000 (22:46 +0100)]
Fix logrotate for squid 4.11

4 years agoimagery: update OS OpenMap Local to use averaged overview
Grant Slater [Fri, 10 Jul 2020 13:21:30 +0000 (14:21 +0100)]
imagery: update OS OpenMap Local to use averaged overview

4 years agoMerge remote-tracking branch 'github/pull/318'
Tom Hughes [Fri, 10 Jul 2020 07:30:06 +0000 (08:30 +0100)]
Merge remote-tracking branch 'github/pull/318'

4 years agoBump cookstyle from 6.10.2 to 6.11.4
dependabot[bot] [Fri, 10 Jul 2020 05:01:15 +0000 (05:01 +0000)]
Bump cookstyle from 6.10.2 to 6.11.4

Bumps [cookstyle](https://github.com/chef/cookstyle) from 6.10.2 to 6.11.4.
- [Release notes](https://github.com/chef/cookstyle/releases)
- [Changelog](https://github.com/chef/cookstyle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chef/cookstyle/compare/v6.10.2...v6.11.4)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoUse python3 for wsgi on dev
Tom Hughes [Thu, 9 Jul 2020 17:51:03 +0000 (18:51 +0100)]
Use python3 for wsgi on dev

4 years agodevice: Add udev to remove failed disk in cmok
Grant Slater [Thu, 9 Jul 2020 00:31:04 +0000 (01:31 +0100)]
device: Add udev to remove failed disk in cmok

4 years agotilecache: compress old curl time records
Grant Slater [Thu, 9 Jul 2020 00:22:18 +0000 (01:22 +0100)]
tilecache: compress old curl time records

4 years agoRemove tcp fast-open support. Client support is dying
Grant Slater [Wed, 8 Jul 2020 07:57:56 +0000 (08:57 +0100)]
Remove tcp fast-open support. Client support is dying

4 years agoUpdate bundle
Tom Hughes [Tue, 7 Jul 2020 21:32:29 +0000 (22:32 +0100)]
Update bundle

4 years agoMerge remote-tracking branch 'github/pull/317'
Tom Hughes [Tue, 7 Jul 2020 19:19:40 +0000 (20:19 +0100)]
Merge remote-tracking branch 'github/pull/317'

4 years agoDon't bother installing millstone - we don't use it
Tom Hughes [Tue, 7 Jul 2020 18:42:41 +0000 (18:42 +0000)]
Don't bother installing millstone - we don't use it

4 years agoAttempt to fix changeset replication lock queueing.
Matt Amos [Tue, 7 Jul 2020 18:42:31 +0000 (19:42 +0100)]
Attempt to fix changeset replication lock queueing.

When the changeset replication runs slow, a lot of processes queue up trying to get the lock. I'm not totally sure, but it looks like they then get woken up in a random order, resulting in weird out-of-order behaviour.

This patch simplifies that process in two ways:

1. If the lock isn't acquired, the process exits. This means much less (perhaps zero) lock queueing.
2. Using a separate `lockfile`, rather than the current state file. Since the new state file is moved into place over the old one, it was effectively unlocking at that point for _new_ processes. But would also unblock an old process which still had the old (now unlinked) file descriptor open.

Hopefully between these two changes, it resolves some of the brokenness that plagues changeset replication! :-)

4 years agoIgnore 1 additional fan on pyrene
Grant Slater [Tue, 7 Jul 2020 09:20:59 +0000 (10:20 +0100)]
Ignore 1 additional fan on pyrene

4 years agopyrene runs hot. Ignore most fan alerts
Grant Slater [Tue, 7 Jul 2020 08:05:02 +0000 (09:05 +0100)]
pyrene runs hot. Ignore most fan alerts

4 years agoUpdate interface names for ladon
Tom Hughes [Mon, 6 Jul 2020 13:56:05 +0000 (14:56 +0100)]
Update interface names for ladon

4 years agonominatim: add website setup to merge hook
Sarah Hoffmann [Sun, 5 Jul 2020 19:31:15 +0000 (21:31 +0200)]
nominatim: add website setup to merge hook

4 years agoBring GPX access back online
Tom Hughes [Sun, 5 Jul 2020 16:21:41 +0000 (17:21 +0100)]
Bring GPX access back online

4 years agoRemount NFS space on web servers
Tom Hughes [Sun, 5 Jul 2020 16:23:22 +0000 (17:23 +0100)]
Remount NFS space on web servers

4 years agoBring up a DHCP server on tabaluga
Tom Hughes [Sun, 5 Jul 2020 09:39:21 +0000 (10:39 +0100)]
Bring up a DHCP server on tabaluga

4 years agoAdd default attributes for nfs cookbook
Tom Hughes [Sun, 5 Jul 2020 09:34:05 +0000 (10:34 +0100)]
Add default attributes for nfs cookbook

4 years agoSuppress mounting of /store/rails when GPX data is offline
Tom Hughes [Sun, 5 Jul 2020 09:30:04 +0000 (10:30 +0100)]
Suppress mounting of /store/rails when GPX data is offline

4 years agoMakr GPX storage as offline
Tom Hughes [Sun, 5 Jul 2020 09:20:28 +0000 (10:20 +0100)]
Makr GPX storage as offline

4 years agoSwitch to installing python 3 modules on dev
Tom Hughes [Sat, 4 Jul 2020 11:53:01 +0000 (12:53 +0100)]
Switch to installing python 3 modules on dev

4 years agoFix bind cookbook for change in service name on Ubuntu 20.04
Tom Hughes [Fri, 3 Jul 2020 10:40:44 +0000 (11:40 +0100)]
Fix bind cookbook for change in service name on Ubuntu 20.04

4 years agosquid: remove broken logrotate file + no cache digest
Grant Slater [Fri, 3 Jul 2020 04:34:23 +0000 (05:34 +0100)]
squid: remove broken logrotate file + no cache digest

4 years agoimagery: update os om local key
Grant Slater [Fri, 3 Jul 2020 00:00:51 +0000 (01:00 +0100)]
imagery: update os om local key

4 years agoimagery: remove ubuntugis-unstable apt
Grant Slater [Thu, 2 Jul 2020 16:58:18 +0000 (17:58 +0100)]
imagery: remove ubuntugis-unstable apt

4 years agoCope with having no communities
Tom Hughes [Thu, 2 Jul 2020 15:20:20 +0000 (16:20 +0100)]
Cope with having no communities

4 years agoforum: use temporary theme location to workaround chef openssl bug
Grant Slater [Thu, 2 Jul 2020 14:34:21 +0000 (15:34 +0100)]
forum: use temporary theme location to workaround chef openssl bug

4 years agoimagery: OS OpenMap Local fix water blue
Grant Slater [Thu, 2 Jul 2020 13:19:47 +0000 (14:19 +0100)]
imagery: OS OpenMap Local fix water blue

4 years agoimagery: OS OpenMap Local fixes
Grant Slater [Thu, 2 Jul 2020 12:56:43 +0000 (13:56 +0100)]
imagery: OS OpenMap Local fixes

4 years agoimagery: os openmap local update
Grant Slater [Thu, 2 Jul 2020 09:37:02 +0000 (10:37 +0100)]
imagery: os openmap local update

4 years agoimagery: Add test OS openmap local
Grant Slater [Wed, 1 Jul 2020 23:31:03 +0000 (00:31 +0100)]
imagery: Add test OS openmap local

4 years agoExpire MWG wiki backups
Tom Hughes [Wed, 1 Jul 2020 17:13:02 +0000 (18:13 +0100)]
Expire MWG wiki backups

4 years agotilecache: Do not pass request header + body
Grant Slater [Tue, 30 Jun 2020 20:44:16 +0000 (21:44 +0100)]
tilecache: Do not pass request header + body

4 years agoBump cookstyle from 6.8.0 to 6.9.0
dependabot[bot] [Fri, 26 Jun 2020 18:18:36 +0000 (18:18 +0000)]
Bump cookstyle from 6.8.0 to 6.9.0

Bumps [cookstyle](https://github.com/chef/cookstyle) from 6.8.0 to 6.9.0.
- [Release notes](https://github.com/chef/cookstyle/releases)
- [Changelog](https://github.com/chef/cookstyle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chef/cookstyle/compare/v6.8.0...v6.9.0)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoSet dependabot frequency to daily
Tom Hughes [Fri, 26 Jun 2020 18:16:49 +0000 (19:16 +0100)]
Set dependabot frequency to daily

4 years agoConfigure port for sshd
Tom Hughes [Fri, 26 Jun 2020 13:26:13 +0000 (14:26 +0100)]
Configure port for sshd

4 years agoAdd test for dns cookbook
Tom Hughes [Thu, 25 Jun 2020 19:32:50 +0000 (19:32 +0000)]
Add test for dns cookbook

4 years agoMerge pull request #315 from openstreetmap/dependabot/bundler/test-kitchen-2.5.2
Tom Hughes [Thu, 25 Jun 2020 18:04:36 +0000 (19:04 +0100)]
Merge pull request #315 from openstreetmap/dependabot/bundler/test-kitchen-2.5.2

Bump test-kitchen from 2.5.1 to 2.5.2

4 years agoMerge pull request #314 from openstreetmap/dependabot/github_actions/actions/setup...
Tom Hughes [Thu, 25 Jun 2020 18:02:53 +0000 (19:02 +0100)]
Merge pull request #314 from openstreetmap/dependabot/github_actions/actions/setup-ruby-v1.1.1

Bump actions/setup-ruby from v1 to v1.1.1

4 years agoBump actions/setup-ruby from v1 to v1.1.1
dependabot[bot] [Thu, 25 Jun 2020 18:02:38 +0000 (18:02 +0000)]
Bump actions/setup-ruby from v1 to v1.1.1

Bumps [actions/setup-ruby](https://github.com/actions/setup-ruby) from v1 to v1.1.1.
- [Release notes](https://github.com/actions/setup-ruby/releases)
- [Commits](https://github.com/actions/setup-ruby/compare/v1...18c61abf688e8efc9bec2bdb29c8bca07df5ff45)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoMerge pull request #313 from openstreetmap/dependabot/github_actions/actions/cache-v2
Tom Hughes [Thu, 25 Jun 2020 18:02:00 +0000 (19:02 +0100)]
Merge pull request #313 from openstreetmap/dependabot/github_actions/actions/cache-v2

Bump actions/cache from v1 to v2

4 years agoBump test-kitchen from 2.5.1 to 2.5.2
dependabot[bot] [Thu, 25 Jun 2020 17:58:53 +0000 (17:58 +0000)]
Bump test-kitchen from 2.5.1 to 2.5.2

Bumps [test-kitchen](https://github.com/test-kitchen/test-kitchen) from 2.5.1 to 2.5.2.
- [Release notes](https://github.com/test-kitchen/test-kitchen/releases)
- [Changelog](https://github.com/test-kitchen/test-kitchen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/test-kitchen/test-kitchen/compare/v2.5.1...v2.5.2)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoBump actions/cache from v1 to v2
dependabot[bot] [Thu, 25 Jun 2020 17:58:38 +0000 (17:58 +0000)]
Bump actions/cache from v1 to v2

Bumps [actions/cache](https://github.com/actions/cache) from v1 to v2.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v1...b8204782bbb5f872091ecc5eb9cb7d004e35b1fa)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoEnable dependabot for chef repository
Tom Hughes [Thu, 25 Jun 2020 17:56:12 +0000 (18:56 +0100)]
Enable dependabot for chef repository

4 years agoFix parent for New Zealand caches
Tom Hughes [Wed, 24 Jun 2020 21:44:13 +0000 (22:44 +0100)]
Fix parent for New Zealand caches

4 years agoUbuntu MOTD adverts-be-gone
Grant Slater [Wed, 24 Jun 2020 13:23:56 +0000 (14:23 +0100)]
Ubuntu MOTD adverts-be-gone