mirror/dsa-puppet.git
4 years agoTry to avoid reserved site keyword
Peter Palfrader [Fri, 13 Sep 2019 10:55:23 +0000 (12:55 +0200)]
Try to avoid reserved site keyword

4 years agodisallow puppet access from clients for now
Peter Palfrader [Fri, 13 Sep 2019 10:34:55 +0000 (12:34 +0200)]
disallow puppet access from clients for now

4 years agoDrop unused file
Aurelien Jarno [Thu, 12 Sep 2019 18:03:20 +0000 (20:03 +0200)]
Drop unused file

4 years agoAdd wuiet volumes at UBC
Aurelien Jarno [Thu, 12 Sep 2019 18:02:08 +0000 (20:02 +0200)]
Add wuiet volumes at UBC

4 years agosplit out onionmaster into its own role
Peter Palfrader [Thu, 12 Sep 2019 07:19:07 +0000 (09:19 +0200)]
split out onionmaster into its own role

4 years agoRemove the pkglist fact. It's a) unused and b) slightly buggy
Peter Palfrader [Wed, 11 Sep 2019 11:38:43 +0000 (13:38 +0200)]
Remove the pkglist fact.  It's a) unused and b) slightly buggy

4 years agoMake static-master-ubc-01 a static-master
Peter Palfrader [Wed, 11 Sep 2019 08:46:40 +0000 (10:46 +0200)]
Make static-master-ubc-01 a static-master

4 years agoinclude static_master class using hiera
Peter Palfrader [Wed, 11 Sep 2019 08:45:15 +0000 (10:45 +0200)]
include static_master class using hiera

4 years agoRetire unused ferm varible definitions for HOST_STATIC*
Peter Palfrader [Wed, 11 Sep 2019 08:31:36 +0000 (10:31 +0200)]
Retire unused ferm varible definitions for HOST_STATIC*

4 years agossh between static hosts should be handled by the ssh::authkey storedconf stuff
Peter Palfrader [Wed, 11 Sep 2019 08:31:19 +0000 (10:31 +0200)]
ssh between static hosts should be handled by the ssh::authkey storedconf stuff

4 years agoWe do not do bittorrent between static hosts (yet/these days)
Peter Palfrader [Wed, 11 Sep 2019 08:30:13 +0000 (10:30 +0200)]
We do not do bittorrent between static hosts (yet/these days)

4 years agorestrict ssh to static-master-ubc-01 by default. we really really should move this...
Peter Palfrader [Wed, 11 Sep 2019 08:23:52 +0000 (10:23 +0200)]
restrict ssh to static-master-ubc-01 by default.  we really really should move this config out of the template

4 years agorestrict ssh to static-master-grnet-01 by default. we really should move this config...
Peter Palfrader [Wed, 11 Sep 2019 08:22:56 +0000 (10:22 +0200)]
restrict ssh to static-master-grnet-01 by default.  we really should move this config out of the template

4 years agoAdd static-master-ubc-01 volumes
Peter Palfrader [Wed, 11 Sep 2019 07:08:51 +0000 (09:08 +0200)]
Add static-master-ubc-01 volumes

4 years agofix a typo
Peter Palfrader [Wed, 11 Sep 2019 07:08:45 +0000 (09:08 +0200)]
fix a typo

4 years agoretire long obsolete file removals
Peter Palfrader [Tue, 10 Sep 2019 20:49:30 +0000 (22:49 +0200)]
retire long obsolete file removals

4 years agoremove stray file
Peter Palfrader [Tue, 10 Sep 2019 20:49:16 +0000 (22:49 +0200)]
remove stray file

4 years agofix undefined variable issue
Peter Palfrader [Tue, 10 Sep 2019 20:35:29 +0000 (22:35 +0200)]
fix undefined variable issue

4 years agoget list of mirrors from puppet
Peter Palfrader [Tue, 10 Sep 2019 20:33:55 +0000 (22:33 +0200)]
get list of mirrors from puppet

4 years agoMake static-components.conf.erb more readable, maybe
Peter Palfrader [Tue, 10 Sep 2019 20:30:31 +0000 (22:30 +0200)]
Make static-components.conf.erb more readable, maybe

