]> git.openstreetmap.org Git - chef.git/log
chef.git
2 years agoAdd more depth limits to git checkouts
Tom Hughes [Fri, 21 Feb 2020 08:47:50 +0000 (08:47 +0000)]
Add more depth limits to git checkouts

2 years agoOnly uses push events on master to update the badges
Tom Hughes [Fri, 21 Feb 2020 08:44:34 +0000 (08:44 +0000)]
Only uses push events on master to update the badges

2 years agoLimit depth of worddpress extension checkout
Grant Slater [Fri, 21 Feb 2020 02:07:42 +0000 (02:07 +0000)]
Limit depth of worddpress extension checkout

2 years agoLimit depth of rails checkout
Tom Hughes [Fri, 21 Feb 2020 00:48:45 +0000 (00:48 +0000)]
Limit depth of rails checkout

2 years agoFix badge URLs
Tom Hughes [Fri, 21 Feb 2020 00:15:40 +0000 (00:15 +0000)]
Fix badge URLs

2 years agoMerge remote-tracking branch 'github/pull/272'
Tom Hughes [Fri, 21 Feb 2020 00:14:34 +0000 (00:14 +0000)]
Merge remote-tracking branch 'github/pull/272'

2 years agoSwitch to using github actions for CI tasks
Tom Hughes [Thu, 21 Nov 2019 10:00:42 +0000 (10:00 +0000)]
Switch to using github actions for CI tasks

2 years agoGit only checkout 1 deep
Grant Slater [Fri, 21 Feb 2020 00:08:37 +0000 (00:08 +0000)]
Git only checkout 1 deep

2 years agoUse https for github URLs
Tom Hughes [Thu, 20 Feb 2020 22:54:23 +0000 (22:54 +0000)]
Use https for github URLs

2 years agoAdd test for tile cookbook
Tom Hughes [Thu, 20 Feb 2020 21:47:45 +0000 (21:47 +0000)]
Add test for tile cookbook

2 years agoAdd test for supybot cookbook
Tom Hughes [Thu, 20 Feb 2020 19:13:15 +0000 (19:13 +0000)]
Add test for supybot cookbook

2 years agoAdd test for subversion cookbook
Tom Hughes [Thu, 20 Feb 2020 19:04:41 +0000 (19:04 +0000)]
Add test for subversion cookbook

2 years agoAdd test for hardware cookbook
Tom Hughes [Thu, 20 Feb 2020 18:50:50 +0000 (18:50 +0000)]
Add test for hardware cookbook

2 years agoAdd test for ftp cookbook
Tom Hughes [Thu, 20 Feb 2020 18:40:51 +0000 (18:40 +0000)]
Add test for ftp cookbook

2 years agoSwitch back to CUBIC for congestion control
Tom Hughes [Thu, 20 Feb 2020 11:10:47 +0000 (11:10 +0000)]
Switch back to CUBIC for congestion control

2 years agoRemove schema_changes from irc bot
Paul Norman [Thu, 20 Feb 2020 04:28:36 +0000 (20:28 -0800)]
Remove schema_changes from irc bot

2 years agoAdd test for trac cookbook
Tom Hughes [Wed, 19 Feb 2020 23:33:41 +0000 (23:33 +0000)]
Add test for trac cookbook

2 years agoAdd test for osqa cookbook
Tom Hughes [Wed, 19 Feb 2020 22:52:54 +0000 (22:52 +0000)]
Add test for osqa cookbook

2 years agoAdd test for gps-tile cookbook
Tom Hughes [Wed, 19 Feb 2020 22:16:43 +0000 (22:16 +0000)]
Add test for gps-tile cookbook

2 years agoFetch cookstyle warnings
Tom Hughes [Wed, 19 Feb 2020 21:46:32 +0000 (21:46 +0000)]
Fetch cookstyle warnings

2 years agoTell cookstyle to target ruby 2.5
Tom Hughes [Wed, 19 Feb 2020 21:40:21 +0000 (21:40 +0000)]
Tell cookstyle to target ruby 2.5

2 years agoUpdate bundle
Tom Hughes [Wed, 19 Feb 2020 21:39:56 +0000 (21:39 +0000)]
Update bundle

