]> git.openstreetmap.org Git - chef.git/log
chef.git
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

4 years agoDelay trying to start squid until the end of the run
Tom Hughes [Tue, 23 Jun 2020 21:37:44 +0000 (22:37 +0100)]
Delay trying to start squid until the end of the run

This ensures that all config fragments have been updated before
we try and start it, allowing recovery from breakage.

4 years agoDisable TLSv1.3 for upstream connections from squid on Ubuntu 20.04
Tom Hughes [Tue, 23 Jun 2020 18:22:29 +0000 (19:22 +0100)]
Disable TLSv1.3 for upstream connections from squid on Ubuntu 20.04

4 years agoRevert "Disable TLSv1.3 for upstream connections from squid on Ubuntu 20.04"
Tom Hughes [Tue, 23 Jun 2020 18:56:27 +0000 (19:56 +0100)]
Revert "Disable TLSv1.3 for upstream connections from squid on Ubuntu 20.04"

This reverts commit 8593050ae6de42adadb959f976693ea3a0f1278f.

4 years agoDisable TLSv1.3 for upstream connections from squid on Ubuntu 20.04
Tom Hughes [Tue, 23 Jun 2020 18:22:29 +0000 (19:22 +0100)]
Disable TLSv1.3 for upstream connections from squid on Ubuntu 20.04

4 years agoSwitch to using a dropin to customise squid service
Tom Hughes [Tue, 23 Jun 2020 06:13:31 +0000 (07:13 +0100)]
Switch to using a dropin to customise squid service

4 years agoUpdate SNMP contact for lyonix
Tom Hughes [Mon, 22 Jun 2020 20:08:34 +0000 (21:08 +0100)]
Update SNMP contact for lyonix

4 years agoUpdate SNMP configuration for lyonix
Tom Hughes [Mon, 22 Jun 2020 19:55:09 +0000 (20:55 +0100)]
Update SNMP configuration for lyonix

4 years agogeodns: set standard SOA retry
Grant Slater [Mon, 22 Jun 2020 17:09:29 +0000 (18:09 +0100)]
geodns: set standard SOA retry

4 years agogeodns: enable include_optional_ns to please picky DNS servers
Grant Slater [Mon, 22 Jun 2020 16:23:09 +0000 (17:23 +0100)]
geodns: enable include_optional_ns to please picky DNS servers

4 years agoUpdate NS records for geo zone
Tom Hughes [Mon, 22 Jun 2020 09:33:18 +0000 (10:33 +0100)]
Update NS records for geo zone

4 years agoMake sure the tests know they are running in a container
Tom Hughes [Sun, 21 Jun 2020 10:23:38 +0000 (11:23 +0100)]
Make sure the tests know they are running in a container

This ensures that systemd-detect-virt will detect that we are
running in a container and prevents apparmor being started.

4 years agochrony: safe to ignore online failures
Grant Slater [Fri, 19 Jun 2020 00:56:30 +0000 (01:56 +0100)]
chrony: safe to ignore online failures

4 years agochrony: online sources on chef runs
Grant Slater [Fri, 19 Jun 2020 00:44:29 +0000 (01:44 +0100)]
chrony: online sources on chef runs

4 years agodns: Update dnscontrol v3.0.0 -> v3.2.0
Grant Slater [Thu, 18 Jun 2020 22:48:06 +0000 (23:48 +0100)]
dns: Update dnscontrol v3.0.0 -> v3.2.0

4 years agoDrop sshfp and add some extra perl modules
Tom Hughes [Thu, 18 Jun 2020 20:01:38 +0000 (21:01 +0100)]
Drop sshfp and add some extra perl modules

4 years agoWrap DNS updates with a lock to avoid conflicts
Tom Hughes [Thu, 18 Jun 2020 17:47:09 +0000 (18:47 +0100)]
Wrap DNS updates with a lock to avoid conflicts

4 years agoInstall YAML::XS for faster DNS updates
Tom Hughes [Thu, 18 Jun 2020 17:20:40 +0000 (18:20 +0100)]
Install YAML::XS for faster DNS updates

4 years agoRemove some openssh cleanup code
Tom Hughes [Wed, 17 Jun 2020 17:55:09 +0000 (18:55 +0100)]
Remove some openssh cleanup code

4 years agoRevert to default ssh client configuration
Tom Hughes [Tue, 16 Jun 2020 19:20:52 +0000 (20:20 +0100)]
Revert to default ssh client configuration

The HP ILO cards that needed custom configuration are long gone.

4 years agoRemove any legacy DSA host keys
Tom Hughes [Tue, 16 Jun 2020 18:37:40 +0000 (19:37 +0100)]
Remove any legacy DSA host keys