4 years agosort mirror names
Peter Palfrader [Tue, 10 Sep 2019 20:25:49 +0000 (22:25 +0200)]
sort mirror names

4 years agoDocument static-components.yaml
Peter Palfrader [Tue, 10 Sep 2019 19:58:33 +0000 (21:58 +0200)]
Document static-components.yaml

4 years agostatic-components: rename variables
Peter Palfrader [Tue, 10 Sep 2019 19:58:23 +0000 (21:58 +0200)]
static-components: rename variables

4 years agofix a fact name. sed was too eager
Peter Palfrader [Tue, 10 Sep 2019 19:29:40 +0000 (21:29 +0200)]
fix a fact name.  sed was too eager

4 years agomake manziarly a static master
Julien Cristau [Tue, 10 Sep 2019 19:16:34 +0000 (21:16 +0200)]
make manziarly a static master

4 years agoTell apt to use ca-global for cdn-aws.deb.debian.org
Julien Cristau [Tue, 10 Sep 2019 18:57:57 +0000 (20:57 +0200)]
Tell apt to use ca-global for cdn-aws.deb.debian.org

4 years agoautofs: manziarly is now ubc
Julien Cristau [Tue, 10 Sep 2019 18:15:50 +0000 (20:15 +0200)]
autofs: manziarly is now ubc

4 years agoTry to make resolv.conf options actual class parameters
Peter Palfrader [Tue, 10 Sep 2019 17:13:02 +0000 (19:13 +0200)]
Try to make resolv.conf options actual class parameters

4 years agoUse https on deb.debian.org
Peter Palfrader [Tue, 10 Sep 2019 16:10:56 +0000 (18:10 +0200)]
Use https on deb.debian.org

4 years agoThe trick for merge options to work is to use lookup() rather than hiera()
Peter Palfrader [Tue, 10 Sep 2019 15:05:01 +0000 (17:05 +0200)]
The trick for merge options to work is to use lookup() rather than hiera()

4 years agotemporarily hardcode debian.org and end of searchpaths
Peter Palfrader [Tue, 10 Sep 2019 14:57:35 +0000 (16:57 +0200)]
temporarily hardcode debian.org and end of searchpaths

4 years agoresolv.conf cleanup, fix 1
Peter Palfrader [Tue, 10 Sep 2019 14:55:26 +0000 (16:55 +0200)]
resolv.conf cleanup, fix 1

4 years agoresolv.conf cleanup
Peter Palfrader [Tue, 10 Sep 2019 14:54:41 +0000 (16:54 +0200)]
resolv.conf cleanup

4 years agovolumes for manziarly at ubc
Julien Cristau [Tue, 10 Sep 2019 14:39:14 +0000 (16:39 +0200)]
volumes for manziarly at ubc

4 years agohoster.yaml: remove obsolete comments
Peter Palfrader [Tue, 10 Sep 2019 14:30:54 +0000 (16:30 +0200)]
hoster.yaml: remove obsolete comments

4 years agoremove debian mirrors from hoster.yaml
Peter Palfrader [Tue, 10 Sep 2019 14:29:51 +0000 (16:29 +0200)]
remove debian mirrors from hoster.yaml

4 years agofix hiera lookup call
Peter Palfrader [Tue, 10 Sep 2019 14:28:59 +0000 (16:28 +0200)]
fix hiera lookup call

4 years agoschroot: use hiera debian mirror
Peter Palfrader [Tue, 10 Sep 2019 14:25:33 +0000 (16:25 +0200)]
schroot: use hiera debian mirror

4 years agoferm::ftp_conntrack: remove jessie support
Julien Cristau [Tue, 10 Sep 2019 12:17:00 +0000 (14:17 +0200)]
ferm::ftp_conntrack: remove jessie support

4 years agodebian_org: remove jessie support
Julien Cristau [Tue, 10 Sep 2019 12:16:21 +0000 (14:16 +0200)]
debian_org: remove jessie support

4 years agodebian_org::apt: remove jessie support
Julien Cristau [Tue, 10 Sep 2019 12:15:18 +0000 (14:15 +0200)]
debian_org::apt: remove jessie support

4 years agoget debian mirror for apt from hiera (not yet doing that for schroot)
Peter Palfrader [Tue, 10 Sep 2019 12:12:49 +0000 (14:12 +0200)]
get debian mirror for apt from hiera (not yet doing that for schroot)

