mirror/dsa-puppet.git
6 years agoMerge branch 'master' of git+ssh://git2.debian.org/dsa/dsa-puppet
Martin Zobel-Helas [Thu, 1 Feb 2018 18:07:08 +0000 (19:07 +0100)]
Merge branch 'master' of git+ssh://git2.debian.org/dsa/dsa-puppet

6 years agoremove busoni
Martin Zobel-Helas [Thu, 1 Feb 2018 18:06:39 +0000 (19:06 +0100)]
remove busoni

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
6 years agoImport cron entries from dsa-nagios-check package
Aurelien Jarno [Thu, 1 Feb 2018 17:45:09 +0000 (18:45 +0100)]
Import cron entries from dsa-nagios-check package

Also randomize dsa-update-apt-status and dsa-update-samhain-status
calls.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoUse the right path to health checks on security hosts
Tollef Fog Heen [Thu, 1 Feb 2018 17:34:18 +0000 (18:34 +0100)]
Use the right path to health checks on security hosts

6 years agoDecommission ubc-bl*.debian.org
Aurelien Jarno [Thu, 1 Feb 2018 16:44:28 +0000 (17:44 +0100)]
Decommission ubc-bl*.debian.org

Luca will make sure that they won't come back.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoPublish security mirror health on _health
Tollef Fog Heen [Thu, 1 Feb 2018 16:41:28 +0000 (17:41 +0100)]
Publish security mirror health on _health

6 years agoFix hiera function call syntax
Tollef Fog Heen [Thu, 1 Feb 2018 16:39:10 +0000 (17:39 +0100)]
Fix hiera function call syntax

6 years agoStart setting up mirror health checking for security too
Tollef Fog Heen [Thu, 1 Feb 2018 16:35:02 +0000 (17:35 +0100)]
Start setting up mirror health checking for security too

6 years agoCut down a tiny bit on exim config distributed everywhere
Tollef Fog Heen [Thu, 1 Feb 2018 16:34:32 +0000 (17:34 +0100)]
Cut down a tiny bit on exim config distributed everywhere

6 years agoRemove obsolete block
Tollef Fog Heen [Thu, 1 Feb 2018 16:05:49 +0000 (17:05 +0100)]
Remove obsolete block

6 years agoTry harder at handling connection timeouts for mirror-health
Tollef Fog Heen [Thu, 1 Feb 2018 13:31:41 +0000 (14:31 +0100)]
Try harder at handling connection timeouts for mirror-health

6 years agofasolo, klecker: blacklist acpi power meter. rt#6974
Héctor Orón Martínez [Sat, 25 Nov 2017 11:13:03 +0000 (12:13 +0100)]
fasolo, klecker: blacklist acpi power meter. rt#6974

workaround dmesg noisy errors, which are safe to ignore:
```
[3723410.864219] ACPI Error: SMBus/IPMI/GenericSerialBus write requires Buffer of length 66, found length 32 (20160831/exfield-427)
[3723410.890212] ACPI Error: Method parse/execution failed [\_SB.PMI0._PMM] (Node ffffa0e2fe877280), AE_AML_BUFFER_LIMIT (20160831/psparse-543)
[3723410.920171] ACPI Exception: AE_AML_BUFFER_LIMIT, Evaluating _PMM (20160831/power_meter-338)
```

Signed-off-by: Héctor Orón Martínez <zumbi@debian.org>
6 years agosystemd: do not reload journald
Héctor Orón Martínez [Wed, 31 Jan 2018 16:55:53 +0000 (17:55 +0100)]
systemd: do not reload journald

systemd journal needs a reboot upon configuration refresh

Signed-off-by: Héctor Orón Martínez <zumbi@debian.org>
6 years agogodard: enable persistent journald storage. rt#7049
Héctor Orón Martínez [Wed, 31 Jan 2018 15:16:13 +0000 (16:16 +0100)]
godard: enable persistent journald storage. rt#7049

