mirror/dsa-puppet.git
4 years agorename one ferm block
Peter Palfrader [Sun, 15 Sep 2019 18:02:56 +0000 (20:02 +0200)]
rename one ferm block

4 years agoRetire the apache_ratelimited role
Peter Palfrader [Sun, 15 Sep 2019 17:59:31 +0000 (19:59 +0200)]
Retire the apache_ratelimited role

And introduce a rate_limit param to the apache2 class.  The
bugs_web role sets that option to true on inclusion, as does
the packages role.

The snapshot role had slightly different rate limiting in the
apache class.  This has now been removed in favor of rate limiting
in the snapshot_web class.

To enable this, all web traffic (even on not-ratelimited systems)
is sent to the http chain.  At the end, all traffic gets accepted
and services that want to interfere can do things before prio 90.

4 years agowhitespace/quoting: modules/roles/manifests/snapshot_web.pp (make lint happy)
Peter Palfrader [Sun, 15 Sep 2019 17:52:04 +0000 (19:52 +0200)]
whitespace/quoting: modules/roles/manifests/snapshot_web.pp (make lint happy)

4 years agoReplace apache_prefork role with an mpm class option for apache2
Peter Palfrader [Sun, 15 Sep 2019 17:32:17 +0000 (19:32 +0200)]
Replace apache_prefork role with an mpm class option for apache2

4 years agothe linter only wants 4-digit modes
Peter Palfrader [Sun, 15 Sep 2019 17:07:53 +0000 (19:07 +0200)]
the linter only wants 4-digit modes

4 years agosnapshot_shell -> hiera role
Peter Palfrader [Sun, 15 Sep 2019 17:05:50 +0000 (19:05 +0200)]
snapshot_shell -> hiera role

4 years agosecurity_tracker -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 17:02:19 +0000 (19:02 +0200)]
security_tracker -> hiera role; explicitly include apache2

4 years agodrop has_role includes for sso*
Peter Palfrader [Sun, 15 Sep 2019 17:00:07 +0000 (19:00 +0200)]
drop has_role includes for sso*

4 years agoRetire sso_rp (SSO, relying party) role for hosts
Peter Palfrader [Sun, 15 Sep 2019 16:57:09 +0000 (18:57 +0200)]
Retire sso_rp (SSO, relying party) role for hosts

Instead, relying services should include roles::sso_rp.

4 years agotemporary fix for sso_rp/ca.crl.erb using the now-removed roles[sso] hostlist
Peter Palfrader [Sun, 15 Sep 2019 16:55:52 +0000 (18:55 +0200)]
temporary fix for sso_rp/ca.crl.erb using the now-removed roles[sso] hostlist

4 years agosso -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 16:45:03 +0000 (18:45 +0200)]
sso -> hiera role; explicitly include apache2

4 years agowiki -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 16:28:08 +0000 (18:28 +0200)]
wiki -> hiera role; explicitly include apache2

4 years agogit_master -> hiera role
Peter Palfrader [Sun, 15 Sep 2019 16:26:40 +0000 (18:26 +0200)]
git_master -> hiera role

4 years agosecurity_upload -> hiera role
Peter Palfrader [Sun, 15 Sep 2019 16:25:06 +0000 (18:25 +0200)]
security_upload -> hiera role

4 years agoi18n, l10n -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 16:21:34 +0000 (18:21 +0200)]
i18n, l10n -> hiera role; explicitly include apache2

4 years agoGet this hosts public IP address for the apache allow rather than going via roles
Peter Palfrader [Sun, 15 Sep 2019 16:20:25 +0000 (18:20 +0200)]
Get this hosts public IP address for the apache allow rather than going via roles

4 years agospell apache better
Peter Palfrader [Sun, 15 Sep 2019 16:16:32 +0000 (18:16 +0200)]
spell apache better

4 years agoplanet_{search,master} -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 16:13:36 +0000 (18:13 +0200)]
planet_{search,master} -> hiera role; explicitly include apache2

4 years agohistoricalpackages -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 16:11:07 +0000 (18:11 +0200)]
historicalpackages -> hiera role; explicitly include apache2

4 years agopackages -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 16:08:21 +0000 (18:08 +0200)]
packages -> hiera role; explicitly include apache2

