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

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