Signed-off-by: Héctor Orón Martínez <zumbi@debian.org>
6 years agowafer: only ask for client certs on the login page
Julien Cristau [Wed, 31 Jan 2018 08:06:08 +0000 (09:06 +0100)]
wafer: only ask for client certs on the login page

6 years agoDjango sites rely on Referrer headers for XSS protection
Paul Wise [Tue, 30 Jan 2018 12:52:44 +0000 (20:52 +0800)]
Django sites rely on Referrer headers for XSS protection

6 years agowafer wants to be able to write its log, make it run with the debconf-web gid
Julien Cristau [Tue, 30 Jan 2018 10:25:17 +0000 (11:25 +0100)]
wafer wants to be able to write its log, make it run with the debconf-web gid

6 years agowafer config uses expires apache module
Julien Cristau [Tue, 30 Jan 2018 10:14:11 +0000 (11:14 +0100)]
wafer config uses expires apache module

6 years agodebussy wants sso_rp for wafer
Julien Cristau [Tue, 30 Jan 2018 10:11:15 +0000 (11:11 +0100)]
debussy wants sso_rp for wafer

6 years agofixup debconf_wafer role
Julien Cristau [Tue, 30 Jan 2018 10:08:57 +0000 (11:08 +0100)]
fixup debconf_wafer role

6 years agoapache config for wafertest.debconf.org
Julien Cristau [Tue, 30 Jan 2018 10:05:55 +0000 (11:05 +0100)]
apache config for wafertest.debconf.org

6 years agoUse a specific IP address for pages.d.n's vhost
Julien Cristau [Tue, 30 Jan 2018 08:52:17 +0000 (09:52 +0100)]
Use a specific IP address for pages.d.n's vhost

6 years agoAdd debussy to the insecure_ssl role
Julien Cristau [Mon, 29 Jan 2018 14:55:58 +0000 (15:55 +0100)]
Add debussy to the insecure_ssl role

It wants to use nodejs, and the nodejs package hardcodes
/etc/ssl/certs/ca-certificates.crt (wtf?)

6 years agofix pages port once more
Peter Palfrader [Thu, 25 Jan 2018 21:53:42 +0000 (22:53 +0100)]
fix pages port once more

6 years agofix port for pages
Peter Palfrader [Thu, 25 Jan 2018 21:46:29 +0000 (22:46 +0100)]
fix port for pages

6 years agossl cert for pages.debian.net
Peter Palfrader [Thu, 25 Jan 2018 21:44:48 +0000 (22:44 +0100)]
ssl cert for pages.debian.net

6 years agodo proxypass for pages
Peter Palfrader [Thu, 25 Jan 2018 21:40:42 +0000 (22:40 +0100)]
do proxypass for pages

6 years agoSSL for pages.debian.org
Peter Palfrader [Thu, 25 Jan 2018 21:21:56 +0000 (22:21 +0100)]
SSL for pages.debian.org