4 years agowww_master -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 15:17:11 +0000 (17:17 +0200)]
www_master -> hiera role; explicitly include apache2

4 years agoRevert "Revert "ssh_upload -> hiera role""
Peter Palfrader [Sun, 15 Sep 2019 15:09:29 +0000 (17:09 +0200)]
Revert "Revert "ssh_upload -> hiera role""

This reverts commit 13581ee3cf37c33606b8c8317c0901459e34c313.

Try this again, now with an extra change in sshd_config

4 years agoThis file no longer exists
Peter Palfrader [Sun, 15 Sep 2019 15:08:50 +0000 (17:08 +0200)]
This file no longer exists

4 years agoRevert "ssh_upload -> hiera role"
Peter Palfrader [Sun, 15 Sep 2019 15:06:41 +0000 (17:06 +0200)]
Revert "ssh_upload -> hiera role"

This reverts commit fe6c9108858446d5081a4d3505280bafe018cbdc.

This change is not a nop as expected.  Revert until we figure out why.

4 years agossh_upload -> hiera role
Peter Palfrader [Sun, 15 Sep 2019 15:02:17 +0000 (17:02 +0200)]
ssh_upload -> hiera role

4 years agoftp_upload -> hiera role
Peter Palfrader [Sun, 15 Sep 2019 14:58:30 +0000 (16:58 +0200)]
ftp_upload -> hiera role

4 years agobacula_storage -> hiera role
Peter Palfrader [Sun, 15 Sep 2019 14:55:37 +0000 (16:55 +0200)]
bacula_storage -> hiera role

4 years agobacula_director -> hiera role
Peter Palfrader [Sun, 15 Sep 2019 14:52:08 +0000 (16:52 +0200)]
bacula_director -> hiera role

4 years agogobby -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 14:46:25 +0000 (16:46 +0200)]
gobby -> hiera role; explicitly include apache2

4 years agomanpages_dyn -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 14:43:05 +0000 (16:43 +0200)]
manpages_dyn -> hiera role; explicitly include apache2

4 years agopet -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 14:40:30 +0000 (16:40 +0200)]
pet -> hiera role; explicitly include apache2

4 years agowhitespace/quoting: modules/roles/manifests/ports_master.pp (make lint happy)
Peter Palfrader [Sun, 15 Sep 2019 14:37:37 +0000 (16:37 +0200)]
whitespace/quoting: modules/roles/manifests/ports_pp (make lint happy)

4 years agoRemove IP addresses from ports_mirror role and move them to hiera
Peter Palfrader [Sun, 15 Sep 2019 14:35:37 +0000 (16:35 +0200)]
Remove IP addresses from ports_mirror role and move them to hiera

4 years agoports_mirror* -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 14:30:58 +0000 (16:30 +0200)]
ports_mirror* -> hiera role; explicitly include apache2

4 years agocdimage_search -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 14:10:28 +0000 (16:10 +0200)]
cdimage_search -> hiera role; explicitly include apache2

4 years agopubsub -> hiera role
Peter Palfrader [Sun, 15 Sep 2019 14:08:35 +0000 (16:08 +0200)]
pubsub -> hiera role

4 years agoMake a proper role for cgi.debian.org on wolkenstein
Peter Palfrader [Sun, 15 Sep 2019 13:42:59 +0000 (15:42 +0200)]
Make a proper role for cgi.debian.org on wolkenstein

4 years agodebsources -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 13:40:02 +0000 (15:40 +0200)]
debsources -> hiera role; explicitly include apache2

4 years agono arithmetic in yaml :(
Peter Palfrader [Sun, 15 Sep 2019 13:37:11 +0000 (15:37 +0200)]
no arithmetic in yaml :(

4 years agopartially get rlimitmem from class param
Peter Palfrader [Sun, 15 Sep 2019 13:35:32 +0000 (15:35 +0200)]
partially get rlimitmem from class param

4 years agowhitespace/quoting: modules/roles/manifests/dgit*.pp (make lint happy)
Peter Palfrader [Sun, 15 Sep 2019 13:32:14 +0000 (15:32 +0200)]
whitespace/quoting: modules/roles/manifests/dgit*.pp (make lint happy)

4 years agodgit_{browse,git} -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 13:31:35 +0000 (15:31 +0200)]
dgit_{browse,git} -> hiera role; explicitly include apache2

4 years agosearch_{frontend,backend} -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 13:29:07 +0000 (15:29 +0200)]
search_{frontend,backend} -> hiera role; explicitly include apache2

