mirror/dsa-puppet.git
6 years agoUpdate concat
Peter Palfrader [Thu, 31 Aug 2017 21:19:46 +0000 (23:19 +0200)]
Update concat

6 years agoUpdate stdlib
Peter Palfrader [Thu, 31 Aug 2017 21:13:32 +0000 (23:13 +0200)]
Update stdlib

6 years agonewer pg module
Peter Palfrader [Thu, 31 Aug 2017 21:08:27 +0000 (23:08 +0200)]
newer pg module

6 years agosalsa: more mail setup
Peter Palfrader [Thu, 31 Aug 2017 20:02:58 +0000 (20:02 +0000)]
salsa: more mail setup

6 years agosalsa: set mail username and password
Peter Palfrader [Thu, 31 Aug 2017 19:11:18 +0000 (19:11 +0000)]
salsa: set mail username and password

6 years agosalsa: plan to deploy database with puppet, write out credentials to a .yaml file
Peter Palfrader [Thu, 31 Aug 2017 18:55:04 +0000 (18:55 +0000)]
salsa: plan to deploy database with puppet, write out credentials to a .yaml file

6 years agosalsa: no yarn handling
Peter Palfrader [Thu, 31 Aug 2017 18:31:58 +0000 (18:31 +0000)]
salsa: no yarn handling

6 years agoAdd actual postgresl module from puppetlabs
Peter Palfrader [Thu, 31 Aug 2017 18:26:59 +0000 (20:26 +0200)]
Add actual postgresl module from puppetlabs

6 years agoAdd postgresl module from puppetlabs
Peter Palfrader [Thu, 31 Aug 2017 18:26:29 +0000 (20:26 +0200)]
Add postgresl module from puppetlabs

6 years agoStart with salsa.debian.org role/module
Peter Palfrader [Thu, 31 Aug 2017 18:19:03 +0000 (18:19 +0000)]
Start with salsa.debian.org role/module

6 years agoAdd godard to salsa.debian.org role
Peter Palfrader [Thu, 31 Aug 2017 16:40:44 +0000 (16:40 +0000)]
Add godard to salsa.debian.org role

6 years agoreplace modules/nagios/files/dsa-nagios with a symlink to a new install location
Peter Palfrader [Thu, 31 Aug 2017 16:17:21 +0000 (16:17 +0000)]
replace modules/nagios/files/dsa-nagios with a symlink to a new install location

6 years agoReplace modules/exim/files/certs and modules/ssl/files/clientcerts with symlinks...
Peter Palfrader [Thu, 31 Aug 2017 16:05:36 +0000 (16:05 +0000)]
Replace modules/exim/files/certs and modules/ssl/files/clientcerts with symlinks to the auto-ca

6 years agoDo not put incoming.debian.org into klecker
Peter Palfrader [Wed, 30 Aug 2017 09:45:55 +0000 (11:45 +0200)]
Do not put incoming.debian.org into klecker

6 years agoinstall irqbalance on multi-cpu systems
Peter Palfrader [Wed, 30 Aug 2017 08:47:02 +0000 (08:47 +0000)]
install irqbalance on multi-cpu systems

6 years agoput a basic postfix config in place
Peter Palfrader [Wed, 30 Aug 2017 08:31:39 +0000 (08:31 +0000)]
put a basic postfix config in place

6 years agoput a basic postfix config in place
Peter Palfrader [Wed, 30 Aug 2017 08:31:12 +0000 (08:31 +0000)]
put a basic postfix config in place

6 years agoadd heavy_postfix setting in local.yaml, and set smarthosts for not-heavy-postfix...
Peter Palfrader [Wed, 30 Aug 2017 07:39:20 +0000 (07:39 +0000)]
add heavy_postfix setting in local.yaml, and set smarthosts for not-heavy-postfix postfix hosts

6 years agoHave postfix include debian_org::mail_incoming_port also
Peter Palfrader [Wed, 30 Aug 2017 07:26:08 +0000 (07:26 +0000)]
Have postfix include debian_org::mail_incoming_port also

