mirror/dsa-puppet.git
5 years agoAnd setup ferm
Peter Palfrader [Mon, 28 May 2018 09:19:34 +0000 (11:19 +0200)]
And setup ferm

5 years agoadd -j unix,user=vcache -F to varnishd call
Peter Palfrader [Mon, 28 May 2018 09:15:22 +0000 (11:15 +0200)]
add -j unix,user=vcache -F to varnishd call

5 years agoand use array for listening ports
Peter Palfrader [Mon, 28 May 2018 08:54:40 +0000 (10:54 +0200)]
and use array for listening ports

5 years agovarnish on stretch now takes several -a arguments instead of one with multiple addresses
Peter Palfrader [Mon, 28 May 2018 08:53:11 +0000 (10:53 +0200)]
varnish on stretch now takes several -a arguments instead of one with multiple addresses

5 years agosallinen varnish, 2
Peter Palfrader [Mon, 28 May 2018 08:40:16 +0000 (10:40 +0200)]
sallinen varnish, 2

5 years agosallinen varnish
Peter Palfrader [Mon, 28 May 2018 08:37:24 +0000 (10:37 +0200)]
sallinen varnish

5 years agoa very basic generic varnish module
Peter Palfrader [Mon, 28 May 2018 08:19:18 +0000 (10:19 +0200)]
a very basic generic varnish module

5 years agorename varnish to varnish_pkgmirror module
Peter Palfrader [Mon, 28 May 2018 08:10:15 +0000 (10:10 +0200)]
rename varnish to varnish_pkgmirror module

5 years agorename varnish to varnish_pkgmirror module
Peter Palfrader [Mon, 28 May 2018 08:09:17 +0000 (10:09 +0200)]
rename varnish to varnish_pkgmirror module

5 years agoallow archvsync to trigger snapshot imports
Peter Palfrader [Sun, 20 May 2018 08:41:31 +0000 (10:41 +0200)]
allow archvsync to trigger snapshot imports

5 years agoblock mails from @qq.com
Martin Zobel-Helas [Wed, 9 May 2018 23:06:09 +0000 (01:06 +0200)]
block mails from @qq.com

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
5 years agofix kanboard role (php wants mpm_prefork)
Julien Cristau [Tue, 8 May 2018 10:39:38 +0000 (12:39 +0200)]
fix kanboard role (php wants mpm_prefork)

5 years agoadd a kanboard role
Julien Cristau [Tue, 8 May 2018 10:36:13 +0000 (12:36 +0200)]
add a kanboard role

5 years agokanboard group members can run stuff as kanboard on kantuser
Julien Cristau [Tue, 8 May 2018 10:32:27 +0000 (12:32 +0200)]
kanboard group members can run stuff as kanboard on kantuser

5 years agoFixup previous commit, log directory permissions were already defined
Aurelien Jarno [Sun, 6 May 2018 20:46:10 +0000 (22:46 +0200)]
Fixup previous commit, log directory permissions were already defined

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
5 years agopybuildd: ensure that the build and logs dir have the correct permissions
Aurelien Jarno [Sun, 6 May 2018 20:41:53 +0000 (22:41 +0200)]
pybuildd: ensure that the build and logs dir have the correct permissions

This should go away once pybuildd issue #3 is solved.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
5 years agoNew IP ranges for jcristau
Julien Cristau [Sun, 6 May 2018 12:54:42 +0000 (14:54 +0200)]
New IP ranges for jcristau

5 years agoFix acquire-reboot-lock molly-guard hook to actually keep the lock until shutdown
Julien Cristau [Fri, 4 May 2018 15:05:14 +0000 (17:05 +0200)]
Fix acquire-reboot-lock molly-guard hook to actually keep the lock until shutdown

RT#6893

5 years agoretire old basic-ssh_known_hosts setup
Peter Palfrader [Wed, 2 May 2018 14:22:40 +0000 (16:22 +0200)]
retire old basic-ssh_known_hosts setup

5 years agoput initial ssh_known_hosts in place and run ud-replicate by puppet
Peter Palfrader [Wed, 2 May 2018 14:20:30 +0000 (16:20 +0200)]
put initial ssh_known_hosts in place and run ud-replicate by puppet

6 years agoand indexes on alioth-archive
Peter Palfrader [Thu, 26 Apr 2018 18:51:10 +0000 (20:51 +0200)]
and indexes on alioth-archive

6 years agoalioth-archive needs mod rewrite
Peter Palfrader [Thu, 26 Apr 2018 18:40:28 +0000 (20:40 +0200)]
alioth-archive needs mod rewrite

