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

2 years 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

2 years 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

2 years 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

2 years agoRevert "Adjust CPU temperature warning thresholds for vial"
Tom Hughes [Tue, 7 Nov 2017 19:42:40 +0000 (19:42 +0000)]
Revert "Adjust CPU temperature warning thresholds for vial"

This reverts commit 134c83afbfbb9a41ad96999b9ad62dc927a3ad37.

2 years agoDisable unconnected sensors on vial
Tom Hughes [Tue, 7 Nov 2017 19:38:44 +0000 (19:38 +0000)]
Disable unconnected sensors on vial

2 years agoAllow access to nagios remote plugins on nepomuk
Tom Hughes [Mon, 6 Nov 2017 19:22:36 +0000 (19:22 +0000)]
Allow access to nagios remote plugins on nepomuk

2 years agoUpdate network interface name for nepomuk
Tom Hughes [Thu, 2 Nov 2017 21:04:21 +0000 (21:04 +0000)]
Update network interface name for nepomuk

2 years agoRemove old addresses from nepomuk
Tom Hughes [Thu, 2 Nov 2017 19:00:59 +0000 (19:00 +0000)]
Remove old addresses from nepomuk

2 years agoAdd new addresses for nepomuk
Tom Hughes [Tue, 31 Oct 2017 10:36:24 +0000 (10:36 +0000)]
Add new addresses for nepomuk

2 years agoremove fail2ban rules for nominatim
Sarah Hoffmann [Thu, 26 Oct 2017 14:32:34 +0000 (16:32 +0200)]
remove fail2ban rules for nominatim

fail2ban is simply too slow to handle our amount
of traffic.

2 years agorevert all fpm pool settings for dulcy
Sarah Hoffmann [Thu, 26 Oct 2017 09:46:21 +0000 (11:46 +0200)]
revert all fpm pool settings for dulcy

2 years agoRevert "tilecache: remove fallback caches as peers"
Grant Slater [Thu, 26 Oct 2017 01:19:53 +0000 (02:19 +0100)]
Revert "tilecache: remove fallback caches as peers"

This reverts commit 9457cdd43375bbe2493fe838739227851ac084c1.

2 years agodulcy: reduce fpm pool sizes a bit
Sarah Hoffmann [Wed, 25 Oct 2017 19:47:42 +0000 (21:47 +0200)]
dulcy: reduce fpm pool sizes a bit

2 years agoTune new disks in karm and eddie
Tom Hughes [Tue, 24 Oct 2017 20:14:14 +0000 (21:14 +0100)]
Tune new disks in karm and eddie

2 years agoRemove hpssacli with ssacli
Tom Hughes [Tue, 24 Oct 2017 14:39:44 +0000 (15:39 +0100)]
Remove hpssacli with ssacli

2 years agoRemove forced downgrade of hp-health
Tom Hughes [Tue, 24 Oct 2017 13:52:07 +0000 (14:52 +0100)]
Remove forced downgrade of hp-health

2 years agoTune WDC RE3/RE4 disks with poor NCQ
Grant Slater [Mon, 23 Oct 2017 17:33:58 +0000 (18:33 +0100)]
Tune WDC RE3/RE4 disks with poor NCQ

2 years agoLower squid memory on komodo
Grant Slater [Mon, 23 Oct 2017 17:32:10 +0000 (18:32 +0100)]
Lower squid memory on komodo

2 years agotilecache: remove fallback caches as peers
Grant Slater [Mon, 23 Oct 2017 17:31:40 +0000 (18:31 +0100)]
tilecache: remove fallback caches as peers

2 years agoLoad nct6775 sensor module on vial
Tom Hughes [Fri, 20 Oct 2017 20:27:02 +0000 (21:27 +0100)]
Load nct6775 sensor module on vial

2 years agoUpdate carto stylesheet to v4.4.0
Tom Hughes [Fri, 20 Oct 2017 18:22:15 +0000 (19:22 +0100)]
Update carto stylesheet to v4.4.0

Closes #131

2 years agoInstall Noto Sans Arabic UI from github if necessary
Tom Hughes [Fri, 20 Oct 2017 18:05:45 +0000 (19:05 +0100)]
Install Noto Sans Arabic UI from github if necessary

2 years agoFix backup sync
Tom Hughes [Fri, 20 Oct 2017 17:34:02 +0000 (18:34 +0100)]
Fix backup sync

2 years agoSend output from the database script to admins
Tom Hughes [Fri, 20 Oct 2017 17:29:39 +0000 (18:29 +0100)]
Send output from the database script to admins

2 years agoincrease fpm pool sizes on dulcy
Sarah Hoffmann [Thu, 19 Oct 2017 20:09:48 +0000 (22:09 +0200)]
increase fpm pool sizes on dulcy

2 years agoMake g5team an admin on G5 Solutions machines
Tom Hughes [Wed, 18 Oct 2017 21:42:46 +0000 (22:42 +0100)]
Make g5team an admin on G5 Solutions machines

2 years agoAdjust cache size for komodo
Tom Hughes [Wed, 18 Oct 2017 10:21:44 +0000 (11:21 +0100)]
Adjust cache size for komodo

2 years agoDrop rails50 dev site
Tom Hughes [Tue, 17 Oct 2017 18:00:45 +0000 (19:00 +0100)]
Drop rails50 dev site

2 years agoAdd role for komodo
Tom Hughes [Tue, 17 Oct 2017 11:19:28 +0000 (12:19 +0100)]
Add role for komodo

2 years agoTune bonding on odin
Tom Hughes [Mon, 16 Oct 2017 17:45:09 +0000 (18:45 +0100)]
Tune bonding on odin

2 years agoEnable network bonding on odin
Tom Hughes [Mon, 16 Oct 2017 17:36:06 +0000 (18:36 +0100)]
Enable network bonding on odin

2 years agoUpdate piwik to 3.2.0
Tom Hughes [Fri, 13 Oct 2017 19:45:40 +0000 (20:45 +0100)]
Update piwik to 3.2.0

2 years agoSwitch postgres replication to use WAL-E
Tom Hughes [Wed, 11 Oct 2017 17:53:25 +0000 (18:53 +0100)]
Switch postgres replication to use WAL-E

2 years agoCreate common base role for tiamat nodes
Tom Hughes [Wed, 11 Oct 2017 08:52:26 +0000 (09:52 +0100)]
Create common base role for tiamat nodes

2 years agoAdd infrastructure for using WAL-E
Tom Hughes [Tue, 10 Oct 2017 19:43:46 +0000 (20:43 +0100)]
Add infrastructure for using WAL-E

2 years agoOnly sync the database backup if pg_dump succeeds
Tom Hughes [Mon, 9 Oct 2017 23:50:25 +0000 (00:50 +0100)]
Only sync the database backup if pg_dump succeeds