Peter Palfrader [Sun, 8 Sep 2019 19:05:59 +0000 (21:05 +0200)]
Log exit code of make-one-base-backup
Peter Palfrader [Sun, 8 Sep 2019 14:03:04 +0000 (16:03 +0200)]
no longer let thijs run tcpdump on klecker
Peter Palfrader [Sun, 8 Sep 2019 14:01:57 +0000 (16:01 +0200)]
Split out jenkins sudoers entries
Peter Palfrader [Sun, 8 Sep 2019 14:00:36 +0000 (16:00 +0200)]
whitespace change only
Peter Palfrader [Sun, 8 Sep 2019 13:58:19 +0000 (15:58 +0200)]
sudoers: include /etc/sudoers.d/
Peter Palfrader [Sun, 8 Sep 2019 13:57:14 +0000 (15:57 +0200)]
Create and own /etc/sudoers.d
Peter Palfrader [Sun, 8 Sep 2019 13:55:55 +0000 (15:55 +0200)]
Install libpam-pwdfile
Peter Palfrader [Sun, 8 Sep 2019 13:54:58 +0000 (15:54 +0200)]
no longer try release-specific sudoers files
Peter Palfrader [Sun, 8 Sep 2019 13:54:10 +0000 (15:54 +0200)]
sudo: whitespace change only
Peter Palfrader [Sun, 8 Sep 2019 13:53:00 +0000 (15:53 +0200)]
Make jenkins a proper role
Peter Palfrader [Sun, 8 Sep 2019 13:46:52 +0000 (15:46 +0200)]
make a dsa_systemd::linger to enable or disable lingering consistently
Aurelien Jarno [Sun, 8 Sep 2019 13:37:00 +0000 (15:37 +0200)]
Enable lingering for jenkins user for jenkins role
Peter Palfrader [Sun, 8 Sep 2019 13:36:05 +0000 (15:36 +0200)]
ignore old PG on snapshotdb-manda-01 until January. Hopefully we will have upgraded by then
Peter Palfrader [Sun, 8 Sep 2019 11:53:12 +0000 (13:53 +0200)]
switch package{} in bacula::client to ensure_packages
Peter Palfrader [Sun, 8 Sep 2019 11:52:17 +0000 (13:52 +0200)]
switch package{} in bacula::director to ensure_packages
Peter Palfrader [Sun, 8 Sep 2019 11:49:52 +0000 (13:49 +0200)]
minor comments
Peter Palfrader [Sun, 8 Sep 2019 11:42:15 +0000 (13:42 +0200)]
Make all the settings parameters. the (unused) bacula_fd_port from hiera is now bacula::bacula_client_port
Peter Palfrader [Sun, 8 Sep 2019 11:39:24 +0000 (13:39 +0200)]
cleanup old, commented out hiera info
Peter Palfrader [Sun, 8 Sep 2019 11:31:22 +0000 (13:31 +0200)]
bacula directori and storage: whitespace change only
Peter Palfrader [Sun, 8 Sep 2019 11:10:05 +0000 (13:10 +0200)]
retire not-bacula-client local.yaml "role"
Peter Palfrader [Sun, 8 Sep 2019 11:08:01 +0000 (13:08 +0200)]
turn buildd into a real role
Peter Palfrader [Sun, 8 Sep 2019 10:52:32 +0000 (12:52 +0200)]
make motd check for no-backups depend on bacula::not_a_client class rather than local.yaml
Peter Palfrader [Sun, 8 Sep 2019 10:50:49 +0000 (12:50 +0200)]
no longer necessary to list porterboxes explicitly in local.yaml not-bacula-client
Peter Palfrader [Sun, 8 Sep 2019 10:50:13 +0000 (12:50 +0200)]
Do not backup porterboxes
Peter Palfrader [Sun, 8 Sep 2019 10:49:55 +0000 (12:49 +0200)]
do bacula backups iff we do not include the bacula::not_a_client class, 2
Peter Palfrader [Sun, 8 Sep 2019 10:48:59 +0000 (12:48 +0200)]
do bacula backups iff we do not include the bacula::not_a_client class
Peter Palfrader [Sun, 8 Sep 2019 10:44:00 +0000 (12:44 +0200)]
bacula::client -- support present/absent
Peter Palfrader [Sun, 8 Sep 2019 10:30:19 +0000 (12:30 +0200)]
fix a spacing in also-used in motd
Peter Palfrader [Sun, 8 Sep 2019 10:30:11 +0000 (12:30 +0200)]
remove porterbox purpose when we add the porterbox blurb to the motd
Peter Palfrader [Sun, 8 Sep 2019 10:28:15 +0000 (12:28 +0200)]
turn porterbox into a real role
Julien Cristau [Sun, 8 Sep 2019 09:43:45 +0000 (11:43 +0200)]
Mask openipmi service on dell hosts
Peter Palfrader [Sun, 8 Sep 2019 08:51:56 +0000 (10:51 +0200)]
Switch the wb-buildd ssh keys to collected snippets
Peter Palfrader [Sun, 8 Sep 2019 08:45:44 +0000 (10:45 +0200)]
roles/manifests/buildd_master: whitespace change only
Peter Palfrader [Sun, 8 Sep 2019 08:44:57 +0000 (10:44 +0200)]
Upgrade some notifies to warnings
Peter Palfrader [Sun, 8 Sep 2019 08:43:23 +0000 (10:43 +0200)]
Remove temporary DC19 rules for roles::sreview
Peter Palfrader [Sun, 8 Sep 2019 08:41:16 +0000 (10:41 +0200)]
Finish migrating to /etc/ssh/puppetkeys/ for exported ssh authkeys
Peter Palfrader [Sun, 8 Sep 2019 08:36:45 +0000 (10:36 +0200)]
Continue migrating to /etc/ssh/puppetkeys/ for exported ssh authkeys
Peter Palfrader [Sun, 8 Sep 2019 08:28:35 +0000 (10:28 +0200)]
Start migrating to /etc/ssh/puppetkeys/ for exported ssh authkeys
Peter Palfrader [Sun, 8 Sep 2019 08:24:41 +0000 (10:24 +0200)]
Make an /etc/ssh/puppetkeys for future use, and have sshd read keys from there already
Peter Palfrader [Sun, 8 Sep 2019 08:17:06 +0000 (10:17 +0200)]
Switch /etc/ssh/userkeys/buildd-uploader to collected snippets
Peter Palfrader [Sun, 8 Sep 2019 08:15:42 +0000 (10:15 +0200)]
roles/manifests/ssh_upload: whitespace change only
Peter Palfrader [Sun, 8 Sep 2019 07:33:56 +0000 (09:33 +0200)]
masters also talk to themselves
Peter Palfrader [Sun, 8 Sep 2019 07:29:00 +0000 (09:29 +0200)]
Only setup ssh in static_source if we are not also a static_master
Peter Palfrader [Sun, 8 Sep 2019 07:21:27 +0000 (09:21 +0200)]
rename a file correctly
Peter Palfrader [Sun, 8 Sep 2019 07:17:15 +0000 (09:17 +0200)]
Attempt to partition staticsync ssh setup
In the old setup, every host that is involved with staticsync can ssh to
every other host.
In this new setup:
- sources can only reach masters (not mirrors),
- mirrors can only reach masters (not sources), and
- masters still can talk to all other sources and mirrors
(but not other masters).
Peter Palfrader [Sun, 8 Sep 2019 07:11:05 +0000 (09:11 +0200)]
Move the non-roles static_base and static_srvdir to static/<foo>
Peter Palfrader [Sun, 8 Sep 2019 07:07:57 +0000 (09:07 +0200)]
Allow providing multiple tags to authorized_key_add
Peter Palfrader [Sun, 8 Sep 2019 06:47:06 +0000 (08:47 +0200)]
Of course just restoring the default symlink is not sufficient -- we also have to retire our own
Peter Palfrader [Sun, 8 Sep 2019 06:43:23 +0000 (08:43 +0200)]
Revert "want systemd-timesyncd from multi-user.target"
This reverts commit
443aa81b256b615c55d4fe987a556c663ad4589d.
By default, systemd-timesyncd.service is installed/wanted-by
sysinit.target. We changed that to multi-user.target about three
years ago, but it's not clear why we did that.
Revert to the defaults and see if it blows up. If yes, we have a chance
to find out exactly why we moved it. If not, we have one less thing
that gets messed with at every point release.
Peter Palfrader [Sat, 7 Sep 2019 23:21:27 +0000 (01:21 +0200)]
staticsync requires a pty
Peter Palfrader [Sat, 7 Sep 2019 23:14:37 +0000 (01:14 +0200)]
collect staticsync ssh authkeys
Peter Palfrader [Sat, 7 Sep 2019 23:13:59 +0000 (01:13 +0200)]
base::public_addresses: handle v4 only hosts like fasolo
Peter Palfrader [Sat, 7 Sep 2019 23:08:23 +0000 (01:08 +0200)]
export staticsync ssh keys, but do not yet collect
Peter Palfrader [Sat, 7 Sep 2019 22:54:54 +0000 (00:54 +0200)]
static: whitespace changes and turn double quotes into single quotes if they have no variables to expand
Peter Palfrader [Sat, 7 Sep 2019 22:39:59 +0000 (00:39 +0200)]
store ssh auth key snippets for buildd wb and upload access, but do not collect just yet
Peter Palfrader [Sat, 7 Sep 2019 22:32:26 +0000 (00:32 +0200)]
fix class names
Peter Palfrader [Sat, 7 Sep 2019 22:30:43 +0000 (00:30 +0200)]
Split buildd class into small pieces
Peter Palfrader [Sat, 7 Sep 2019 22:16:03 +0000 (00:16 +0200)]
remove long dead and commented out code in munin
Peter Palfrader [Sat, 7 Sep 2019 22:12:21 +0000 (00:12 +0200)]
add a comment saying which host a key comes from
Peter Palfrader [Sat, 7 Sep 2019 22:06:34 +0000 (00:06 +0200)]
ssh setup for weblog sync
Peter Palfrader [Sat, 7 Sep 2019 22:01:04 +0000 (00:01 +0200)]
switch ssh-keygens to ssh::keygen
Peter Palfrader [Sat, 7 Sep 2019 21:54:40 +0000 (23:54 +0200)]
ssh authkeys: Put hostname in exported ferm rule
Peter Palfrader [Sat, 7 Sep 2019 21:52:16 +0000 (23:52 +0200)]
And maintain the geodnssync authkeys file on the primary in puppet too
Peter Palfrader [Sat, 7 Sep 2019 21:47:46 +0000 (23:47 +0200)]
stop using virtual resources for ferm::rule
They serve no purpose and make it needlessly difficult to properly
deploy exported firewall rules, as they then realize where they
shouldn't.
Peter Palfrader [Sat, 7 Sep 2019 21:29:45 +0000 (23:29 +0200)]
put collect tag into ferm rule name
Peter Palfrader [Sat, 7 Sep 2019 21:25:24 +0000 (23:25 +0200)]
do not hardcode dns primary ssh key for syncing to secondaries
Peter Palfrader [Sat, 7 Sep 2019 21:22:37 +0000 (23:22 +0200)]
ssh::authorized_key_add: warn if the key does not exist
Peter Palfrader [Sat, 7 Sep 2019 21:19:34 +0000 (23:19 +0200)]
Make a roles::dns_geodns
Peter Palfrader [Sat, 7 Sep 2019 21:11:54 +0000 (23:11 +0200)]
Add sshkey for dnsadm
Peter Palfrader [Sat, 7 Sep 2019 21:09:20 +0000 (23:09 +0200)]
If we do not have a fact, notify out early
Peter Palfrader [Sat, 7 Sep 2019 21:08:23 +0000 (23:08 +0200)]
facter for geodnssync
Peter Palfrader [Sat, 7 Sep 2019 21:07:42 +0000 (23:07 +0200)]
Create ssh keys for user geodnssync
Peter Palfrader [Sat, 7 Sep 2019 21:06:50 +0000 (23:06 +0200)]
Add an ssh::keygen to create userkeys
Peter Palfrader [Sat, 7 Sep 2019 20:31:56 +0000 (22:31 +0200)]
Remove irqbalance on buster
Peter Palfrader [Sat, 7 Sep 2019 18:06:43 +0000 (20:06 +0200)]
make wuiet be buildd_master via a hiera class include
Peter Palfrader [Sat, 7 Sep 2019 18:06:27 +0000 (20:06 +0200)]
Remove unused buildd_master from local.yaml
Peter Palfrader [Sat, 7 Sep 2019 18:00:48 +0000 (20:00 +0200)]
Move broken-rtc from a localinfo "role" defined in local.yaml to a class included via hiera
Peter Palfrader [Sat, 7 Sep 2019 17:58:48 +0000 (19:58 +0200)]
remove arm-arm-02 from broken-rtc in local.yaml -- the host no longer exists
Peter Palfrader [Sat, 7 Sep 2019 17:23:03 +0000 (19:23 +0200)]
Try to retire the site module: move site::aptrepo to base
Peter Palfrader [Sat, 7 Sep 2019 17:21:10 +0000 (19:21 +0200)]
Try to retire the site module: move site::alternative to base
Peter Palfrader [Sat, 7 Sep 2019 17:20:16 +0000 (19:20 +0200)]
remove unused site::limit
Peter Palfrader [Sat, 7 Sep 2019 17:15:46 +0000 (19:15 +0200)]
Try to retire the site module: move sysctl to base
Peter Palfrader [Sat, 7 Sep 2019 17:04:39 +0000 (19:04 +0200)]
Try to retire the site module: move linux_module to base
Peter Palfrader [Sat, 7 Sep 2019 16:57:30 +0000 (18:57 +0200)]
remove barriere volumes at bytemark, the VM has been moved away
Peter Palfrader [Sat, 7 Sep 2019 16:20:46 +0000 (18:20 +0200)]
ssh restrict dns geo and dns primary hosts
Peter Palfrader [Sat, 7 Sep 2019 16:18:52 +0000 (18:18 +0200)]
no longer need to manually whitelist adayevskaya on denis
Peter Palfrader [Sat, 7 Sep 2019 16:17:35 +0000 (18:17 +0200)]
correctly spell username
Peter Palfrader [Sat, 7 Sep 2019 16:15:42 +0000 (18:15 +0200)]
and gitolite ssh triggers to the dns host
Peter Palfrader [Sat, 7 Sep 2019 15:57:36 +0000 (17:57 +0200)]
gitolite pushes puppetmaster
Peter Palfrader [Sat, 7 Sep 2019 15:52:54 +0000 (17:52 +0200)]
split includes out of base class so things are included a bit later and things like classes.include?("puppetmaster") work
Peter Palfrader [Sat, 7 Sep 2019 15:45:03 +0000 (17:45 +0200)]
make puppetmaster a role included via hiera
Peter Palfrader [Sat, 7 Sep 2019 15:40:35 +0000 (17:40 +0200)]
Nothing cares about the $dbpassword variable we set on handel. Remove it
Peter Palfrader [Sat, 7 Sep 2019 15:28:44 +0000 (17:28 +0200)]
unify roleaccount facter for staticsync, weblogsync, buildd, portforwarder
Peter Palfrader [Sat, 7 Sep 2019 15:23:56 +0000 (17:23 +0200)]
postgresql_key -> postgres_key
Peter Palfrader [Sat, 7 Sep 2019 15:21:39 +0000 (17:21 +0200)]
prepare unifying roleaccount facter
Peter Palfrader [Sat, 7 Sep 2019 15:07:18 +0000 (17:07 +0200)]
adayevskaya is the dsa_gitolite host, dillon the dsa_wiki buildhost
Peter Palfrader [Sat, 7 Sep 2019 15:06:09 +0000 (17:06 +0200)]
Add roles for the dsa gitolite host and the dsa wiki buildhost
The gitolite host ssh triggers the buildhost.
Peter Palfrader [Sat, 7 Sep 2019 15:05:24 +0000 (17:05 +0200)]
Add puppet classes to store and collect ssh authkeys information
Peter Palfrader [Sat, 7 Sep 2019 15:08:24 +0000 (17:08 +0200)]
Define public IP addresses in base since we cannot trust facter
Peter Palfrader [Sat, 7 Sep 2019 14:19:33 +0000 (16:19 +0200)]
facter for git key