mirror/dsa-puppet.git
6 years agoMore kfreebsd removal
Aurelien Jarno [Tue, 13 Feb 2018 08:15:10 +0000 (09:15 +0100)]
More kfreebsd removal

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agosetup-all-dchroots: get rid of kfreebsd and ppc64
Aurelien Jarno [Tue, 13 Feb 2018 07:47:40 +0000 (08:47 +0100)]
setup-all-dchroots: get rid of kfreebsd and ppc64

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agonagios: use dsa-check-systemd-services instead of systemctl is-system-running
Peter Palfrader [Sun, 11 Feb 2018 10:20:27 +0000 (11:20 +0100)]
nagios: use dsa-check-systemd-services instead of systemctl is-system-running

6 years agoAlso systemctl reset-failed failed session-nnn.scope
Peter Palfrader [Sun, 11 Feb 2018 10:02:25 +0000 (11:02 +0100)]
Also systemctl reset-failed failed session-nnn.scope

6 years agoMove failed rsync cleanup into systemd module
Peter Palfrader [Sun, 11 Feb 2018 09:58:08 +0000 (10:58 +0100)]
Move failed rsync cleanup into systemd module

6 years agoFixup local-mirror.cdbuilder sites-enabled symlink name
Julien Cristau [Sat, 10 Feb 2018 07:59:40 +0000 (08:59 +0100)]
Fixup local-mirror.cdbuilder sites-enabled symlink name

6 years agoAdd {deb,security}.d.o aliases to local-mirror.cdbuilder
Julien Cristau [Sat, 10 Feb 2018 07:58:52 +0000 (08:58 +0100)]
Add {deb,security}.d.o aliases to local-mirror.cdbuilder

6 years agouse ttyS1 for the serial console on casulana
Peter Palfrader [Fri, 9 Feb 2018 20:23:28 +0000 (21:23 +0100)]
use ttyS1 for the serial console on casulana

6 years agoGet trailing slashes right for aliases
Peter Palfrader [Fri, 9 Feb 2018 19:49:14 +0000 (20:49 +0100)]
Get trailing slashes right for aliases