6 years agoMove incoming mail port handling from exim to the debian_org module
Peter Palfrader [Wed, 30 Aug 2017 07:21:07 +0000 (07:21 +0000)]
Move incoming mail port handling from exim to the debian_org module

6 years agoconfine allow-all smtp in postfix to role lists
Peter Palfrader [Wed, 30 Aug 2017 07:14:29 +0000 (09:14 +0200)]
confine allow-all smtp in postfix to role lists

6 years agoMake the static-mirror-run log per component
Julien Cristau [Wed, 30 Aug 2017 07:08:03 +0000 (09:08 +0200)]
Make the static-mirror-run log per component

6 years agoAdd /srv/security.upload.d.o on suchon
Julien Cristau [Tue, 29 Aug 2017 21:35:41 +0000 (23:35 +0200)]
Add /srv/security.upload.d.o on suchon

6 years agoroute salsa.debian.org to godard.debian.org
Peter Palfrader [Tue, 29 Aug 2017 16:10:13 +0000 (18:10 +0200)]
route salsa.debian.org to godard.debian.org

6 years agomaintain /srv/keyring.debian.org tree in puppet
Peter Palfrader [Tue, 29 Aug 2017 08:17:19 +0000 (10:17 +0200)]
maintain /srv/keyring.debian.org tree in puppet

6 years agoAdd factor to determine whether a host has a keyring.debian.org mirror
Peter Palfrader [Tue, 29 Aug 2017 08:12:43 +0000 (10:12 +0200)]
Add factor to determine whether a host has a keyring.debian.org mirror

6 years agorun every 2 hours instead of hourly
Peter Palfrader [Mon, 28 Aug 2017 12:40:55 +0000 (14:40 +0200)]
run every 2 hours instead of hourly

6 years agoSplit header of puppet-nagios-wraps into own fragment, set orders
Peter Palfrader [Mon, 28 Aug 2017 12:39:39 +0000 (14:39 +0200)]
Split header of puppet-nagios-wraps into own fragment, set orders

6 years agoMigrate /etc/cron.d/puppet-nagios-hpsa to the puppet-nagios-wraps concat
Peter Palfrader [Mon, 28 Aug 2017 12:37:59 +0000 (14:37 +0200)]
Migrate /etc/cron.d/puppet-nagios-hpsa to the puppet-nagios-wraps concat

6 years agoSwitch /etc/cron.d/puppet-nagios-wraps to concat
Peter Palfrader [Mon, 28 Aug 2017 12:35:32 +0000 (14:35 +0200)]
Switch /etc/cron.d/puppet-nagios-wraps to concat

6 years agoPut the puppet motd into /etc/motd on stretch hosts
Peter Palfrader [Mon, 28 Aug 2017 12:06:20 +0000 (14:06 +0200)]
Put the puppet motd into /etc/motd on stretch hosts

6 years agorun every 2 hours instead of hourly
Peter Palfrader [Mon, 28 Aug 2017 11:51:05 +0000 (13:51 +0200)]
run every 2 hours instead of hourly

6 years agoUse $::smartarraycontroller_hpsa or $::smartarraycontroller_cciss instead of $::smart...
Peter Palfrader [Mon, 28 Aug 2017 11:50:17 +0000 (13:50 +0200)]
Use $::smartarraycontroller_hpsa or $::smartarraycontroller_cciss instead of $::smartarraycontroller

6 years agorun dsa-check-hpssacli out of cron on smartarraycontroller_hpsa hosts
Peter Palfrader [Mon, 28 Aug 2017 11:49:37 +0000 (13:49 +0200)]
run dsa-check-hpssacli out of cron on smartarraycontroller_hpsa hosts

6 years agosplit smartarraycontroller into smartarraycontroller_cciss and smartarraycontroller_hpsa
Peter Palfrader [Mon, 28 Aug 2017 11:39:52 +0000 (13:39 +0200)]
split smartarraycontroller into smartarraycontroller_cciss and smartarraycontroller_hpsa