2 years agoFix mpm for tile servers
Tom Hughes [Wed, 19 Feb 2020 01:03:54 +0000 (01:03 +0000)]
Fix mpm for tile servers

2 years agoAdd test for civicrm cookbook
Tom Hughes [Tue, 18 Feb 2020 22:42:39 +0000 (22:42 +0000)]
Add test for civicrm cookbook

2 years agoAdd test for rsyncd cookbook.
Tom Hughes [Tue, 18 Feb 2020 22:16:03 +0000 (22:16 +0000)]
Add test for rsyncd cookbook.

2 years agoAdd test for taginfo cookbook
Tom Hughes [Tue, 18 Feb 2020 21:52:03 +0000 (21:52 +0000)]
Add test for taginfo cookbook

2 years agoAdd test for geodns cookbook
Tom Hughes [Tue, 18 Feb 2020 21:01:21 +0000 (21:01 +0000)]
Add test for geodns cookbook

2 years agoImprove handling of apache mpm selection
Tom Hughes [Tue, 18 Feb 2020 19:59:12 +0000 (19:59 +0000)]
Improve handling of apache mpm selection

2 years agoAdd test for piwik cookbook
Tom Hughes [Tue, 18 Feb 2020 19:10:10 +0000 (19:10 +0000)]
Add test for piwik cookbook

2 years agoAdd test for mailman cookbook
Tom Hughes [Tue, 18 Feb 2020 18:05:14 +0000 (18:05 +0000)]
Add test for mailman cookbook

2 years agoDon't try and install sitepress-multilingual-cms in test environments
Tom Hughes [Tue, 18 Feb 2020 16:17:31 +0000 (16:17 +0000)]
Don't try and install sitepress-multilingual-cms in test environments

2 years agoAdd test for switch2osm cookbook
Tom Hughes [Tue, 18 Feb 2020 15:58:02 +0000 (15:58 +0000)]
Add test for switch2osm cookbook

2 years agoAdd test for stateofthemap cookbook
Tom Hughes [Tue, 18 Feb 2020 15:46:39 +0000 (15:46 +0000)]
Add test for stateofthemap cookbook

2 years agoDisable sudo for the verifier
Tom Hughes [Tue, 18 Feb 2020 13:40:52 +0000 (13:40 +0000)]
Disable sudo for the verifier

As recommended by the kitchen-dokken instructions

2 years agoMonkey patch subversion provider to avoid failures
Tom Hughes [Tue, 18 Feb 2020 11:35:46 +0000 (11:35 +0000)]
Monkey patch subversion provider to avoid failures

https://github.com/chef/chef/issues/9373

2 years agoAdd test for blog cookbook
Tom Hughes [Tue, 18 Feb 2020 00:18:59 +0000 (00:18 +0000)]
Add test for blog cookbook

2 years agoAdd test for serverinfo cookbook
Tom Hughes [Mon, 17 Feb 2020 21:46:01 +0000 (21:46 +0000)]
Add test for serverinfo cookbook

2 years agoUse a common upstream for trogdor and takhisis
Tom Hughes [Mon, 17 Feb 2020 17:29:29 +0000 (17:29 +0000)]
Use a common upstream for trogdor and takhisis

2 years agoAdd role for takhisis
Tom Hughes [Mon, 17 Feb 2020 16:01:13 +0000 (16:01 +0000)]
Add role for takhisis

2 years agoAdd test for postgresql cookbook
Tom Hughes [Sun, 16 Feb 2020 23:06:05 +0000 (23:06 +0000)]
Add test for postgresql cookbook

2 years agoDefault to using the upstream repository for postgres
Tom Hughes [Sun, 16 Feb 2020 23:00:47 +0000 (23:00 +0000)]
Default to using the upstream repository for postgres

2 years agoUse systemd-resolved stub resolver for nginx resolver
Tom Hughes [Sun, 16 Feb 2020 17:56:27 +0000 (17:56 +0000)]
Use systemd-resolved stub resolver for nginx resolver

This ensures that nginx queries follow the same path as everything
else and are subject to DNSSEC validation as well as allowing us to
simplify the tests that use nginx.

2 years agoAdd test for tilecache cookbook
Tom Hughes [Sun, 16 Feb 2020 17:55:33 +0000 (17:55 +0000)]
Add test for tilecache cookbook