6 years agofix path
Peter Palfrader [Thu, 26 Apr 2018 18:35:56 +0000 (20:35 +0200)]
fix path

6 years agoalioth-archive apache site
Peter Palfrader [Thu, 26 Apr 2018 18:33:51 +0000 (20:33 +0200)]
alioth-archive apache site

6 years agosnapshot: rewrite module
Peter Palfrader [Thu, 26 Apr 2018 08:17:05 +0000 (10:17 +0200)]
snapshot: rewrite module

6 years agoAdd apache vhost
Peter Palfrader [Thu, 26 Apr 2018 08:15:48 +0000 (10:15 +0200)]
Add apache vhost

6 years agoput apache on sallinen
Peter Palfrader [Thu, 26 Apr 2018 08:11:18 +0000 (10:11 +0200)]
put apache on sallinen

6 years agosudo for alioth-archive
Peter Palfrader [Wed, 25 Apr 2018 19:54:55 +0000 (21:54 +0200)]
sudo for alioth-archive

6 years agocreate /srv/alioth-archive on alioth-archive host
Peter Palfrader [Wed, 25 Apr 2018 19:18:30 +0000 (21:18 +0200)]
create /srv/alioth-archive on alioth-archive host

6 years agodedication for grabbe
Peter Palfrader [Tue, 24 Apr 2018 20:55:30 +0000 (22:55 +0200)]
dedication for grabbe

6 years agoinstall apache on alioth archive
Peter Palfrader [Tue, 24 Apr 2018 20:51:17 +0000 (22:51 +0200)]
install apache on alioth archive

6 years agoprepare alioth archive puppet role
Peter Palfrader [Tue, 24 Apr 2018 20:47:45 +0000 (22:47 +0200)]
prepare alioth archive puppet role

6 years agofix grabbe-lvm volume name
Peter Palfrader [Tue, 24 Apr 2018 20:35:29 +0000 (22:35 +0200)]
fix grabbe-lvm volume name

6 years agoadd grabbe volumes
Peter Palfrader [Tue, 24 Apr 2018 20:04:31 +0000 (22:04 +0200)]
add grabbe volumes

6 years agoFixup buildd manifest for jessie
Julien Cristau [Mon, 16 Apr 2018 12:50:16 +0000 (14:50 +0200)]
Fixup buildd manifest for jessie

6 years agopkg-ruby-extras.alioth.d.o on static
Julien Cristau [Sat, 14 Apr 2018 09:16:22 +0000 (11:16 +0200)]
pkg-ruby-extras.alioth.d.o on static

6 years agoGive up on the distinction between /etc/ssl/certs and /etc/ssl/ca-debian
Julien Cristau [Fri, 13 Apr 2018 17:56:27 +0000 (19:56 +0200)]
Give up on the distinction between /etc/ssl/certs and /etc/ssl/ca-debian

1) we don't ship EE certs in puppet anymore so the former was empty
2) most software nowadays requires actual CA certs in its trust store
   rather than EE certs

6 years agoRemove CAs we no longer use from /etc/ssl/ca-debian/
Julien Cristau [Fri, 13 Apr 2018 17:42:42 +0000 (19:42 +0200)]
Remove CAs we no longer use from /etc/ssl/ca-debian/

6 years agoAlso remove /usr/local/share/ca-certificates/debian.org
Julien Cristau [Fri, 13 Apr 2018 11:43:12 +0000 (13:43 +0200)]
Also remove /usr/local/share/ca-certificates/debian.org

6 years agoGet rid of /etc/ssl/servicecerts
Julien Cristau [Fri, 13 Apr 2018 11:29:00 +0000 (13:29 +0200)]
Get rid of /etc/ssl/servicecerts

All active certs are now coming from letsencrypt.

6 years agocheck-libs: ignore all access to /srv/salsa/repos by user git, regardless of process...
Peter Palfrader [Wed, 11 Apr 2018 08:32:33 +0000 (10:32 +0200)]
check-libs: ignore all access to /srv/salsa/repos by user git, regardless of process name