4 years agouse correct tag for ssh authkeys @@ferm::rule
Peter Palfrader [Tue, 10 Sep 2019 12:03:52 +0000 (14:03 +0200)]
use correct tag for ssh authkeys @@ferm::rule

4 years agoremove retired hosters: carnet, freenet, helsinki, linaro, ugent, uni-karlsruhe,...
Peter Palfrader [Tue, 10 Sep 2019 11:49:52 +0000 (13:49 +0200)]
remove retired hosters: carnet, freenet, helsinki, linaro, ugent, uni-karlsruhe, xs4all

4 years agohoster: sort alphabetically
Peter Palfrader [Tue, 10 Sep 2019 11:47:15 +0000 (13:47 +0200)]
hoster: sort alphabetically

4 years agomove hoster hieradata into its own directory
Peter Palfrader [Tue, 10 Sep 2019 11:42:00 +0000 (13:42 +0200)]
move hoster hieradata into its own directory

4 years agoAdd a comment to hieradata/common.yaml/roles
Peter Palfrader [Tue, 10 Sep 2019 11:31:33 +0000 (13:31 +0200)]
Add a comment to hieradata/common.yaml/roles

4 years agodebian_org::apt: Retire some <= Debian8(jessie) codepaths
Peter Palfrader [Tue, 10 Sep 2019 11:27:16 +0000 (13:27 +0200)]
debian_org::apt: Retire some <= Debian8(jessie) codepaths

4 years agoretire rsync snapshot service for lw*
Peter Palfrader [Tue, 10 Sep 2019 08:10:36 +0000 (10:10 +0200)]
retire rsync snapshot service for lw*

4 years agorsync::site: remove unused variables, define parameter types
Peter Palfrader [Tue, 10 Sep 2019 08:09:40 +0000 (10:09 +0200)]
rsync::site: remove unused variables, define parameter types

4 years agomove rsync stunnels also to dsa_systemd::socket_service. This should be a nop
Peter Palfrader [Tue, 10 Sep 2019 08:00:00 +0000 (10:00 +0200)]
move rsync stunnels also to dsa_systemd::socket_service.  This should be a nop

4 years agofix a variable name
Peter Palfrader [Tue, 10 Sep 2019 07:55:59 +0000 (09:55 +0200)]
fix a variable name

4 years agomove rsync service/socket setup into a dsa_systemd::socket_service
Peter Palfrader [Tue, 10 Sep 2019 07:52:48 +0000 (09:52 +0200)]
move rsync service/socket setup into a dsa_systemd::socket_service

4 years agoRemove re-statement of default mode, owner, and group
Peter Palfrader [Tue, 10 Sep 2019 07:41:26 +0000 (09:41 +0200)]
Remove re-statement of default mode, owner, and group

4 years agorsync::site cleanup: try to fix ordering when we remove a service
Peter Palfrader [Tue, 10 Sep 2019 07:37:56 +0000 (09:37 +0200)]
rsync::site cleanup: try to fix ordering when we remove a service

4 years agorsync::site cleanup: move file and service names into variable
Peter Palfrader [Tue, 10 Sep 2019 07:34:29 +0000 (09:34 +0200)]
rsync::site cleanup: move file and service names into variable

4 years agorsync::site dependency cleanup, part 1
Peter Palfrader [Tue, 10 Sep 2019 07:31:27 +0000 (09:31 +0200)]
rsync::site dependency cleanup, part 1

We define three things: a .service file, a .socket file, and a service.

Previously, the service would require the two files, and the .socket
file would also notify the service.  Change that to the service
subscribing to the files, so it gets a) applied after the files, and
b) refreshed if either changes.

This seems cleaner.  The net change should be that the service gets
also notified if the .service file changes.

4 years agoRevert "rsync::site dependency cleanup, part 1"
Peter Palfrader [Tue, 10 Sep 2019 07:30:58 +0000 (09:30 +0200)]
Revert "rsync::site dependency cleanup, part 1"

This reverts commit e18adfd6c665a99d3e5cde12b9cac516c39bda6b.

The commit contained unrelated changes.  Will re-commit the relevant
ones soon.