2 years agoMake tilecache cookbook enable nginx cache automatically
Tom Hughes [Sun, 16 Feb 2020 17:49:16 +0000 (17:49 +0000)]
Make tilecache cookbook enable nginx cache automatically

2 years agoMake nginx cookbook default to using the nginx upstream repository
Tom Hughes [Sun, 16 Feb 2020 17:34:43 +0000 (17:34 +0000)]
Make nginx cookbook default to using the nginx upstream repository

2 years agoMove cron customisation for tile caches to the tools cookbook
Tom Hughes [Sun, 16 Feb 2020 17:09:02 +0000 (17:09 +0000)]
Move cron customisation for tile caches to the tools cookbook

2 years agoAdd tests for web cookbook
Tom Hughes [Sun, 16 Feb 2020 15:37:45 +0000 (15:37 +0000)]
Add tests for web cookbook

2 years agoAdd test for geoipupdate cookbook
Tom Hughes [Sun, 16 Feb 2020 11:31:49 +0000 (11:31 +0000)]
Add test for geoipupdate cookbook

2 years agoAdd test for passenger cookbook
Tom Hughes [Sun, 16 Feb 2020 10:29:04 +0000 (10:29 +0000)]
Add test for passenger cookbook

2 years agoMerge pull request #269 from Firefishy/blogs-use-bundle-deployment
Grant [Sun, 16 Feb 2020 01:06:20 +0000 (01:06 +0000)]
Merge pull request #269 from Firefishy/blogs-use-bundle-deployment

blogs: use bundle install deployment over global

2 years agoblogs: run bundle install as blogs user
Grant Slater [Sun, 16 Feb 2020 00:06:18 +0000 (00:06 +0000)]
blogs: run bundle install as blogs user

2 years agoRemove redundant sudo key and specify os in travis config
Tom Hughes [Sun, 16 Feb 2020 00:04:35 +0000 (00:04 +0000)]
Remove redundant sudo key and specify os in travis config

2 years agoblogs: use bundle install deployment over global
Grant Slater [Sat, 15 Feb 2020 23:43:08 +0000 (23:43 +0000)]
blogs: use bundle install deployment over global

Switch to using safe `bundle install --deployment` instead of
global install, which may conflict with other dependencies.

2 years agoMerge pull request #268 from Firefishy/update-travis-ci-version
Grant [Sat, 15 Feb 2020 23:01:29 +0000 (23:01 +0000)]
Merge pull request #268 from Firefishy/update-travis-ci-version

Update travis ci version

2 years agoMerge pull request #267 from Firefishy/apt-source-disable
Grant [Sat, 15 Feb 2020 22:41:31 +0000 (22:41 +0000)]
Merge pull request #267 from Firefishy/apt-source-disable

apt: Disable used apt-src per Ubuntu 18.04 default

2 years agoUse Ubuntu Bionic for travis-ci
Grant Slater [Sat, 15 Feb 2020 22:27:59 +0000 (22:27 +0000)]
Use Ubuntu Bionic for travis-ci

2 years agoUpdate CI ruby version to 2.5.7
Grant Slater [Sat, 15 Feb 2020 22:26:59 +0000 (22:26 +0000)]
Update CI ruby version to 2.5.7

2 years agoapt: Disable used apt-src per Ubuntu 18.04 default
Grant Slater [Sat, 15 Feb 2020 21:58:27 +0000 (21:58 +0000)]
apt: Disable used apt-src per Ubuntu 18.04 default

2 years agoRevert accidental change
Tom Hughes [Sat, 15 Feb 2020 19:19:51 +0000 (19:19 +0000)]
Revert accidental change

2 years agoOnly cleanup sysctl keys that are no longer set
Tom Hughes [Sat, 15 Feb 2020 18:36:23 +0000 (18:36 +0000)]
Only cleanup sysctl keys that are no longer set

2 years agoSplit out default munin plugin installation to a new recipe
Tom Hughes [Sat, 15 Feb 2020 17:24:57 +0000 (17:24 +0000)]
Split out default munin plugin installation to a new recipe

Having split them out make sure the default recipe is included
anywhere a munin_plugin resource is used, to ensure that munin
is installed and make coupling explicit.