6 years agoProxyPass everything so we can set nocanon (re: RT#7057)
Peter Palfrader [Thu, 25 Jan 2018 20:49:40 +0000 (21:49 +0100)]
ProxyPass everything so we can set nocanon (re: RT#7057)

6 years agochange redirections about policy manual to 302, since a change back to the multi...
Laura Arjona Reina [Tue, 16 Jan 2018 15:54:52 +0000 (16:54 +0100)]
change redirections about policy manual to 302, since a change back to the multi-page format is under consideration

RT#7058

Signed-off-by: Julien Cristau <jcristau@debian.org>
6 years ago79.124.75.18 sends us hotel booking spam
Peter Palfrader [Tue, 23 Jan 2018 09:08:22 +0000 (10:08 +0100)]
79.124.75.18 sends us hotel booking spam

6 years agoupdate recursors for grnet
Peter Palfrader [Tue, 16 Jan 2018 11:51:53 +0000 (12:51 +0100)]
update recursors for grnet

6 years agoDecommission asachi, arm-linaro-01 and arm-linaro-03 (RT#6895)
Aurelien Jarno [Mon, 15 Jan 2018 20:49:00 +0000 (21:49 +0100)]
Decommission asachi, arm-linaro-01 and arm-linaro-03 (RT#6895)

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agouse ttyS1 for the kernel console on fasolo
Peter Palfrader [Wed, 10 Jan 2018 21:48:42 +0000 (22:48 +0100)]
use ttyS1 for the kernel console on fasolo

6 years agoTry to get ipsec between storace and fasolo
Peter Palfrader [Wed, 10 Jan 2018 21:43:01 +0000 (22:43 +0100)]
Try to get ipsec between storace and fasolo

6 years agoAnd ensure wsgi module gets loaded
Peter Palfrader [Wed, 10 Jan 2018 17:15:48 +0000 (18:15 +0100)]
And ensure wsgi module gets loaded

6 years agoSwitch debtags to wsgi python3
Peter Palfrader [Wed, 10 Jan 2018 17:13:32 +0000 (18:13 +0100)]
Switch debtags to wsgi python3

6 years agolower heartbeat intervals
Peter Palfrader [Tue, 9 Jan 2018 06:15:09 +0000 (07:15 +0100)]
lower heartbeat intervals

6 years agoSet Heartbeat Interval in the Director resource instead of each client's Client resource
Peter Palfrader [Tue, 9 Jan 2018 06:14:06 +0000 (07:14 +0100)]
Set Heartbeat Interval in the Director resource instead of each client's Client resource

6 years agoonly manage grub if we have it
Peter Palfrader [Mon, 8 Jan 2018 10:49:08 +0000 (11:49 +0100)]
only manage grub if we have it

6 years agosamhain ignore /etc/quagga/bgpd.conf and /etc/quagga/zebra.conf
Peter Palfrader [Mon, 8 Jan 2018 09:55:56 +0000 (10:55 +0100)]
samhain ignore /etc/quagga/bgpd.conf and /etc/quagga/zebra.conf

6 years agoAdd zebra and bgpd facters
Peter Palfrader [Mon, 8 Jan 2018 09:52:41 +0000 (10:52 +0100)]
Add zebra and bgpd facters

6 years agoFix a typo in previous commit
Aurelien Jarno [Sun, 7 Jan 2018 19:22:13 +0000 (20:22 +0100)]
Fix a typo in previous commit

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoAlways enable page table isolation on stretch/amd64
Aurelien Jarno [Sun, 7 Jan 2018 19:19:11 +0000 (20:19 +0100)]
Always enable page table isolation on stretch/amd64

It is disabled by default on AMD, however enabling it provide more
hardening.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoThis sudo is no longer needed
Peter Palfrader [Sat, 6 Jan 2018 20:17:51 +0000 (21:17 +0100)]
This sudo is no longer needed

6 years agoAdd the pre-commit hook from handel into the repo, so it is easier to use
Peter Palfrader [Sat, 6 Jan 2018 13:41:58 +0000 (14:41 +0100)]
Add the pre-commit hook from handel into the repo, so it is easier to use

6 years agoAllow adayevskaya to ssh trigger puppetmaster/handel
Peter Palfrader [Sat, 6 Jan 2018 13:13:04 +0000 (14:13 +0100)]
Allow adayevskaya to ssh trigger puppetmaster/handel

6 years agoremove obsolete entry from .gitignore
Peter Palfrader [Sat, 6 Jan 2018 13:10:39 +0000 (14:10 +0100)]
remove obsolete entry from .gitignore

6 years agoFix ProxyPassReverse
Peter Palfrader [Fri, 5 Jan 2018 16:59:00 +0000 (17:59 +0100)]
Fix ProxyPassReverse

6 years agoDo the same for the git user
Peter Palfrader [Fri, 5 Jan 2018 16:57:53 +0000 (17:57 +0100)]
Do the same for the git user

6 years agoFix linger setup to use variable
Peter Palfrader [Fri, 5 Jan 2018 16:57:19 +0000 (17:57 +0100)]
Fix linger setup to use variable

6 years agoAdd webhook things for Ganneff based on his patch
Peter Palfrader [Fri, 5 Jan 2018 16:55:51 +0000 (17:55 +0100)]
Add webhook things for Ganneff based on his patch

6 years agolet sallinen read sibelius backups
Peter Palfrader [Thu, 4 Jan 2018 15:05:42 +0000 (16:05 +0100)]
let sallinen read sibelius backups

6 years agoadd sallinen to pg server group
Peter Palfrader [Thu, 4 Jan 2018 15:02:27 +0000 (16:02 +0100)]
add sallinen to pg server group

6 years agogive sallinen pg access to sibelius
Peter Palfrader [Thu, 4 Jan 2018 14:55:11 +0000 (15:55 +0100)]
give sallinen pg access to sibelius

6 years agoRedirect linux security updates to security-cdn on all mirrors
Julien Cristau [Thu, 4 Jan 2018 10:44:15 +0000 (11:44 +0100)]
Redirect linux security updates to security-cdn on all mirrors

Expecting an update for KPTI.

6 years agoAnd a homedir for the webhook user
Peter Palfrader [Thu, 4 Jan 2018 10:04:32 +0000 (11:04 +0100)]
And a homedir for the webhook user

6 years agogive gitdoadm sudo to salsa-webhook
Peter Palfrader [Thu, 4 Jan 2018 10:00:58 +0000 (11:00 +0100)]
give gitdoadm sudo to salsa-webhook

6 years agoDo the linux redirect to security-cdn dance on setoguchi
Julien Cristau [Wed, 3 Jan 2018 17:16:25 +0000 (18:16 +0100)]
Do the linux redirect to security-cdn dance on setoguchi

6 years agoTwo more packages for salsa
Julien Cristau [Wed, 3 Jan 2018 16:31:25 +0000 (17:31 +0100)]
Two more packages for salsa

Requested by Joerg in <878tdfpbyw.fsf@delenn.ganneff.de>

Signed-off-by: Julien Cristau <jcristau@debian.org>
6 years agoTweak shell quoting per weasel's suggestion
Julien Cristau [Wed, 3 Jan 2018 11:46:04 +0000 (12:46 +0100)]
Tweak shell quoting per weasel's suggestion

6 years agoDelete temp dir in update-fastly-ips script
Julien Cristau [Wed, 3 Jan 2018 11:36:53 +0000 (12:36 +0100)]
Delete temp dir in update-fastly-ips script

6 years agoUse separate static component for planet.d.n vhost (rt#7018)
Julien Cristau [Sun, 31 Dec 2017 12:50:37 +0000 (13:50 +0100)]
Use separate static component for planet.d.n vhost (rt#7018)

6 years agoAdd planet.d.n static component (rt#7018)
Julien Cristau [Sun, 31 Dec 2017 12:34:54 +0000 (13:34 +0100)]
Add planet.d.n static component (rt#7018)

6 years agoAdd redirections for the Debian Policy manual (now in single page)
Laura Arjona Reina [Fri, 22 Dec 2017 20:57:33 +0000 (21:57 +0100)]
Add redirections for the Debian Policy manual (now in single page)

Signed-off-by: Julien Cristau <jcristau@debian.org>
6 years agomerge nagios-wraps crontab into dsa-puppet-stuff
Peter Palfrader [Mon, 25 Dec 2017 12:28:34 +0000 (13:28 +0100)]
merge nagios-wraps crontab into dsa-puppet-stuff

6 years agomove absent cron.d files to one-line statements to make grepping easier
Peter Palfrader [Mon, 25 Dec 2017 12:23:51 +0000 (13:23 +0100)]
move absent cron.d files to one-line statements to make grepping easier

6 years agofix weblog provider fragement
Peter Palfrader [Mon, 25 Dec 2017 12:21:31 +0000 (13:21 +0100)]
fix weblog provider fragement

6 years agoMove crontab weblog-provider into dsa-puppet-stuff
Peter Palfrader [Mon, 25 Dec 2017 12:20:49 +0000 (13:20 +0100)]
Move crontab weblog-provider into dsa-puppet-stuff

6 years agoMove crontab static-mirror into dsa-puppet-stuff
Peter Palfrader [Mon, 25 Dec 2017 12:19:06 +0000 (13:19 +0100)]
Move crontab static-mirror into dsa-puppet-stuff

6 years agoMove crontab pg base backup into dsa-puppet-stuff
Peter Palfrader [Mon, 25 Dec 2017 12:17:35 +0000 (13:17 +0100)]
Move crontab pg base backup into dsa-puppet-stuff

6 years agoMove crontab dchroot update into dsa-puppet-stuff
Peter Palfrader [Mon, 25 Dec 2017 12:15:35 +0000 (13:15 +0100)]
Move crontab dchroot update into dsa-puppet-stuff

6 years agoMove crontab geodns boot into dsa-puppet-stuff
Peter Palfrader [Mon, 25 Dec 2017 12:14:33 +0000 (13:14 +0100)]
Move crontab geodns boot into dsa-puppet-stuff

6 years agoMove crontab crazy multipath into dsa-puppet-stuff
Peter Palfrader [Mon, 25 Dec 2017 12:12:06 +0000 (13:12 +0100)]
Move crontab crazy multipath into dsa-puppet-stuff

6 years agoMove crontab exim virtualdomains into dsa-puppet-stuff
Peter Palfrader [Mon, 25 Dec 2017 12:10:47 +0000 (13:10 +0100)]
Move crontab exim virtualdomains into dsa-puppet-stuff

6 years agoremove stray punctuation
Peter Palfrader [Mon, 25 Dec 2017 12:09:56 +0000 (13:09 +0100)]
remove stray punctuation

6 years agoMove crontab buildd into dsa-puppet-stuff
Peter Palfrader [Mon, 25 Dec 2017 11:15:53 +0000 (12:15 +0100)]
Move crontab buildd into dsa-puppet-stuff

6 years agoMove crontab bacula-storage into dsa-puppet-stuff
Peter Palfrader [Mon, 25 Dec 2017 11:12:31 +0000 (12:12 +0100)]
Move crontab bacula-storage into dsa-puppet-stuff

6 years agoMove crontab bacula-director into dsa-puppet-stuff
Peter Palfrader [Mon, 25 Dec 2017 11:11:02 +0000 (12:11 +0100)]
Move crontab bacula-director into dsa-puppet-stuff

6 years agoMove puppet-export-scheduled-shutdown into dsa-puppet-stuff
Peter Palfrader [Mon, 25 Dec 2017 11:08:57 +0000 (12:08 +0100)]
Move puppet-export-scheduled-shutdown into dsa-puppet-stuff

6 years agomove cron.d/puppet-update-fastly-ips into dsa-puppet-stuff
Peter Palfrader [Mon, 25 Dec 2017 11:01:00 +0000 (12:01 +0100)]
move cron.d/puppet-update-fastly-ips into dsa-puppet-stuff

6 years agoset MAILTO=root in dsa-puppet-stuff header
Peter Palfrader [Mon, 25 Dec 2017 10:58:09 +0000 (11:58 +0100)]
set MAILTO=root in dsa-puppet-stuff header

6 years agomove munin-master crontab to dsa-puppet-stuff
Peter Palfrader [Mon, 25 Dec 2017 10:56:07 +0000 (11:56 +0100)]
move munin-master crontab to dsa-puppet-stuff

6 years agorestart hp-health on bm-bl* if needed
Peter Palfrader [Mon, 25 Dec 2017 10:51:09 +0000 (11:51 +0100)]
restart hp-health on bm-bl* if needed

6 years agore-add lost cronjob line
Peter Palfrader [Mon, 25 Dec 2017 10:46:37 +0000 (11:46 +0100)]
re-add lost cronjob line

6 years agoMake dsa-puppet-stuff a concat
Peter Palfrader [Mon, 25 Dec 2017 10:44:47 +0000 (11:44 +0100)]
Make dsa-puppet-stuff a concat

6 years agobacula-unlink-removed-volumes: do not remove .nobackup files
Peter Palfrader [Sun, 24 Dec 2017 14:27:12 +0000 (15:27 +0100)]
bacula-unlink-removed-volumes: do not remove .nobackup files

6 years agoAfter rotating log files, sleep a few seconds
Tollef Fog Heen [Sat, 23 Dec 2017 08:02:26 +0000 (09:02 +0100)]
After rotating log files, sleep a few seconds

This allows syslog to actually reopen files, we're seeing problems
where it's (probably) ignoring the signal since it's in the middle of
rotating already.

Since this runs from logrotate there should be no admin irritation
over it.

6 years agodisable unprivileged BPF loading
Peter Palfrader [Fri, 22 Dec 2017 20:35:33 +0000 (21:35 +0100)]
disable unprivileged BPF loading

6 years agoUse ftp.uk.debian.org instead of mirror.bytemark.co.uk at ARM
Aurelien Jarno [Thu, 21 Dec 2017 21:56:43 +0000 (22:56 +0100)]
Use ftp.uk.debian.org instead of mirror.bytemark.co.uk at ARM

Hopefully that will fix the chroot creation at ARM.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoRetire planeta.debian.net ServerAlias for planet.d.o
Julien Cristau [Tue, 19 Dec 2017 11:04:20 +0000 (12:04 +0100)]
Retire planeta.debian.net ServerAlias for planet.d.o

The DNS entry was owned by damog, who retired in 2015 (RT#5923).

6 years agoUse https instead of http for some redirects
Paul Wise [Sun, 17 Dec 2017 03:01:41 +0000 (11:01 +0800)]
Use https instead of http for some redirects

6 years agoIgnore unhealthy hosts for deciding which mirrors are the newest
Tollef Fog Heen [Wed, 13 Dec 2017 19:46:36 +0000 (20:46 +0100)]
Ignore unhealthy hosts for deciding which mirrors are the newest

This prevents the case we saw in #877966 where bad timing of a mirror
push led to an outage.  The disadvantage is that time might be moving
backwards instead, but giving out older packages (or dists/) is better
than giving out no files at all.

6 years agoHandle ConnectTimeout the same as ReadTimeout for mirror-health
Tollef Fog Heen [Tue, 12 Dec 2017 21:25:14 +0000 (22:25 +0100)]
Handle ConnectTimeout the same as ReadTimeout for mirror-health

6 years agoAdd lower-case redirects for all the top-level upper-case URLs on www.d.o
Paul Wise [Sun, 10 Dec 2017 01:32:12 +0000 (09:32 +0800)]
Add lower-case redirects for all the top-level upper-case URLs on d.o

Upper-case URLs on www.d.o were a terrible idea.

6 years agoRedirect debian.org/bugs to /Bugs (Closes: #883946)
Paul Wise [Sun, 10 Dec 2017 00:10:17 +0000 (08:10 +0800)]
Redirect debian.org/bugs to /Bugs (Closes: #883946)

6 years agoThe TCP BBR module is only available on stretch and later
Aurelien Jarno [Sat, 9 Dec 2017 23:14:17 +0000 (00:14 +0100)]
The TCP BBR module is only available on stretch and later

6 years agoSet referrer-policy to same-origin on debtags.d.o
Julien Cristau [Fri, 8 Dec 2017 16:43:27 +0000 (17:43 +0100)]
Set referrer-policy to same-origin on debtags.d.o

Per Enrico, "django needs referrers for POST requests"

6 years agoEnable TCP BBR on a bunch of hosts. Not all for now, but maybe we should. (re:...
Peter Palfrader [Fri, 8 Dec 2017 14:28:16 +0000 (15:28 +0100)]
Enable TCP BBR on a bunch of hosts.  Not all for now, but maybe we should.  (re: RT#6990)

6 years agoPut vhost for signup.salsa.debian.org on the salsa host (re: RT#7008)
Peter Palfrader [Tue, 5 Dec 2017 22:18:52 +0000 (23:18 +0100)]
Put vhost for signup.salsa.debian.org on the salsa host (re: RT#7008)