6 years agoFirst go at cdbuilder local mirror export (re: RT##7101)
Peter Palfrader [Fri, 9 Feb 2018 19:41:56 +0000 (20:41 +0100)]
First go at cdbuilder local mirror export (re: RT##7101)

6 years agoAdd a apache_not_public role where we do not add ferm allow rules and put casulana...
Peter Palfrader [Fri, 9 Feb 2018 19:03:17 +0000 (20:03 +0100)]
Add a apache_not_public role where we do not add ferm allow rules and put casulana into it

6 years agono more experimental_apache (previously cgi-grnet-01, pejacevic, petrova)
Peter Palfrader [Fri, 9 Feb 2018 19:00:00 +0000 (20:00 +0100)]
no more experimental_apache (previously cgi-grnet-01, pejacevic, petrova)

6 years agoAdd cdbuilder-logs static component (re: RT##7101)
Peter Palfrader [Fri, 9 Feb 2018 18:32:09 +0000 (19:32 +0100)]
Add cdbuilder-logs static component (re: RT##7101)

6 years agoAdd casulana as a static source for cdbuilder-logs (re: RT##7101)
Peter Palfrader [Fri, 9 Feb 2018 18:27:21 +0000 (19:27 +0100)]
Add casulana as a static source for cdbuilder-logs (re: RT##7101)

6 years agoTest with Puppet 4.8
Bastian Blank [Fri, 9 Feb 2018 13:02:52 +0000 (14:02 +0100)]
Test with Puppet 4.8

6 years agoUpdate facts
Bastian Blank [Fri, 9 Feb 2018 12:58:29 +0000 (13:58 +0100)]
Update facts

6 years agoMove nagios stuff
Bastian Blank [Fri, 9 Feb 2018 12:49:13 +0000 (13:49 +0100)]
Move nagios stuff

6 years agoMove generated cert files to new location
Bastian Blank [Fri, 9 Feb 2018 12:45:03 +0000 (13:45 +0100)]
Move generated cert files to new location

6 years agoUpdate octocatalog job
Bastian Blank [Fri, 9 Feb 2018 12:28:28 +0000 (13:28 +0100)]
Update octocatalog job

6 years agorsync on lw09,lw10
Peter Palfrader [Fri, 9 Feb 2018 09:19:26 +0000 (10:19 +0100)]
rsync on lw09,lw10

6 years agoupdate lw autotab
Peter Palfrader [Fri, 9 Feb 2018 08:38:23 +0000 (09:38 +0100)]
update lw autotab

6 years agoupdate lw autotab
Peter Palfrader [Fri, 9 Feb 2018 08:28:27 +0000 (09:28 +0100)]
update lw autotab

6 years agodo nfs server setup on lw09/lw10
Peter Palfrader [Fri, 9 Feb 2018 08:11:24 +0000 (09:11 +0100)]
do nfs server setup on lw09/lw10

6 years agono more 10/8 network at leaseweb
Peter Palfrader [Fri, 9 Feb 2018 08:10:57 +0000 (09:10 +0100)]
no more 10/8 network at leaseweb

6 years agoremove sgran from root keys
Martin Zobel-Helas [Thu, 8 Feb 2018 16:26:48 +0000 (17:26 +0100)]
remove sgran from root keys

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
6 years agoremove sgran IP range. he can hop via master if needed
Martin Zobel-Helas [Thu, 8 Feb 2018 16:25:54 +0000 (17:25 +0100)]
remove sgran IP range. he can hop via master if needed

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
6 years agopuppet does not have any mail config in /srv/puppet.debian.org/mail
Martin Zobel-Helas [Thu, 8 Feb 2018 16:24:00 +0000 (17:24 +0100)]
puppet does not have any mail config in /srv/puppet.debian.org/mail

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
6 years agobackgrounding does not really work remotely
Peter Palfrader [Thu, 8 Feb 2018 15:09:27 +0000 (16:09 +0100)]
backgrounding does not really work remotely

6 years agodsa-restart-all-idle-postgres: only restart pg instances that show up in dsa-check...
Peter Palfrader [Thu, 8 Feb 2018 14:47:32 +0000 (15:47 +0100)]
dsa-restart-all-idle-postgres: only restart pg instances that show up in dsa-check-libs

6 years agodsa-restart-all-idle-postgres: and do not keep fds open
Peter Palfrader [Thu, 8 Feb 2018 14:34:10 +0000 (15:34 +0100)]
dsa-restart-all-idle-postgres: and do not keep fds open

6 years agodsa-restart-all-idle-postgres: disown background jobs instead of waiting for them
Peter Palfrader [Thu, 8 Feb 2018 14:30:06 +0000 (15:30 +0100)]
dsa-restart-all-idle-postgres: disown background jobs instead of waiting for them

6 years agoin practice make the sleep longer
Peter Palfrader [Thu, 8 Feb 2018 12:41:55 +0000 (13:41 +0100)]
in practice make the sleep longer

6 years agofix filename
Peter Palfrader [Thu, 8 Feb 2018 12:39:46 +0000 (13:39 +0100)]
fix filename

6 years agoAdd script to restart postgres clusters
Peter Palfrader [Thu, 8 Feb 2018 12:38:53 +0000 (13:38 +0100)]
Add script to restart postgres clusters

6 years agoignore wb-buildd.more on buildd_master role hosts
Peter Palfrader [Thu, 8 Feb 2018 12:01:00 +0000 (13:01 +0100)]
ignore wb-buildd.more on buildd_master role hosts

6 years agosamhain ignore /etc/ssh/userkeys/buildd-uploader on ssh upload hosts
Peter Palfrader [Tue, 6 Feb 2018 09:15:04 +0000 (10:15 +0100)]
samhain ignore /etc/ssh/userkeys/buildd-uploader on ssh upload hosts

6 years agoUse "restrict" key option for buildd access to upload hosts
Julien Cristau [Mon, 5 Feb 2018 16:29:31 +0000 (17:29 +0100)]
Use "restrict" key option for buildd access to upload hosts

6 years agoUse "restrict" key option for buildd access to wanna-build
Julien Cristau [Mon, 5 Feb 2018 16:28:21 +0000 (17:28 +0100)]
Use "restrict" key option for buildd access to wanna-build

6 years agoUse "restrict" key option for storace's da-backup keys
Julien Cristau [Mon, 5 Feb 2018 16:27:10 +0000 (17:27 +0100)]
Use "restrict" key option for storace's da-backup keys

6 years agoUse "restrict" key option in debbackup authorized_keys
Julien Cristau [Mon, 5 Feb 2018 16:18:50 +0000 (17:18 +0100)]
Use "restrict" key option in debbackup authorized_keys

6 years agoSimplify portforwarder authorized_keys options
Julien Cristau [Mon, 5 Feb 2018 15:03:51 +0000 (16:03 +0100)]
Simplify portforwarder authorized_keys options

Replace "no-pty,no-port-forwarding,no-X11-forwarding,no-agent-forwarding" with
"restrict" since all hosts using this module are on stretch with new enough
sshd

6 years agoPut ganeti VMs into their own systemd scope
Peter Palfrader [Mon, 5 Feb 2018 13:34:57 +0000 (14:34 +0100)]
Put ganeti VMs into their own systemd scope

6 years agomodules/postgres/manifests/backup_source: add a comment re docs
Peter Palfrader [Mon, 5 Feb 2018 11:57:07 +0000 (12:57 +0100)]
modules/postgres/manifests/backup_source: add a comment re docs

6 years agoAdd a comment header to /etc/ssh/userkeys/debbackup
Peter Palfrader [Mon, 5 Feb 2018 09:32:00 +0000 (10:32 +0100)]
Add a comment header to /etc/ssh/userkeys/debbackup

6 years agoDo samhain checks only half as often
Peter Palfrader [Sun, 4 Feb 2018 23:51:28 +0000 (00:51 +0100)]
Do samhain checks only half as often

6 years agoUpdate private IP range at leaseweb
Julien Cristau [Sun, 4 Feb 2018 18:10:56 +0000 (19:10 +0100)]
Update private IP range at leaseweb

6 years agoAdd debconf18.debconf.org config on debussy (rt#7089)
Julien Cristau [Sun, 4 Feb 2018 17:48:02 +0000 (18:48 +0100)]
Add debconf18.debconf.org config on debussy (rt#7089)

6 years agoupdate sudo for new dsa-check-libs call
Peter Palfrader [Sun, 4 Feb 2018 12:14:39 +0000 (13:14 +0100)]
update sudo for new dsa-check-libs call

6 years agoClean up failed rsyncs every few minutes
Peter Palfrader [Sun, 4 Feb 2018 12:07:56 +0000 (13:07 +0100)]
Clean up failed rsyncs every few minutes

6 years agoignore salsa fd leak in sidekiq for dsa-check-lib purposes
Peter Palfrader [Sun, 4 Feb 2018 11:35:49 +0000 (12:35 +0100)]
ignore salsa fd leak in sidekiq for dsa-check-lib purposes

6 years agoand log checksums correctly
Peter Palfrader [Sun, 4 Feb 2018 10:50:42 +0000 (11:50 +0100)]
and log checksums correctly

6 years agoalso log failed target
Peter Palfrader [Sun, 4 Feb 2018 10:49:20 +0000 (11:49 +0100)]
also log failed target

6 years agopg-backup-file: continue after failures and only report at the end
Peter Palfrader [Sun, 4 Feb 2018 10:25:59 +0000 (11:25 +0100)]
pg-backup-file: continue after failures and only report at the end

6 years agoDecommission fano and finzi
Aurelien Jarno [Fri, 2 Feb 2018 16:49:37 +0000 (17:49 +0100)]
Decommission fano and finzi

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agomirror-anu should not actually have an onion address
Tollef Fog Heen [Fri, 2 Feb 2018 15:40:55 +0000 (16:40 +0100)]
mirror-anu should not actually have an onion address

6 years agoImprove kpartx rule
Aurelien Jarno [Fri, 2 Feb 2018 14:47:33 +0000 (15:47 +0100)]
Improve kpartx rule

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoDisable default kpartx udev rule
Aurelien Jarno [Fri, 2 Feb 2018 14:39:13 +0000 (15:39 +0100)]
Disable default kpartx udev rule

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoGet rid of obsolete vsftpd::site→absent resources
Tollef Fog Heen [Fri, 2 Feb 2018 10:56:10 +0000 (11:56 +0100)]
Get rid of obsolete vsftpd::site→absent resources

6 years agoNo more conntrackd in bm, so drop firewall opening
Tollef Fog Heen [Fri, 2 Feb 2018 10:54:23 +0000 (11:54 +0100)]
No more conntrackd in bm, so drop firewall opening

6 years agoRetire ftp.d.o role, it is unused
Tollef Fog Heen [Fri, 2 Feb 2018 10:54:04 +0000 (11:54 +0100)]
Retire ftp.d.o role, it is unused

6 years agoClean up debugging foo
Tollef Fog Heen [Fri, 2 Feb 2018 10:27:18 +0000 (11:27 +0100)]
Clean up debugging foo

6 years agosteve probably does not care about samhain mails very much
Peter Palfrader [Fri, 2 Feb 2018 10:36:39 +0000 (11:36 +0100)]
steve probably does not care about samhain mails very much

6 years agoGet rid of unused role
Tollef Fog Heen [Fri, 2 Feb 2018 10:17:11 +0000 (11:17 +0100)]
Get rid of unused role

6 years agoGet rid of some intermediate variables
Tollef Fog Heen [Fri, 2 Feb 2018 10:14:29 +0000 (11:14 +0100)]
Get rid of some intermediate variables

6 years agoMove onion IP addresses into hiera
Tollef Fog Heen [Fri, 2 Feb 2018 10:10:26 +0000 (11:10 +0100)]
Move onion IP addresses into hiera

6 years agoSimplify debian_mirror for hiera-hash
Tollef Fog Heen [Fri, 2 Feb 2018 10:06:08 +0000 (11:06 +0100)]
Simplify debian_mirror for hiera-hash

6 years agoWhitespace
Tollef Fog Heen [Fri, 2 Feb 2018 10:03:17 +0000 (11:03 +0100)]
Whitespace

6 years agoMove debian_mirror over to being a hash
Tollef Fog Heen [Fri, 2 Feb 2018 10:01:55 +0000 (11:01 +0100)]
Move debian_mirror over to being a hash

6 years agoUse .dig to dig into hiera structs
Tollef Fog Heen [Fri, 2 Feb 2018 09:57:12 +0000 (10:57 +0100)]
Use .dig to dig into hiera structs

6 years agoDebugging
Tollef Fog Heen [Fri, 2 Feb 2018 09:47:43 +0000 (10:47 +0100)]
Debugging

6 years agoCleanup obsolete absent resource
Tollef Fog Heen [Fri, 2 Feb 2018 09:47:38 +0000 (10:47 +0100)]
Cleanup obsolete absent resource

6 years agoGet rid of security_mirror_onion role in favour of just keying off the ip address...
Tollef Fog Heen [Fri, 2 Feb 2018 09:41:28 +0000 (10:41 +0100)]
Get rid of security_mirror_onion role in favour of just keying off the ip address in hiera

6 years agosshd: Raise MaxStartups on ssh upload hosts
Peter Palfrader [Fri, 2 Feb 2018 09:39:20 +0000 (10:39 +0100)]
sshd: Raise MaxStartups on ssh upload hosts

6 years agoDecommission fils and fayrfax
Aurelien Jarno [Fri, 2 Feb 2018 09:38:13 +0000 (10:38 +0100)]
Decommission fils and fayrfax

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agosshd_config: Remove UsePrivilegeSeparation yes. on stretch the default is sandbox...
Peter Palfrader [Fri, 2 Feb 2018 09:31:32 +0000 (10:31 +0100)]
sshd_config: Remove UsePrivilegeSeparation yes.   on stretch the default is sandbox which seems better

6 years agosshd_config: remove commented out options and options where we just use the default...
Peter Palfrader [Fri, 2 Feb 2018 09:31:01 +0000 (10:31 +0100)]
sshd_config: remove commented out options and options where we just use the default value (according to the stretch manpage)

6 years agoSimplify lookups now that security_mirror is a hash
Tollef Fog Heen [Fri, 2 Feb 2018 09:24:41 +0000 (10:24 +0100)]
Simplify lookups now that security_mirror is a hash

6 years agoSwitch the security mirror role over to using a hash
Tollef Fog Heen [Fri, 2 Feb 2018 09:22:26 +0000 (10:22 +0100)]
Switch the security mirror role over to using a hash

6 years agoAdd support to hashes for has_role
Tollef Fog Heen [Fri, 2 Feb 2018 09:18:00 +0000 (10:18 +0100)]
Add support to hashes for has_role

In addition to supporting

roles:
  foo:
    - host1
    - host2
    - host3

Add support for:

roles:
  foo:
    host1:
      k1: v1
    host2: ~

as well.

6 years agoWhitespace fixups
Tollef Fog Heen [Fri, 2 Feb 2018 08:59:04 +0000 (09:59 +0100)]
Whitespace fixups

6 years agoAdd localhost listens when listen-addresses is set
Tollef Fog Heen [Fri, 2 Feb 2018 08:33:44 +0000 (09:33 +0100)]
Add localhost listens when listen-addresses is set

6 years agoWhitespace
Tollef Fog Heen [Fri, 2 Feb 2018 08:29:53 +0000 (09:29 +0100)]
Whitespace

6 years agoPull out listen addresses from hiera again
Tollef Fog Heen [Fri, 2 Feb 2018 08:29:05 +0000 (09:29 +0100)]
Pull out listen addresses from hiera again

6 years agoSet service-hostname for mirror-conova too
Tollef Fog Heen [Fri, 2 Feb 2018 07:24:47 +0000 (08:24 +0100)]
Set service-hostname for mirror-conova too

6 years agomirror-conova is a fastly backend, mark it as such
Tollef Fog Heen [Fri, 2 Feb 2018 07:23:07 +0000 (08:23 +0100)]
mirror-conova is a fastly backend, mark it as such

6 years agoFix typo
Tollef Fog Heen [Fri, 2 Feb 2018 07:13:26 +0000 (08:13 +0100)]
Fix typo

6 years agoHard code listen IPs while I debug hiera again
Tollef Fog Heen [Fri, 2 Feb 2018 07:10:31 +0000 (08:10 +0100)]
Hard code listen IPs while I debug hiera again

6 years agoAvoid redeclaring the mirror-health file resource
Tollef Fog Heen [Fri, 2 Feb 2018 07:03:12 +0000 (08:03 +0100)]
Avoid redeclaring the mirror-health file resource

6 years agoStop hard coding host list for debian_mirror and use the same code we use for security
Tollef Fog Heen [Fri, 2 Feb 2018 06:45:53 +0000 (07:45 +0100)]
Stop hard coding host list for debian_mirror and use the same code we use for security

6 years agoRefactor hiera lookup for security mirrors slightly
Tollef Fog Heen [Fri, 2 Feb 2018 06:42:38 +0000 (07:42 +0100)]
Refactor hiera lookup for security mirrors slightly

Since the structure is a list of hashes (for vaguely historical
reasons), we need to unpack the result from hiera before doing the
filtering and selection of the backends.

6 years agoGah, puppet!
Tollef Fog Heen [Fri, 2 Feb 2018 05:53:55 +0000 (06:53 +0100)]
Gah, puppet!

6 years agoUse notify, not notice for debugging
Tollef Fog Heen [Fri, 2 Feb 2018 05:52:45 +0000 (06:52 +0100)]
Use notify, not notice for debugging

6 years agoRevert "Correct hiera function call syntax"
Tollef Fog Heen [Fri, 2 Feb 2018 05:50:41 +0000 (06:50 +0100)]
Revert "Correct hiera function call syntax"

This reverts commit a6d0545f07cac7f094c6952d57c2580b911aee4b.

6 years agoFix has_role to handle richer data structures properly
Tollef Fog Heen [Fri, 2 Feb 2018 05:49:53 +0000 (06:49 +0100)]
Fix has_role to handle richer data structures properly

6 years agoHard code deb.d.o backend hosts while debugging
Tollef Fog Heen [Fri, 2 Feb 2018 05:46:21 +0000 (06:46 +0100)]
Hard code deb.d.o backend hosts while debugging

6 years agoRevert "Debugging"
Tollef Fog Heen [Fri, 2 Feb 2018 05:34:01 +0000 (06:34 +0100)]
Revert "Debugging"

This reverts commit 199493bc8beb1c63e2459c742cfa891865a1e38f.

6 years agoDebugging
Tollef Fog Heen [Fri, 2 Feb 2018 05:27:31 +0000 (06:27 +0100)]
Debugging

6 years agoDebugging
Tollef Fog Heen [Fri, 2 Feb 2018 05:24:26 +0000 (06:24 +0100)]
Debugging

6 years agoCorrect hiera function call syntax
Tollef Fog Heen [Fri, 2 Feb 2018 05:22:18 +0000 (06:22 +0100)]
Correct hiera function call syntax

6 years agoAlso redirect mips64el to the mips port family page
Paul Wise [Fri, 2 Feb 2018 01:29:48 +0000 (09:29 +0800)]
Also redirect mips64el to the mips port family page

Reported-by: sebul <sebuls@gmail.com>
Reported-in: <CANy4eeUSa1mLCASUduCTYzZ4G4egYefBTA7W4TUFWkxeb30CuQ@mail.gmail.com>