6 years agoDecommission zemlinsky.d.o (RT#7208)
Aurelien Jarno [Mon, 9 Apr 2018 15:19:26 +0000 (17:19 +0200)]
Decommission zemlinsky.d.o (RT#7208)

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoRemove buildd package on pybuildds based buildds
Aurelien Jarno [Sun, 8 Apr 2018 17:23:43 +0000 (19:23 +0200)]
Remove buildd package on pybuildds based buildds

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agobuildd: use a different configuration for buildd and pybuildd
Aurelien Jarno [Sun, 8 Apr 2018 14:14:33 +0000 (16:14 +0200)]
buildd: use a different configuration for buildd and pybuildd

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoReorganize buildd module into different sections
Aurelien Jarno [Sun, 8 Apr 2018 13:18:59 +0000 (15:18 +0200)]
Reorganize buildd module into different sections

That'll help the switch from buildd to pybuildd

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agobuildd: drop old compat code, make more jessie code conditional
Aurelien Jarno [Sun, 8 Apr 2018 13:05:21 +0000 (15:05 +0200)]
buildd: drop old compat code, make more jessie code conditional

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agobuildd: remove buildd-schroot-aptitude-kill.squeeze
Aurelien Jarno [Sun, 8 Apr 2018 12:59:17 +0000 (14:59 +0200)]
buildd: remove buildd-schroot-aptitude-kill.squeeze

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoAllow ftp-masters access to the dak-code user
Tollef Fog Heen [Sat, 7 Apr 2018 12:17:06 +0000 (14:17 +0200)]
Allow ftp-masters access to the dak-code user

RT#7206

6 years agoMerge branch 'godard-apache' of https://salsa.debian.org/waldi/dsa-puppet
Julien Cristau [Sat, 7 Apr 2018 09:21:54 +0000 (11:21 +0200)]
Merge branch 'godard-apache' of https://salsa.debian.org/waldi/dsa-puppet

RT#7092

6 years agoAdd video.debconf.org redirect on static (RT#7186)
Julien Cristau [Sat, 7 Apr 2018 08:45:59 +0000 (10:45 +0200)]
Add video.debconf.org redirect on static (RT#7186)

6 years agoCleanup roles::signing some more
Julien Cristau [Fri, 6 Apr 2018 19:11:26 +0000 (21:11 +0200)]
Cleanup roles::signing some more

fasolo has been cleaned up so we can drop the file deletions from the
manifest.

6 years agoDelete scripts for code signing
Julien Cristau [Fri, 6 Apr 2018 19:08:13 +0000 (21:08 +0200)]
Delete scripts for code signing

They'll live in ftpteam land after all:
https://salsa.debian.org/ftp-team/code-signing

6 years agobuildd lingering: remove a bashism
Aurelien Jarno [Mon, 2 Apr 2018 21:40:08 +0000 (23:40 +0200)]
buildd lingering: remove a bashism

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agobuildd lingering: setup XDG_RUNTIME_DIR in .profile
Aurelien Jarno [Mon, 2 Apr 2018 21:29:12 +0000 (23:29 +0200)]
buildd lingering: setup XDG_RUNTIME_DIR in .profile

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoSet up lists.alioth.debian.org to alioth-lists.debian.net redirect
Julien Cristau [Mon, 2 Apr 2018 18:31:56 +0000 (20:31 +0200)]
Set up lists.alioth.debian.org to alioth-lists.debian.net redirect

6 years agobuildd lingering: ensure /var/lib/systemd/linger directory exists
Aurelien Jarno [Mon, 2 Apr 2018 12:18:41 +0000 (14:18 +0200)]
buildd lingering: ensure /var/lib/systemd/linger directory exists

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoEnable lingering and persistent journal on buildds
Aurelien Jarno [Mon, 2 Apr 2018 12:07:18 +0000 (14:07 +0200)]
Enable lingering and persistent journal on buildds

This is needed to run pybuildd as a user.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoDeploy ssl cert for bugs-devel.d.o on bugs-master
Julien Cristau [Wed, 28 Mar 2018 19:56:11 +0000 (21:56 +0200)]
Deploy ssl cert for bugs-devel.d.o on bugs-master

6 years agoFix logic in cleanup-watcher-pause-file: clean out files *after* they should be deleted
Peter Palfrader [Tue, 27 Mar 2018 09:31:09 +0000 (11:31 +0200)]
Fix logic in cleanup-watcher-pause-file: clean out files *after* they should be deleted

6 years agoOnly set headers in apache if they don't exist
Bastian Blank [Mon, 26 Mar 2018 18:48:08 +0000 (20:48 +0200)]
Only set headers in apache if they don't exist

"Header always setifempty" does not work with proxied requests, as the
header from the response is added in the second header table.  This
means both tables want to set the headers.  The only way out seems to
check by hand if the header already exists somewhere.

Signed-off-by: Bastian Blank <waldi@debian.org>
6 years agobuildd.d.o: update archive key
Aurelien Jarno [Thu, 15 Mar 2018 09:51:16 +0000 (10:51 +0100)]
buildd.d.o: update archive key

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoMerge remote-tracking branch 'jrtc27/buster-fixes'
Peter Palfrader [Wed, 14 Mar 2018 13:36:04 +0000 (14:36 +0100)]
Merge remote-tracking branch 'jrtc27/buster-fixes'

* jrtc27/buster-fixes:
  99porterbox-extra-sources: Enable debug archive for buster and beyond
  99porterbox-extra-sources: Update security blacklist post-stretch

6 years ago99porterbox-extra-sources: Enable debug archive for buster and beyond
James Clarke [Wed, 14 Mar 2018 13:32:51 +0000 (13:32 +0000)]
99porterbox-extra-sources: Enable debug archive for buster and beyond

6 years ago99porterbox-extra-sources: Update security blacklist post-stretch
James Clarke [Wed, 14 Mar 2018 13:31:35 +0000 (13:31 +0000)]
99porterbox-extra-sources: Update security blacklist post-stretch

Now that stretch has been released, we want to include the security archive.
Moreover, buster (the current testing) is present in the security archive, so
we can avoid the need to update this blacklist after every release.

6 years agosmaller timeout before we attempt to restart hpasmcli
Peter Palfrader [Tue, 13 Mar 2018 13:01:32 +0000 (14:01 +0100)]
smaller timeout before we attempt to restart hpasmcli

6 years agorestart hp-health on lobos and villa if they are broken
Peter Palfrader [Tue, 13 Mar 2018 11:45:32 +0000 (12:45 +0100)]
restart hp-health on lobos and villa if they are broken

6 years agoDo ignore raid controller cache failures on lw08
Peter Palfrader [Tue, 13 Mar 2018 10:09:48 +0000 (11:09 +0100)]
Do ignore raid controller cache failures on lw08

6 years agoTry to make dsa-check-hpssacli cron entry setup code easier to read
Peter Palfrader [Tue, 13 Mar 2018 10:08:13 +0000 (11:08 +0100)]
Try to make dsa-check-hpssacli cron entry setup code easier to read

6 years agoraise warn-age for pg base backups to 11 days
Peter Palfrader [Mon, 12 Mar 2018 20:27:07 +0000 (21:27 +0100)]
raise warn-age for pg base backups to 11 days

6 years agoThere is no ferm-restart Exec to notify
Peter Palfrader [Sun, 11 Mar 2018 08:28:50 +0000 (09:28 +0100)]
There is no ferm-restart Exec to notify

6 years agopostgres-make-base-backups: fix () formatting
Peter Palfrader [Wed, 7 Mar 2018 10:28:22 +0000 (11:28 +0100)]
postgres-make-base-backups: fix () formatting

6 years agoformat days differently
Peter Palfrader [Wed, 7 Mar 2018 10:26:53 +0000 (11:26 +0100)]
format days differently

6 years agopostgres-make-base-backups: and print seconds as times
Peter Palfrader [Wed, 7 Mar 2018 10:24:39 +0000 (11:24 +0100)]
postgres-make-base-backups: and print seconds as times

6 years agopostgres-make-base-backups: print more values
Peter Palfrader [Wed, 7 Mar 2018 10:23:08 +0000 (11:23 +0100)]
postgres-make-base-backups: print more values

6 years agopostgres-make-base-backups: rename variables to make them more obvious
Peter Palfrader [Wed, 7 Mar 2018 10:21:59 +0000 (11:21 +0100)]
postgres-make-base-backups: rename variables to make them more obvious

6 years agopostgres-make-base-backups: re-order logic for consistency
Peter Palfrader [Wed, 7 Mar 2018 10:21:07 +0000 (11:21 +0100)]
postgres-make-base-backups: re-order logic for consistency

6 years agoalso print cutoff times
Peter Palfrader [Wed, 7 Mar 2018 10:20:03 +0000 (11:20 +0100)]
also print cutoff times

6 years agoFormat time deltas in a readable way instead of in seconds
Peter Palfrader [Wed, 7 Mar 2018 10:16:25 +0000 (11:16 +0100)]
Format time deltas in a readable way instead of in seconds

6 years agoTry to escape things differently
Peter Palfrader [Wed, 7 Mar 2018 07:49:35 +0000 (08:49 +0100)]
Try to escape things differently

6 years agorunning every half hour should also suffice easily, with a semicolon
Peter Palfrader [Tue, 6 Mar 2018 22:11:42 +0000 (23:11 +0100)]
running every half hour should also suffice easily, with a semicolon

6 years agorunning every half hour should also suffice easily
Peter Palfrader [Tue, 6 Mar 2018 22:05:21 +0000 (23:05 +0100)]
running every half hour should also suffice easily

6 years agopostgres-make-base-backups: locks and logs
Peter Palfrader [Tue, 6 Mar 2018 22:03:59 +0000 (23:03 +0100)]
postgres-make-base-backups: locks and logs

- get locks for each individual base backup so we do not run parallel ones in the precense of forced runs
- also log to syslog

6 years agorun postgres-make-base-backups every 10 minutes not only on Sunday
Peter Palfrader [Tue, 6 Mar 2018 21:14:28 +0000 (22:14 +0100)]
run postgres-make-base-backups every 10 minutes not only on Sunday

6 years agosane mode for state dir
Peter Palfrader [Tue, 6 Mar 2018 15:42:21 +0000 (16:42 +0100)]
sane mode for state dir

6 years agoAnd create state dir for postgres-make-base-backups
Peter Palfrader [Tue, 6 Mar 2018 15:40:41 +0000 (16:40 +0100)]
And create state dir for postgres-make-base-backups

6 years agorun base backups spread over time. This also should help us to recover from failures...
Peter Palfrader [Tue, 6 Mar 2018 15:38:51 +0000 (16:38 +0100)]
run base backups spread over time.  This also should help us to recover from failures or reboots better

6 years agoHave postgres-make-base-backups use postgres-make-one-base-backup
Peter Palfrader [Tue, 6 Mar 2018 15:04:10 +0000 (16:04 +0100)]
Have postgres-make-base-backups use postgres-make-one-base-backup

6 years agoMake a postgres-make-one-base-backup script with the logic from postgres-make-base...
Peter Palfrader [Tue, 6 Mar 2018 15:01:24 +0000 (16:01 +0100)]
Make a postgres-make-one-base-backup script with the logic from  postgres-make-base-backups

6 years agoferm::conf - include ferm
Peter Palfrader [Tue, 6 Mar 2018 12:31:38 +0000 (13:31 +0100)]
ferm::conf - include ferm

6 years agostart ferm config with a 00-init and start SSH*SOURCES there
Peter Palfrader [Tue, 6 Mar 2018 12:30:48 +0000 (13:30 +0100)]
start ferm config with a 00-init and start SSH*SOURCES there

6 years agoferm::conf - merge with tor version
Peter Palfrader [Tue, 6 Mar 2018 12:30:25 +0000 (13:30 +0100)]
ferm::conf - merge with tor version

6 years agoRevert "The debian.ch domain is obsolete"
Peter Palfrader [Fri, 2 Mar 2018 12:27:07 +0000 (13:27 +0100)]
Revert "The debian.ch domain is obsolete"

This reverts commit 4ea1c460a6197c4ab24ad77df64ea15acd6ba797.

6 years agoRevert "Revert "massage log messages""
Peter Palfrader [Fri, 2 Mar 2018 12:27:00 +0000 (13:27 +0100)]
Revert "Revert "massage log messages""

This reverts commit 0e6a2fddf5f78bc1bdeb2f95cc82e83a1b2e458f.

6 years agoThe debconf13.ch domain is obsolete
Peter Palfrader [Fri, 2 Mar 2018 12:25:52 +0000 (13:25 +0100)]
The debconf13.ch domain is obsolete

6 years agoRevert "massage log messages"
Peter Palfrader [Fri, 2 Mar 2018 12:25:34 +0000 (13:25 +0100)]
Revert "massage log messages"

This reverts commit caa87132c4be1e1de8c71dc2a421ca2f0413f583.

6 years agoThe debian.ch domain is obsolete
Peter Palfrader [Fri, 2 Mar 2018 12:20:03 +0000 (13:20 +0100)]
The debian.ch domain is obsolete

6 years agomassage log messages
Peter Palfrader [Fri, 2 Mar 2018 10:49:58 +0000 (11:49 +0100)]
massage log messages

6 years agomassage log messages
Peter Palfrader [Fri, 2 Mar 2018 10:45:15 +0000 (11:45 +0100)]
massage log messages

6 years agoRun our own bacula scheduler from cron
Peter Palfrader [Fri, 2 Mar 2018 09:34:51 +0000 (10:34 +0100)]
Run our own bacula scheduler from cron

6 years agoUpdate ntp init script to the stretch version (RT#6907)
Julien Cristau [Tue, 27 Feb 2018 16:15:07 +0000 (17:15 +0100)]
Update ntp init script to the stretch version (RT#6907)

Bug#802040 was fixed in stretch so we no longer need this.