4 years agopeople -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 13:26:04 +0000 (15:26 +0200)]
people -> hiera role; explicitly include apache2

4 years agodebtags -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 13:22:28 +0000 (15:22 +0200)]
debtags -> hiera role; explicitly include apache2

4 years agocontributors -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 13:20:03 +0000 (15:20 +0200)]
contributors -> hiera role; explicitly include apache2

4 years agowhitespace/quoting: modules/roles/manifests/nm.pp (make lint happy)
Peter Palfrader [Sun, 15 Sep 2019 13:19:14 +0000 (15:19 +0200)]
whitespace/quoting: modules/roles/manifests/nm.pp (make lint happy)

4 years agonm -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 13:18:11 +0000 (15:18 +0200)]
nm -> hiera role; explicitly include apache2

4 years agodedup -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 13:15:58 +0000 (15:15 +0200)]
dedup -> hiera role; explicitly include apache2

4 years agoOne of the last changes broke dbmaster role based ferm rules
Peter Palfrader [Sun, 15 Sep 2019 13:11:28 +0000 (15:11 +0200)]
One of the last changes broke dbmaster role based ferm rules

In particular, we allowed HOST_DB ssh to all our hosts.  That does not
make semantic sense, since the db host does not need to ssh to all the
other hosts (the reverse is true).

However, since draghi makes for a useful fallback jumphost, we now
explictly allow it.  We need to figure something out for the other role
based ferm rules.

4 years agodo not use role-based ssh restrict
Peter Palfrader [Sun, 15 Sep 2019 13:06:30 +0000 (15:06 +0200)]
do not use role-based ssh restrict

For now we fall back to and continue to use hostnames, but we should
switch this to something more sane longterm.

4 years agowhitespace/quoting: modules/roles/manifests/dbmaster.pp (make lint happy)
Peter Palfrader [Sun, 15 Sep 2019 13:03:43 +0000 (15:03 +0200)]
whitespace/quoting: modules/roles/manifests/dbpp (make lint happy)

4 years agohiera -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 13:02:50 +0000 (15:02 +0200)]
hiera -> hiera role; explicitly include apache2

4 years agoapi.ftp-master -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 13:00:31 +0000 (15:00 +0200)]
api.ftp-master -> hiera role; explicitly include apache2

4 years agopiuparts* -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 12:57:01 +0000 (14:57 +0200)]
piuparts* -> hiera role; explicitly include apache2

4 years agowhitespace/quoting: modules/roles/manifests/piuparts* (make lint happy)
Peter Palfrader [Sun, 15 Sep 2019 12:55:00 +0000 (14:55 +0200)]
whitespace/quoting: modules/roles/manifests/piuparts* (make lint happy)

4 years agotracker -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 12:53:08 +0000 (14:53 +0200)]
tracker -> hiera role; explicitly include apache2

4 years agowhitespace/quoting: modules/roles/manifests/tracker.pp (make lint happy)
Peter Palfrader [Sun, 15 Sep 2019 12:51:43 +0000 (14:51 +0200)]
whitespace/quoting: modules/roles/manifests/tracker.pp (make lint happy)

4 years agowhitespace/quoting: modules/roles/manifests/vote.pp (make lint happy)
Peter Palfrader [Sun, 15 Sep 2019 12:50:01 +0000 (14:50 +0200)]
whitespace/quoting: modules/roles/manifests/vote.pp (make lint happy)

4 years agovote -> hiera role; explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 12:48:45 +0000 (14:48 +0200)]
vote -> hiera role; explicitly include apache2

4 years agodebconf_wafer -> hiera role
Peter Palfrader [Sun, 15 Sep 2019 08:18:03 +0000 (10:18 +0200)]
debconf_wafer -> hiera role

4 years agodebconf_wafer: explicitly include apache2
Peter Palfrader [Sun, 15 Sep 2019 08:17:47 +0000 (10:17 +0200)]
debconf_wafer: explicitly include apache2

4 years agowhitespace/quoting: modules/roles/manifests/debconf_wafer.pp (make lint happy)
Peter Palfrader [Sun, 15 Sep 2019 08:17:19 +0000 (10:17 +0200)]
whitespace/quoting: modules/roles/manifests/debconf_wafer.pp (make lint happy)