6 years agoWe no longer need the memcached module - do not list it in 3rdparty/Puppetfile
Peter Palfrader [Mon, 28 Aug 2017 08:29:20 +0000 (10:29 +0200)]
We no longer need the memcached module - do not list it in 3rdparty/Puppetfile

6 years agosetup-dchroot: only keep 2 old chroots
Aurelien Jarno [Mon, 28 Aug 2017 08:24:04 +0000 (10:24 +0200)]
setup-dchroot: only keep 2 old chroots

Since the switch to gcc-7 as default compiler, the chroots are much
bigger. Only keep the two last ones to save space.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoubc-bl[26] are down -- no longer use them as NTP servers
Peter Palfrader [Sun, 27 Aug 2017 14:15:37 +0000 (16:15 +0200)]
ubc-bl[26] are down -- no longer use them as NTP servers

6 years agomanage grub on bytemark blades, and enable nopat
Peter Palfrader [Sun, 27 Aug 2017 11:39:00 +0000 (13:39 +0200)]
manage grub on bytemark blades, and enable nopat

6 years agomultipath/templates/multipath-bm-os.conf.erb is unused, remove
Peter Palfrader [Sun, 27 Aug 2017 09:02:08 +0000 (11:02 +0200)]
multipath/templates/multipath-bm-os.conf.erb is unused, remove

6 years agoRemove a bunch of 3rdparty modules that seem unused
Peter Palfrader [Sun, 27 Aug 2017 09:00:42 +0000 (11:00 +0200)]
Remove a bunch of 3rdparty modules that seem unused

These are: apache, aviator, cinder, glance, horizon, inifile,
keystone, memcached, neutron, nova, openstacklib, qpid, vswitch.

6 years agomemcached (openstack) is no longer in use
Peter Palfrader [Sun, 27 Aug 2017 08:54:06 +0000 (10:54 +0200)]
memcached (openstack) is no longer in use

6 years agokeystone (openstack) is no longer in use
Peter Palfrader [Sun, 27 Aug 2017 08:53:14 +0000 (10:53 +0200)]
keystone (openstack) is no longer in use

6 years agoRemove elasticsearch module, it is no longer needed
Peter Palfrader [Sat, 26 Aug 2017 12:46:12 +0000 (14:46 +0200)]
Remove elasticsearch module, it is no longer needed