4 years agoRemove temporary sysfs cleanup code
Tom Hughes [Tue, 16 Jun 2020 18:33:27 +0000 (19:33 +0100)]
Remove temporary sysfs cleanup code

4 years agoChange rhaegal network interface name
Hrvoje Bogner [Mon, 15 Jun 2020 10:06:22 +0000 (12:06 +0200)]
Change rhaegal network interface name

New mb has different network interfaces names

4 years agoUse a dropin file to configure sysfsutils
Tom Hughes [Sun, 14 Jun 2020 19:28:37 +0000 (20:28 +0100)]
Use a dropin file to configure sysfsutils

4 years agoHard code use of bionic for HP repository for now
Tom Hughes [Sun, 14 Jun 2020 19:25:56 +0000 (20:25 +0100)]
Hard code use of bionic for HP repository for now

4 years agoFix incorrect cookstyle correction
Tom Hughes [Mon, 8 Jun 2020 22:00:33 +0000 (23:00 +0100)]
Fix incorrect cookstyle correction

4 years agoUpdate bundle
Tom Hughes [Mon, 8 Jun 2020 21:50:31 +0000 (22:50 +0100)]
Update bundle

4 years agoUpdate piwik to 3.13.6
Tom Hughes [Sat, 6 Jun 2020 13:34:45 +0000 (14:34 +0100)]
Update piwik to 3.13.6

4 years agoSuppress output from blog aggregator unless it fails completely
Tom Hughes [Thu, 4 Jun 2020 10:32:20 +0000 (11:32 +0100)]
Suppress output from blog aggregator unless it fails completely

4 years agoFix cookstyle warnings
Tom Hughes [Tue, 2 Jun 2020 07:24:24 +0000 (08:24 +0100)]
Fix cookstyle warnings

4 years agoUpdate bundle
Tom Hughes [Tue, 2 Jun 2020 07:20:48 +0000 (08:20 +0100)]
Update bundle

4 years agodevice: Additional NIC ring tuning
Grant Slater [Tue, 2 Jun 2020 16:32:58 +0000 (17:32 +0100)]
device: Additional NIC ring tuning

4 years agodevice: tune BCM5721 ring
Grant Slater [Mon, 1 Jun 2020 23:45:15 +0000 (00:45 +0100)]
device: tune BCM5721 ring

4 years agodevice: tune HP NC362i ring
Grant Slater [Mon, 1 Jun 2020 23:29:36 +0000 (00:29 +0100)]
device: tune HP NC362i ring

4 years agodevice: udev NIC ring tune for Intel 82574L
Grant Slater [Mon, 1 Jun 2020 23:04:25 +0000 (00:04 +0100)]
device: udev NIC ring tune for Intel 82574L

4 years agoIncrease NIC rx/tx ring size
Grant Slater [Fri, 29 May 2020 17:03:43 +0000 (18:03 +0100)]
Increase NIC rx/tx ring size

4 years agoMake stormfly-04 a geodns server
Tom Hughes [Mon, 1 Jun 2020 09:14:07 +0000 (10:14 +0100)]
Make stormfly-04 a geodns server

4 years agoMerge pull request #308 from Firefishy/more-404-tiles
Grant [Fri, 29 May 2020 22:23:46 +0000 (23:23 +0100)]
Merge pull request #308 from Firefishy/more-404-tiles

tilecache: Add to fast 404 list common off-by-one tiles

4 years agoMerge pull request #307 from Firefishy/md-raid-tweak
Grant [Fri, 29 May 2020 22:23:34 +0000 (23:23 +0100)]
Merge pull request #307 from Firefishy/md-raid-tweak

Allow md raid to use multiple threads for RAID5 and 6

4 years agotilecache: Add to fast 404 list common off-by-one tiles
Grant Slater [Fri, 29 May 2020 17:16:55 +0000 (18:16 +0100)]
tilecache: Add to fast 404 list common off-by-one tiles

4 years agoAllow md raid to use multiple threads for RAID5 and 6
Grant Slater [Fri, 29 May 2020 17:09:09 +0000 (18:09 +0100)]
Allow md raid to use multiple threads for RAID5 and 6

4 years agoHandle interfaces with no address
Tom Hughes [Fri, 29 May 2020 16:32:50 +0000 (17:32 +0100)]
Handle interfaces with no address

4 years agoBond all the interfaces on stormfly-{03,04}
Tom Hughes [Fri, 29 May 2020 16:30:20 +0000 (17:30 +0100)]
Bond all the interfaces on stormfly-{03,04}