4 years agorsync::site dependency cleanup, part 1
Peter Palfrader [Tue, 10 Sep 2019 07:25:51 +0000 (09:25 +0200)]
rsync::site dependency cleanup, part 1

We define three things: a .service file, a .socket file, and a service.

Previously, the service would require the two files, and the .socket
file would also notify the service.  Change that to the service
subscribing to the files, so it gets a) applied after the files, and
b) refreshed if either changes.

This seems cleaner.  The net change should be that the service gets
also notified if the .service file changes.

4 years agoremove snapshot rsync service on lw* snapshot storage nodes
Peter Palfrader [Tue, 10 Sep 2019 07:11:57 +0000 (09:11 +0200)]
remove snapshot rsync service on lw* snapshot storage nodes

This service was not published and it's unlikely to be useful in any
sane way these days.

4 years agorsync::site: typecheck $ensure parameter
Peter Palfrader [Tue, 10 Sep 2019 07:10:17 +0000 (09:10 +0200)]
rsync::site: typecheck $ensure parameter

4 years agorestrict,pty is a better way to get pty and disable everything else than listing...
Peter Palfrader [Tue, 10 Sep 2019 06:56:54 +0000 (08:56 +0200)]
restrict,pty is a better way to get pty and disable everything else than listing all the current else things now

4 years agoanarcat points out that maybe Optional[String] is better to use here
Peter Palfrader [Mon, 9 Sep 2019 20:35:32 +0000 (22:35 +0200)]
anarcat points out that maybe Optional[String] is better to use here

No idea if it works, but we'll find out eventually

4 years agothe dsa user on the draghi pushes compiled nagios config (nrpe) to the puppet master
Peter Palfrader [Mon, 9 Sep 2019 20:26:14 +0000 (22:26 +0200)]
the dsa user on the draghi pushes compiled nagios config (nrpe) to the puppet master

4 years agowhitespace change only
Peter Palfrader [Mon, 9 Sep 2019 20:25:00 +0000 (22:25 +0200)]
whitespace change only

4 years agoauthorized_key_add: allow undef value for key
Peter Palfrader [Mon, 9 Sep 2019 20:19:20 +0000 (22:19 +0200)]
authorized_key_add: allow undef value for key

4 years agothe letsencrypt user on the dns primary pushes certs to the puppet master
Peter Palfrader [Mon, 9 Sep 2019 20:16:39 +0000 (22:16 +0200)]
the letsencrypt user on the dns primary pushes certs to the puppet master

4 years agoroleaccounts: add dsa, letsencrypt
Peter Palfrader [Mon, 9 Sep 2019 20:00:56 +0000 (22:00 +0200)]
roleaccounts: add dsa, letsencrypt

4 years agoroleaccounts: reformat user list
Peter Palfrader [Mon, 9 Sep 2019 20:00:32 +0000 (22:00 +0200)]
roleaccounts: reformat user list

4 years agono pg on sibelius
Peter Palfrader [Mon, 9 Sep 2019 14:08:39 +0000 (16:08 +0200)]
no pg on sibelius

4 years agoganeti-reboot-cluster: describe what it does, and a license
Peter Palfrader [Mon, 9 Sep 2019 12:06:02 +0000 (14:06 +0200)]
ganeti-reboot-cluster: describe what it does, and a license

4 years agoDon't use versioned pg_basebackup
Julien Cristau [Mon, 9 Sep 2019 08:34:44 +0000 (10:34 +0200)]
Don't use versioned pg_basebackup

Use the latest so we know we can pass -X none.  -X fetch causes the
debsources backup to fail with a "requested WAL segment has already been
removed" error.

4 years agoLog exit code of make-one-base-backup
Peter Palfrader [Sun, 8 Sep 2019 19:05:59 +0000 (21:05 +0200)]
Log exit code of make-one-base-backup

4 years agono longer let thijs run tcpdump on klecker
Peter Palfrader [Sun, 8 Sep 2019 14:03:04 +0000 (16:03 +0200)]
no longer let thijs run tcpdump on klecker

4 years agoSplit out jenkins sudoers entries
Peter Palfrader [Sun, 8 Sep 2019 14:01:57 +0000 (16:01 +0200)]
Split out jenkins sudoers entries