2 years agoQuiet HP DL360 G6 fan speed car alarm
Grant Slater [Sat, 15 Feb 2020 17:11:58 +0000 (17:11 +0000)]
Quiet HP DL360 G6 fan speed car alarm

2 years agoReduce implicit coupling between cookbooks
Tom Hughes [Sat, 15 Feb 2020 16:56:35 +0000 (16:56 +0000)]
Reduce implicit coupling between cookbooks

2 years agoAdd tests for planet cookbook
Tom Hughes [Sat, 15 Feb 2020 14:52:12 +0000 (14:52 +0000)]
Add tests for planet cookbook

2 years agoAdd test for osmosis cookbook
Tom Hughes [Sat, 15 Feb 2020 12:33:21 +0000 (12:33 +0000)]
Add test for osmosis cookbook

2 years agoAdd test for incron cookbook
Tom Hughes [Sat, 15 Feb 2020 12:28:21 +0000 (12:28 +0000)]
Add test for incron cookbook

2 years agoFix package dependencies in planet cookbook
Tom Hughes [Sat, 15 Feb 2020 12:05:56 +0000 (12:05 +0000)]
Fix package dependencies in planet cookbook

2 years agoResync exim config with upstream default
Tom Hughes [Sat, 15 Feb 2020 11:29:35 +0000 (11:29 +0000)]
Resync exim config with upstream default

2 years agoAdd geodns map for nominatim
Tom Hughes [Fri, 14 Feb 2020 22:55:21 +0000 (22:55 +0000)]
Add geodns map for nominatim

2 years agoUpdate dnscontrol to 2.11 release
Tom Hughes [Fri, 14 Feb 2020 22:18:08 +0000 (22:18 +0000)]
Update dnscontrol to 2.11 release

2 years agoAdd test for squid cookbook
Tom Hughes [Fri, 14 Feb 2020 20:09:02 +0000 (20:09 +0000)]
Add test for squid cookbook

2 years agoAdd test for nginx cookbook
Tom Hughes [Fri, 14 Feb 2020 20:00:39 +0000 (20:00 +0000)]
Add test for nginx cookbook

2 years agoAdd test for nodejs cookbook
Tom Hughes [Fri, 14 Feb 2020 19:36:59 +0000 (19:36 +0000)]
Add test for nodejs cookbook

2 years agoExpect munin to use an IPv6 socket
Tom Hughes [Fri, 14 Feb 2020 18:45:35 +0000 (18:45 +0000)]
Expect munin to use an IPv6 socket

2 years agoAdd test for memcached cookbook
Tom Hughes [Fri, 14 Feb 2020 16:44:32 +0000 (16:44 +0000)]
Add test for memcached cookbook

2 years agoAdd test for openssh cookbook
Tom Hughes [Fri, 14 Feb 2020 16:33:49 +0000 (16:33 +0000)]
Add test for openssh cookbook

2 years agoAdd test for fail2ban cookbook
Tom Hughes [Fri, 14 Feb 2020 16:30:14 +0000 (16:30 +0000)]
Add test for fail2ban cookbook

2 years agoMake fail2ban use the journal to monitor sshd
Tom Hughes [Fri, 14 Feb 2020 16:29:49 +0000 (16:29 +0000)]
Make fail2ban use the journal to monitor sshd

2 years agoAdd test for donate cookbook
Tom Hughes [Fri, 14 Feb 2020 16:06:16 +0000 (16:06 +0000)]
Add test for donate cookbook

2 years agoAdd test for dmca cookbook
Tom Hughes [Fri, 14 Feb 2020 15:42:01 +0000 (15:42 +0000)]
Add test for dmca cookbook

2 years agoCheck that servers are listening on the right protocols
Tom Hughes [Fri, 14 Feb 2020 14:46:10 +0000 (14:46 +0000)]
Check that servers are listening on the right protocols

2 years agoAdd test for dhcpd cookbook
Tom Hughes [Fri, 14 Feb 2020 14:36:18 +0000 (14:36 +0000)]
Add test for dhcpd cookbook

2 years agoAdd test for devices cookbook
Tom Hughes [Fri, 14 Feb 2020 14:35:40 +0000 (14:35 +0000)]
Add test for devices cookbook

2 years agoImprove check for whether to run freshclam
Tom Hughes [Thu, 13 Feb 2020 22:54:31 +0000 (22:54 +0000)]
Improve check for whether to run freshclam