4 years agoapache2: merge ipv4 and ipv6 ferm rule
Peter Palfrader [Sun, 15 Sep 2019 08:11:59 +0000 (10:11 +0200)]
apache2: merge ipv4 and ipv6 ferm rule

4 years agoand note that casulana's apache is not public
Peter Palfrader [Sun, 15 Sep 2019 08:11:00 +0000 (10:11 +0200)]
and note that casulana's apache is not public

4 years agocdbuilder_local_mirror role cleanup
Peter Palfrader [Sun, 15 Sep 2019 08:09:45 +0000 (10:09 +0200)]
cdbuilder_local_mirror role cleanup

4 years agowhitespace/quoting: modules/roles/manifests/cdbuilder_local_mirror.pp (make lint...
Peter Palfrader [Sun, 15 Sep 2019 08:03:54 +0000 (10:03 +0200)]
whitespace/quoting: modules/roles/manifests/cdbuilder_local_mirror.pp (make lint happy)

4 years agobugs role cleanup
Peter Palfrader [Sun, 15 Sep 2019 07:59:12 +0000 (09:59 +0200)]
bugs role cleanup

4 years agoMake apache nproc rlimit not depend on role memberships
Peter Palfrader [Sun, 15 Sep 2019 07:56:42 +0000 (09:56 +0200)]
Make apache nproc rlimit not depend on role memberships

4 years agoFix bugs_mirror role include for beach
Peter Palfrader [Sun, 15 Sep 2019 07:48:36 +0000 (09:48 +0200)]
Fix bugs_mirror role include for beach

4 years agoMake apache worker config not depend on role memberships
Peter Palfrader [Sun, 15 Sep 2019 07:47:05 +0000 (09:47 +0200)]
Make apache worker config not depend on role memberships

4 years agowhitespace change only: modules/apache2/manifests/init.pp (make lint happy)
Peter Palfrader [Sun, 15 Sep 2019 07:42:12 +0000 (09:42 +0200)]
whitespace change only: modules/apache2/manifests/init.pp (make lint happy)

4 years agoMake the lists class include apache2
Peter Palfrader [Sun, 15 Sep 2019 07:31:00 +0000 (09:31 +0200)]
Make the lists class include apache2

4 years agoroles/lists: whitespace change
Peter Palfrader [Sun, 15 Sep 2019 07:30:25 +0000 (09:30 +0200)]
roles/lists: whitespace change

4 years agolists -> hiera role
Peter Palfrader [Sun, 15 Sep 2019 07:28:23 +0000 (09:28 +0200)]
lists -> hiera role

4 years agopostfix: whether or not we touch main.cf is not dependent on membership in the lists...
Peter Palfrader [Sun, 15 Sep 2019 07:26:01 +0000 (09:26 +0200)]
postfix: whether or not we touch main.cf is not dependent on membership in the lists role

4 years agopostfix/init: whitespace change
Peter Palfrader [Sun, 15 Sep 2019 07:24:05 +0000 (09:24 +0200)]
postfix/init: whitespace change

4 years agobugs_mirror -> hiera role
Peter Palfrader [Sun, 15 Sep 2019 07:18:22 +0000 (09:18 +0200)]
bugs_mirror -> hiera role

4 years agoMake the bugs_mirror class include apache2
Peter Palfrader [Sun, 15 Sep 2019 07:18:10 +0000 (09:18 +0200)]
Make the bugs_mirror class include apache2

4 years agoDo tcp bbr and fq scheduling not only on busy hosts but all of them
Peter Palfrader [Sun, 15 Sep 2019 06:56:31 +0000 (08:56 +0200)]
Do tcp bbr and fq scheduling not only on busy hosts but all of them

4 years agortc -> hiera role
Peter Palfrader [Sat, 14 Sep 2019 22:34:31 +0000 (00:34 +0200)]
rtc -> hiera role

4 years agokeyring -> hiera role
Peter Palfrader [Sat, 14 Sep 2019 22:31:41 +0000 (00:31 +0200)]
keyring -> hiera role

4 years agoweblog_destination -> hiera role
Peter Palfrader [Sat, 14 Sep 2019 21:51:31 +0000 (23:51 +0200)]
weblog_destination -> hiera role

4 years agoEvery weblog provider except mirror-umn is a static_mirror_web. So include weblog...
Peter Palfrader [Sat, 14 Sep 2019 21:50:36 +0000 (23:50 +0200)]
Every weblog provider except mirror-umn is a static_mirror_web.  So include weblog provider from static_mirror_web.  umn was one of those at one point but is not at the time.  this effectively drops it from the weblog providers

4 years agoswitch weblogsync to other ssh facter
Peter Palfrader [Sat, 14 Sep 2019 21:46:48 +0000 (23:46 +0200)]
switch weblogsync to other ssh facter

4 years agoinsecure_ssl "role" -> ssl class parameter
Peter Palfrader [Sat, 14 Sep 2019 21:41:26 +0000 (23:41 +0200)]
insecure_ssl "role" -> ssl class parameter

4 years agosalsa -> hiera role
Peter Palfrader [Sat, 14 Sep 2019 21:36:27 +0000 (23:36 +0200)]
salsa -> hiera role

4 years agosreview, veyepar -> hiera role
Peter Palfrader [Sat, 14 Sep 2019 21:34:18 +0000 (23:34 +0200)]
sreview, veyepar -> hiera role

4 years agoanonscm -> hiera role
Peter Palfrader [Sat, 14 Sep 2019 21:30:05 +0000 (23:30 +0200)]
anonscm -> hiera role

4 years agono hosts (directly) in roles::archvsync_base
Peter Palfrader [Sat, 14 Sep 2019 21:28:05 +0000 (23:28 +0200)]
no hosts (directly) in roles::archvsync_base

4 years agothe ipsec role is no longer relevant. both nodes in it load profile::ipsec::fasolo_s...
Peter Palfrader [Sat, 14 Sep 2019 21:16:16 +0000 (23:16 +0200)]
the ipsec role is no longer relevant.  both nodes in it load profile::ipsec::fasolo_storace

4 years agoalioth_archive -> hiera role
Peter Palfrader [Sat, 14 Sep 2019 21:13:02 +0000 (23:13 +0200)]
alioth_archive -> hiera role

4 years agoWe no longer need the roleaccounts staticsync fact, we are using the new ssh_keys_use...
Peter Palfrader [Sat, 14 Sep 2019 14:53:17 +0000 (16:53 +0200)]
We no longer need the roleaccounts staticsync fact, we are using the new ssh_keys_users fact instead

4 years agoswitch the statis hosts to hiera roles
Peter Palfrader [Sat, 14 Sep 2019 14:49:34 +0000 (16:49 +0200)]
switch the statis hosts to hiera roles

4 years agoreplace some checks for roles::static_master with staticync::static_master
Peter Palfrader [Sat, 14 Sep 2019 14:41:28 +0000 (16:41 +0200)]
replace some checks for roles::static_master with staticync::static_master

4 years agoSwitch to collected clients.conf
Peter Palfrader [Sat, 14 Sep 2019 14:39:34 +0000 (16:39 +0200)]
Switch to collected clients.conf

4 years agoMerge branch 'staticsync-as-a-module'
Peter Palfrader [Sat, 14 Sep 2019 14:24:04 +0000 (16:24 +0200)]
Merge branch 'staticsync-as-a-module'

* staticsync-as-a-module:
  Make staticsync a module and update references
  staticsync-ssh-wrap: drop wheezy compatible rsync call in allowed list
  move things from modules/roles/static* to modules/static*

4 years agoMake staticsync a module and update references
Peter Palfrader [Sat, 14 Sep 2019 14:22:27 +0000 (16:22 +0200)]
Make staticsync a module and update references

4 years agostaticsync-ssh-wrap: drop wheezy compatible rsync call in allowed list
Peter Palfrader [Sat, 14 Sep 2019 13:24:29 +0000 (15:24 +0200)]
staticsync-ssh-wrap: drop wheezy compatible rsync call in allowed list

4 years agomove things from modules/roles/static* to modules/static*
Peter Palfrader [Sat, 14 Sep 2019 13:20:59 +0000 (15:20 +0200)]
move things from modules/roles/static* to modules/static*

Files and headers etc. have not yet been modified.  That's the next
step.  This was strictly a git mv.