4 years agowhitespace change only
Peter Palfrader [Sun, 8 Sep 2019 14:00:36 +0000 (16:00 +0200)]
whitespace change only

4 years agosudoers: include /etc/sudoers.d/
Peter Palfrader [Sun, 8 Sep 2019 13:58:19 +0000 (15:58 +0200)]
sudoers: include /etc/sudoers.d/

4 years agoCreate and own /etc/sudoers.d
Peter Palfrader [Sun, 8 Sep 2019 13:57:14 +0000 (15:57 +0200)]
Create and own /etc/sudoers.d

4 years agoInstall libpam-pwdfile
Peter Palfrader [Sun, 8 Sep 2019 13:55:55 +0000 (15:55 +0200)]
Install libpam-pwdfile

4 years agono longer try release-specific sudoers files
Peter Palfrader [Sun, 8 Sep 2019 13:54:58 +0000 (15:54 +0200)]
no longer try release-specific sudoers files

4 years agosudo: whitespace change only
Peter Palfrader [Sun, 8 Sep 2019 13:54:10 +0000 (15:54 +0200)]
sudo: whitespace change only

4 years agoMake jenkins a proper role
Peter Palfrader [Sun, 8 Sep 2019 13:53:00 +0000 (15:53 +0200)]
Make jenkins a proper role

4 years agomake a dsa_systemd::linger to enable or disable lingering consistently
Peter Palfrader [Sun, 8 Sep 2019 13:46:52 +0000 (15:46 +0200)]
make a dsa_systemd::linger to enable or disable lingering consistently

4 years agoEnable lingering for jenkins user for jenkins role
Aurelien Jarno [Sun, 8 Sep 2019 13:37:00 +0000 (15:37 +0200)]
Enable lingering for jenkins user for jenkins role

4 years agoignore old PG on snapshotdb-manda-01 until January. Hopefully we will have upgraded...
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

4 years agoswitch package{} in bacula::client to ensure_packages
Peter Palfrader [Sun, 8 Sep 2019 11:53:12 +0000 (13:53 +0200)]
switch package{} in bacula::client to ensure_packages

4 years agoswitch package{} in bacula::director to ensure_packages
Peter Palfrader [Sun, 8 Sep 2019 11:52:17 +0000 (13:52 +0200)]
switch package{} in bacula::director to ensure_packages

4 years agominor comments
Peter Palfrader [Sun, 8 Sep 2019 11:49:52 +0000 (13:49 +0200)]
minor comments

4 years agoMake all the settings parameters. the (unused) bacula_fd_port from hiera is now...
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

4 years agocleanup old, commented out hiera info
Peter Palfrader [Sun, 8 Sep 2019 11:39:24 +0000 (13:39 +0200)]
cleanup old, commented out hiera info

4 years agobacula directori and storage: whitespace change only
Peter Palfrader [Sun, 8 Sep 2019 11:31:22 +0000 (13:31 +0200)]
bacula directori and storage: whitespace change only

4 years agoretire not-bacula-client local.yaml "role"
Peter Palfrader [Sun, 8 Sep 2019 11:10:05 +0000 (13:10 +0200)]
retire not-bacula-client local.yaml "role"

4 years agoturn buildd into a real role
Peter Palfrader [Sun, 8 Sep 2019 11:08:01 +0000 (13:08 +0200)]
turn buildd into a real role

4 years agomake motd check for no-backups depend on bacula::not_a_client class rather than local...
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

4 years agono longer necessary to list porterboxes explicitly in local.yaml not-bacula-client
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

4 years agoDo not backup porterboxes
Peter Palfrader [Sun, 8 Sep 2019 10:50:13 +0000 (12:50 +0200)]
Do not backup porterboxes

4 years agodo bacula backups iff we do not include the bacula::not_a_client class, 2
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

4 years agodo bacula backups iff we do not include the bacula::not_a_client class
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

4 years agobacula::client -- support present/absent
Peter Palfrader [Sun, 8 Sep 2019 10:44:00 +0000 (12:44 +0200)]
bacula::client -- support present/absent

4 years agofix a spacing in also-used in motd
Peter Palfrader [Sun, 8 Sep 2019 10:30:19 +0000 (12:30 +0200)]
fix a spacing in also-used in motd