2 years agoAdd basic tests for clamav, exim and spamassassin cookbooks
Tom Hughes [Thu, 13 Feb 2020 22:39:44 +0000 (22:39 +0000)]
Add basic tests for clamav, exim and spamassassin cookbooks

2 years agoAdd basic test for the ntp cookbook
Tom Hughes [Thu, 13 Feb 2020 21:53:11 +0000 (21:53 +0000)]
Add basic test for the ntp cookbook

2 years agoRemove unused file that existed for kitchen-vagrant support
Tom Hughes [Thu, 13 Feb 2020 21:44:52 +0000 (21:44 +0000)]
Remove unused file that existed for kitchen-vagrant support

2 years agoRemove any sysctl settings which are no longer required
Tom Hughes [Thu, 13 Feb 2020 19:54:09 +0000 (19:54 +0000)]
Remove any sysctl settings which are no longer required

2 years agoDisable sysctl comments for now
Tom Hughes [Thu, 13 Feb 2020 19:22:52 +0000 (19:22 +0000)]
Disable sysctl comments for now

This requires chef 15.x as the client...

2 years agoUse the sysctl resource to manage sysctl settings
Tom Hughes [Thu, 13 Feb 2020 19:21:40 +0000 (19:21 +0000)]
Use the sysctl resource to manage sysctl settings

2 years agoFix some cookstyle warnings
Tom Hughes [Thu, 13 Feb 2020 19:16:10 +0000 (19:16 +0000)]
Fix some cookstyle warnings

2 years agoUpdate bundle
Tom Hughes [Thu, 13 Feb 2020 19:13:42 +0000 (19:13 +0000)]
Update bundle

2 years agoEnable remaining test-kitchen suites in travis
Tom Hughes [Wed, 12 Feb 2020 23:06:15 +0000 (23:06 +0000)]
Enable remaining test-kitchen suites in travis

2 years agoDrop kitchen-vagrant and make kitchen-dokken the only test driver
Tom Hughes [Wed, 12 Feb 2020 23:04:21 +0000 (23:04 +0000)]
Drop kitchen-vagrant and make kitchen-dokken the only test driver

2 years agoSplit Travis script into separate jobs and add apt cookbook test
Michal Migurski [Mon, 3 Feb 2020 00:49:33 +0000 (16:49 -0800)]
Split Travis script into separate jobs and add apt cookbook test

With kitchen-dokken in place, travis should now successfully run
both the cookstyle script and individual kitchen tests as separate
matrix builds.

Matrix builds will run in parallel, and the global Travis 50min limit
should apply to each separately ensuring that all cookbooks get tested.

https://docs.travis-ci.com/user/build-matrix/

2 years agoAdd kitchen-dokken as a new provider in the kitchen configuration
Jamie Alessio [Sun, 9 Feb 2020 18:44:44 +0000 (18:44 +0000)]
Add kitchen-dokken as a new provider in the kitchen configuration

2 years agoAdjust tests to expect that SSL is enabled by default
Tom Hughes [Wed, 12 Feb 2020 21:18:39 +0000 (21:18 +0000)]
Adjust tests to expect that SSL is enabled by default

2 years agoAllow retrying of apache service actions
Tom Hughes [Tue, 11 Feb 2020 22:57:35 +0000 (22:57 +0000)]
Allow retrying of apache service actions

There seems to be an issue with the otrs cookbook when deployed
on a new machine where it tries to both restart and also reload
apache and the reload sometime fails because it seems to happen
before the restart has completed.

It's possible this is because the use of mod_perl for otrs is
slowing down the restart but as a workaround we allow the reload
action to be retried a couple of times.

2 years agoMake sure the Passwd ohai plugin is enabled
Tom Hughes [Wed, 12 Feb 2020 19:04:35 +0000 (19:04 +0000)]
Make sure the Passwd ohai plugin is enabled

This plugin becomes optional in chef 15 so make sure it is
enabled, and cope during the first pass on a new node when
it is not enabled yet.

2 years agoMake sure the bind.clients attribute is set when testing
Tom Hughes [Tue, 11 Feb 2020 22:23:27 +0000 (22:23 +0000)]
Make sure the bind.clients attribute is set when testing