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

21 months 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

21 months 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`.

21 months 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

21 months 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

21 months 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.

21 months 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

21 months 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

21 months 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

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

21 months 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

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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

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

22 months 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

22 months 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

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

22 months 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

22 months 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.

22 months 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

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

22 months 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

22 months 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

22 months 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

22 months 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

22 months 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

22 months 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

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

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

22 months 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.

22 months 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

22 months 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

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

22 months 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

22 months 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

22 months 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

23 months 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

23 months 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

23 months 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

23 months 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

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

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

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

23 months 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

23 months 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

23 months 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

23 months 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

23 months 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

23 months 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

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

23 months 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

23 months 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

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

23 months 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

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

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

23 months 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

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

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

23 months 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

23 months 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

23 months 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

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

23 months 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

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

23 months 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

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

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

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

23 months 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

23 months 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").

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

23 months 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

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

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

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

23 months 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

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

23 months 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.

23 months 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

23 months 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.

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

23 months 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

23 months agoUpdate some custom resources for Chef 14 compatibility
Tom Hughes [Wed, 15 Nov 2017 22:54:49 +0000 (22:54 +0000)]
Update some custom resources for Chef 14 compatibility

23 months agoUse Foodcritic 12.2.1
Tim Smith [Wed, 15 Nov 2017 02:40:21 +0000 (18:40 -0800)]
Use Foodcritic 12.2.1

12.2.0 has a pretty nasty regression where it alerted on any resource
that had an action named :create, which was not the intention

Signed-off-by: Tim Smith <tsmith@chef.io>
23 months agoFix foodcritic warnings
Tom Hughes [Tue, 14 Nov 2017 19:44:08 +0000 (19:44 +0000)]
Fix foodcritic warnings

23 months agoFix rubocop warnings
Tom Hughes [Tue, 14 Nov 2017 19:11:00 +0000 (19:11 +0000)]
Fix rubocop warnings

23 months agoUpdate bundle
Tom Hughes [Tue, 14 Nov 2017 19:10:20 +0000 (19:10 +0000)]
Update bundle

23 months agoDeploy jekyll based stateofthemap sites on ridley
Tom Hughes [Mon, 13 Nov 2017 21:33:26 +0000 (21:33 +0000)]
Deploy jekyll based stateofthemap sites on ridley

23 months agoAdd trigger script to mail mcelog reports
Tom Hughes [Mon, 13 Nov 2017 20:18:47 +0000 (20:18 +0000)]
Add trigger script to mail mcelog reports

23 months agoAdd mcelog daemon
Grant Slater [Mon, 13 Nov 2017 15:06:35 +0000 (15:06 +0000)]
Add mcelog daemon

2 years agoCorrect URL for elasticsearch 5.x repository
Tom Hughes [Thu, 9 Nov 2017 20:03:28 +0000 (20:03 +0000)]
Correct URL for elasticsearch 5.x repository

2 years agoUpdate elasticsearch to 5.x on ridley
Tom Hughes [Thu, 9 Nov 2017 19:44:34 +0000 (19:44 +0000)]
Update elasticsearch to 5.x on ridley

2 years agoUpgrade foundation and DWG wikis to 1.29
Tom Hughes [Thu, 9 Nov 2017 19:27:50 +0000 (19:27 +0000)]
Upgrade foundation and DWG wikis to 1.29

2 years agoUpdate board wiki to 1.29
Tom Hughes [Thu, 9 Nov 2017 19:22:44 +0000 (19:22 +0000)]
Update board wiki to 1.29

2 years agoDisable sensors on vial that are reading nonsensical values
Tom Hughes [Tue, 7 Nov 2017 22:44:44 +0000 (22:44 +0000)]
Disable sensors on vial that are reading nonsensical values