mirror/dsa-puppet.git
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>

6 years agoFix a thinko in previous commit
Aurelien Jarno [Thu, 1 Feb 2018 23:57:58 +0000 (00:57 +0100)]
Fix a thinko in previous commit

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agolobos and villa do not have a battery on their raid controller
Aurelien Jarno [Thu, 1 Feb 2018 23:51:23 +0000 (00:51 +0100)]
lobos and villa do not have a battery on their raid controller

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoMore debugging
Tollef Fog Heen [Thu, 1 Feb 2018 23:28:13 +0000 (00:28 +0100)]
More debugging

6 years agoFix typo
Tollef Fog Heen [Thu, 1 Feb 2018 23:12:54 +0000 (00:12 +0100)]
Fix typo

6 years agoMore gunking around to see if we can make this work
Tollef Fog Heen [Thu, 1 Feb 2018 23:11:39 +0000 (00:11 +0100)]
More gunking around to see if we can make this work

6 years agoMake all entries in security_mirror into hashes
Tollef Fog Heen [Thu, 1 Feb 2018 23:09:30 +0000 (00:09 +0100)]
Make all entries in security_mirror into hashes

6 years agoMore syntax fixing
Tollef Fog Heen [Thu, 1 Feb 2018 23:08:20 +0000 (00:08 +0100)]
More syntax fixing

6 years agoYAML is hard
Tollef Fog Heen [Thu, 1 Feb 2018 19:26:58 +0000 (20:26 +0100)]
YAML is hard

6 years agoUse hiera data for pulling health check data for security hosts
Tollef Fog Heen [Thu, 1 Feb 2018 19:25:00 +0000 (20:25 +0100)]
Use hiera data for pulling health check data for security hosts

6 years agoTypos-r-us
Tollef Fog Heen [Thu, 1 Feb 2018 19:13:10 +0000 (20:13 +0100)]
Typos-r-us

6 years agoPull list of hosts to health check from hiera
Tollef Fog Heen [Thu, 1 Feb 2018 18:51:03 +0000 (19:51 +0100)]
Pull list of hosts to health check from hiera

Instead of hard coding the set of hosts that Fastly checks, put the
information in hiera.

6 years agoRemove backup access from franck.d.o
Aurelien Jarno [Thu, 1 Feb 2018 19:06:20 +0000 (20:06 +0100)]
Remove backup access from franck.d.o

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agodsa-check_puppet_agent was renamed to dsa-check-puppet_agent
Julien Cristau [Thu, 1 Feb 2018 19:04:00 +0000 (20:04 +0100)]
dsa-check_puppet_agent was renamed to dsa-check-puppet_agent

6 years agoget rid of pizzetti
Julien Cristau [Thu, 1 Feb 2018 18:47:51 +0000 (19:47 +0100)]
get rid of pizzetti

6 years agoMove listen-address information out of manifest and into hiera
Tollef Fog Heen [Thu, 1 Feb 2018 18:38:26 +0000 (19:38 +0100)]
Move listen-address information out of manifest and into hiera

6 years agoUse ensure_packages to avoid problems with puppet redeclaring resources
Tollef Fog Heen [Thu, 1 Feb 2018 18:38:11 +0000 (19:38 +0100)]
Use ensure_packages to avoid problems with puppet redeclaring resources

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

6 years agoremove falla and fischer
Martin Zobel-Helas [Thu, 1 Feb 2018 18:35:35 +0000 (19:35 +0100)]
remove falla and fischer

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
6 years agoPull listen addresses for apache mirrors from hiera
Tollef Fog Heen [Thu, 1 Feb 2018 18:27:21 +0000 (19:27 +0100)]
Pull listen addresses for apache mirrors from hiera

This is slightly crazy with a bit of transitional logic.

6 years agoremove bendel/lists blackhole rules that are probably long obsolete
Peter Palfrader [Thu, 1 Feb 2018 18:23:22 +0000 (19:23 +0100)]
remove bendel/lists blackhole rules that are probably long obsolete

6 years agoFix yaml syntax
Tollef Fog Heen [Thu, 1 Feb 2018 18:16:59 +0000 (19:16 +0100)]
Fix yaml syntax

6 years agoAdd extra metadata for debian_mirror hosts
Tollef Fog Heen [Thu, 1 Feb 2018 18:08:38 +0000 (19:08 +0100)]
Add extra metadata for debian_mirror hosts

This might break puppet completely, will pick up the pieces if so.