6 years agoRetire stockhausen/listsearch (RT#6848)
Peter Palfrader [Sat, 26 Aug 2017 12:45:46 +0000 (14:45 +0200)]
Retire stockhausen/listsearch (RT#6848)

6 years agoAdd antiharassment to callout_users, grey_users, rbllist, and rhsbllist
Peter Palfrader [Fri, 25 Aug 2017 16:49:43 +0000 (18:49 +0200)]
Add antiharassment to callout_users, grey_users, rbllist, and rhsbllist

6 years agovittoria on pg9.6
Peter Palfrader [Wed, 23 Aug 2017 17:37:41 +0000 (19:37 +0200)]
vittoria on pg9.6

6 years agoremoved weak ssh key; added new admin key
Luca Filipozzi [Mon, 21 Aug 2017 19:25:57 +0000 (19:25 +0000)]
removed weak ssh key; added new admin key

6 years agoUse ensure => "present" for video.debian.net ssl
Paul Wise [Mon, 21 Aug 2017 15:41:26 +0000 (11:41 -0400)]
Use ensure => "present" for video.debian.net ssl

It doesn't have any files so it doesn't have a static component.

ssl::service only transfers certificates for services that
have static components defined.

6 years agoAdd TLS for video.debian.net and the redirects within it
Paul Wise [Mon, 21 Aug 2017 11:40:08 +0000 (07:40 -0400)]
Add TLS for video.debian.net and the redirects within it

meetings-archive.debian.net now supports https so
using https for both the initial request and the
redirect to meetings-archive would be nice.

6 years agoDecommission gigault.debian.org
Aurelien Jarno [Sun, 20 Aug 2017 11:33:47 +0000 (13:33 +0200)]
Decommission gigault.debian.org

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoDo limit group sftponly to sftp
Peter Palfrader [Sun, 20 Aug 2017 08:17:19 +0000 (10:17 +0200)]
Do limit group sftponly to sftp

6 years agomake sure /etc/default/grub.d is just populated by puppet
Peter Palfrader [Sat, 19 Aug 2017 14:40:55 +0000 (16:40 +0200)]
make sure /etc/default/grub.d is just populated by puppet

6 years agoSimplify setting grub_do_nopat
Peter Palfrader [Sat, 19 Aug 2017 14:35:55 +0000 (16:35 +0200)]
Simplify setting grub_do_nopat

6 years agoAlso redirect URLs that are missing a trailing slash
Paul Wise [Sat, 19 Aug 2017 14:11:31 +0000 (10:11 -0400)]
Also redirect URLs that are missing a trailing slash

Prevents 404 errors when loading http://deb.debian.org/debian

See-also: http://forums.debian.net/viewtopic.php?f=20&t=134288
See-also: <20170812033010.GA23525@elchanate.org>

6 years agoTry to route git mail to godard -- the service is called salsa
Peter Palfrader [Sat, 19 Aug 2017 13:15:18 +0000 (15:15 +0200)]
Try to route git mail to godard -- the service is called salsa

6 years agoTry to route git mail to godard
Peter Palfrader [Sat, 19 Aug 2017 10:04:40 +0000 (12:04 +0200)]
Try to route git mail to godard

6 years agospell aagaard right
Peter Palfrader [Fri, 18 Aug 2017 13:55:30 +0000 (15:55 +0200)]
spell aagaard right

6 years agofix templates
Peter Palfrader [Fri, 18 Aug 2017 13:46:09 +0000 (15:46 +0200)]
fix templates

6 years agofasolo grub
Peter Palfrader [Fri, 18 Aug 2017 13:44:41 +0000 (15:44 +0200)]
fasolo grub

6 years agomanage grub on arm-arm-03
Peter Palfrader [Fri, 18 Aug 2017 13:32:41 +0000 (15:32 +0200)]
manage grub on arm-arm-03

6 years agomanage grub on arm-arm-01
Peter Palfrader [Fri, 18 Aug 2017 13:28:23 +0000 (15:28 +0200)]
manage grub on arm-arm-01

6 years agoaagard, acker grub
Peter Palfrader [Fri, 18 Aug 2017 13:05:19 +0000 (15:05 +0200)]
aagard, acker grub

6 years agoskroutz does not need nopat
Peter Palfrader [Fri, 18 Aug 2017 13:04:50 +0000 (15:04 +0200)]
skroutz does not need nopat

6 years agoUse ttyAMA0 based on hostname instead of arch
Peter Palfrader [Fri, 18 Aug 2017 13:02:00 +0000 (15:02 +0200)]
Use ttyAMA0 based on hostname instead of arch

6 years agosplit grub and kernel serial
Peter Palfrader [Fri, 18 Aug 2017 12:52:35 +0000 (14:52 +0200)]
split grub and kernel serial

6 years agopuppetized grub on mirror-skroutz, mirror-accumu
Peter Palfrader [Fri, 18 Aug 2017 12:44:47 +0000 (14:44 +0200)]
puppetized grub on mirror-skroutz, mirror-accumu

6 years agobeach is on stretch too, so remove from experimental-apache
Aurelien Jarno [Fri, 18 Aug 2017 12:24:31 +0000 (14:24 +0200)]
beach is on stretch too, so remove from experimental-apache

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoRevert "temporarily disable ntp install fu while we get virt-what installed"
Peter Palfrader [Fri, 18 Aug 2017 12:15:58 +0000 (14:15 +0200)]
Revert "temporarily disable ntp install fu while we get virt-what installed"

This reverts commit e97ada246f6bbbdb8007d1156db9007b518aaf43.

6 years agodraghi is on stretch too, so remove from experimental-apache
Peter Palfrader [Fri, 18 Aug 2017 09:29:32 +0000 (11:29 +0200)]
draghi is on stretch too, so remove from experimental-apache

6 years agoMove nopat setting to puppetized grub on casulana,mirror-anu,sallinen,storace; and...
Peter Palfrader [Thu, 17 Aug 2017 19:46:56 +0000 (21:46 +0200)]
Move nopat setting to puppetized grub on casulana,mirror-anu,sallinen,storace; and also enable serial

6 years agoConfigure ubc blade grub with puppet
Peter Palfrader [Thu, 17 Aug 2017 18:19:15 +0000 (18:19 +0000)]
Configure ubc blade grub with puppet

6 years agotemporarily disable ntp install fu while we get virt-what installed
Peter Palfrader [Thu, 17 Aug 2017 09:37:29 +0000 (11:37 +0200)]
temporarily disable ntp install fu while we get virt-what installed

6 years agoinstall virt-what and use facter's default virtual facts
Peter Palfrader [Thu, 17 Aug 2017 09:31:43 +0000 (11:31 +0200)]
install virt-what and use facter's default virtual facts

Discussion in #d-a suggests that on jessie facter needs the virt-what
package installed for the virtual and is_virtual facts to work.
Install it on jessie (and purge on stretch and later), and revert to
using the facter's default facts about virtualization.

Also remove our own systemd based virt fact.

6 years agoUse new virt factor in grub manifest
Peter Palfrader [Thu, 17 Aug 2017 09:24:05 +0000 (11:24 +0200)]
Use new virt factor in grub manifest

6 years agoUse new virt factor in time manifest
Peter Palfrader [Thu, 17 Aug 2017 09:23:08 +0000 (11:23 +0200)]
Use new virt factor in time manifest

6 years agoadd a virt facter based on systemd
Peter Palfrader [Thu, 17 Aug 2017 09:19:49 +0000 (11:19 +0200)]
add a virt facter based on systemd

6 years agoAllow gitdoadm sudo to git on godard
Peter Palfrader [Wed, 16 Aug 2017 12:33:21 +0000 (14:33 +0200)]
Allow gitdoadm sudo to git on godard

6 years agoAnd set net.ifnames to 0
Peter Palfrader [Wed, 16 Aug 2017 11:49:36 +0000 (13:49 +0200)]
And set net.ifnames to 0

6 years agoAnd set net.ifnames to 0
Peter Palfrader [Wed, 16 Aug 2017 11:47:35 +0000 (13:47 +0200)]
And set net.ifnames to 0

6 years agoFix entry for hier
Peter Palfrader [Wed, 16 Aug 2017 11:38:10 +0000 (13:38 +0200)]
Fix entry for hier

6 years agoAdd godard
Peter Palfrader [Wed, 16 Aug 2017 11:37:27 +0000 (13:37 +0200)]
Add godard

6 years agoAdd godard (new git hosting host)
Peter Palfrader [Wed, 16 Aug 2017 09:06:41 +0000 (11:06 +0200)]
Add godard (new git hosting host)

6 years agoAdd 62.46.0.0/15 to weasel's networks
Peter Palfrader [Sun, 13 Aug 2017 17:11:42 +0000 (19:11 +0200)]
Add 62.46.0.0/15 to weasel's networks

6 years agolvm-conova-ganeti.conf: disable lvmetad
Aurelien Jarno [Sun, 13 Aug 2017 02:53:02 +0000 (04:53 +0200)]
lvm-conova-ganeti.conf: disable lvmetad

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agolvm-conova-ganeti.conf: setup a global_filter
Aurelien Jarno [Sat, 12 Aug 2017 21:43:03 +0000 (23:43 +0200)]
lvm-conova-ganeti.conf: setup a global_filter

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoRevert "Revert nrpe dsa2_shutdown command to its state before dsa-is-shutdown-scheduled"
Aurelien Jarno [Sat, 12 Aug 2017 15:54:26 +0000 (17:54 +0200)]
Revert "Revert nrpe dsa2_shutdown command to its state before dsa-is-shutdown-scheduled"

This reverts commit 971573de556cd68ce1ada54f7a07c366c69ed953.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agodsa-is-shutdown-scheduled: rewrite the systemd-shutdownd test using pgrep
Aurelien Jarno [Sat, 12 Aug 2017 15:52:00 +0000 (17:52 +0200)]
dsa-is-shutdown-scheduled: rewrite the systemd-shutdownd test using pgrep

Otherwise we end up detecting the command started by dsa-is-shutdown-scheduled
when the script is launched twice or more at the same time.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoThe ACL file is not actually a template, so do this with puppet instead
Tollef Fog Heen [Sat, 12 Aug 2017 14:27:48 +0000 (16:27 +0200)]
The ACL file is not actually a template, so do this with puppet instead

Just use two files for now and logic in the puppet recipe.

6 years agoAdd function to emit the correct geoip format for bind versions
Tollef Fog Heen [Sat, 12 Aug 2017 14:21:08 +0000 (16:21 +0200)]
Add function to emit the correct geoip format for bind versions

BIND 9.9 and BIND 9.10 have different formats for geoip.  Add a
function that DTRT, and test it slightly before doing it to all countries.

6 years agoRevert nrpe dsa2_shutdown command to its state before dsa-is-shutdown-scheduled
Julien Cristau [Fri, 11 Aug 2017 23:12:03 +0000 (19:12 -0400)]
Revert nrpe dsa2_shutdown command to its state before dsa-is-shutdown-scheduled

Let's try if that restores some sanity to mini-nag.

6 years agomilanollo on stretch, no more experimental apache
Julien Cristau [Fri, 11 Aug 2017 20:49:39 +0000 (16:49 -0400)]
milanollo on stretch, no more experimental apache

6 years agoDo not backup the other Apache disk cache
Paul Wise [Thu, 10 Aug 2017 13:30:22 +0000 (09:30 -0400)]
Do not backup the other Apache disk cache

Avoids warnings due to races when it is cleaned/backed up at the same time:

    Could not stat "/srv/apache-cache/mod_cache_disk/r/k/txeIh19LMLMAVeQKsKcg.header": ERR=No such file or directory

6 years agosshd_config: remove protocol version 1 specific options
Aurelien Jarno [Wed, 9 Aug 2017 01:12:31 +0000 (03:12 +0200)]
sshd_config: remove protocol version 1 specific options

These options are useless as they only apply to protocol version 1,
while we explicitely force the protocol to version 2. They have started
to fill logs with deprecation warnings on stretch hosts.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoFix dell harder
Julien Cristau [Tue, 8 Aug 2017 23:10:27 +0000 (19:10 -0400)]
Fix dell harder

Their packages need libssl1.0.0 which is only in jessie, and don't
depend on it.

6 years agoraid/dell: rename aptrepo declaration to avoid conflict with raid/proliant
Julien Cristau [Tue, 8 Aug 2017 22:43:48 +0000 (18:43 -0400)]
raid/dell: rename aptrepo declaration to avoid conflict with raid/proliant

6 years agoAdd dell srvadmin tool to try and improve health monitoring
Julien Cristau [Tue, 8 Aug 2017 22:29:35 +0000 (18:29 -0400)]
Add dell srvadmin tool to try and improve health monitoring

6 years ago/etc/default/grub: fix serial console on arm64 VMs
Aurelien Jarno [Tue, 8 Aug 2017 22:36:34 +0000 (00:36 +0200)]
/etc/default/grub: fix serial console on arm64 VMs

arm64 VMs do not have a graphical card and have their serial device
named ttyAMA0.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoAdd a wrapper to call qemu-system-aarch64 from ganeti
Aurelien Jarno [Tue, 8 Aug 2017 22:04:37 +0000 (00:04 +0200)]
Add a wrapper to call qemu-system-aarch64 from ganeti

... until things get integrated upstream.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
6 years agoAdd codesign bits for secure boot
Julien Cristau [Mon, 8 May 2017 08:59:39 +0000 (10:59 +0200)]
Add codesign bits for secure boot