Commit fdbd776e authored by Holger Levsen's avatar Holger Levsen
Browse files

r.d.n.: init osuosl(6|7)-ppc64el.debian.net

parent 21bf9a56
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -44,7 +44,8 @@ test unstable & trixie
drop i7 extra partition to save infomaniak credits
check rebuilderd uid+gid everywhere
update README and THANKS
	risc64
	ppc64el
	riscv64
	ionos17
	codethink
	osuosl4+5
+23 −0
Original line number Diff line number Diff line
#
# Debian trixie
#
deb http://deb.debian.org/debian/ trixie main non-free-firmware contrib non-free
#deb-src http://deb.debian.org/debian/ trixie main non-free-firmware contrib non-free

#
# Debian trixie security
#
deb http://security.debian.org/ trixie-security main non-free-firmware contrib non-free
#deb-src http://security.debian.org/ trixie-security main non-free-firmware contrib non-free

#
# Debian trixie updates
#
deb http://deb.debian.org/debian/ trixie-updates main non-free-firmware contrib non-free
#deb-src http://deb.debian.org/debian/ trixie-updates main non-free-firmware contrib non-free

#
# Debian trixie-backports
#
deb http://deb.debian.org/debian/ trixie-backports main non-free-firmware contrib non-free
#deb-src http://deb.debian.org/debian/ trixie-backports main non-free-firmware contrib non-free
+10 −0
Original line number Diff line number Diff line
@@ -247,4 +247,14 @@
  keys:
    - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOan+R3JnWJiac0RJRBpYlnAZAZePCwCPWdgqAQJsZi1 root@dev

- hostname: osuosl6-ppc64el.debian.net
  ip: 140.211.10.83
  keys:
    - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBXvhYomjaZRAHy9uPxF3TsLDtY946O9ZpPNNlYT5tJl root@osuosl6-ppc64el

- hostname: osuosl7-ppc64el.debian.net
  ip: 140.211.10.124
  keys:
    - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP6X48lfZ+Os428Rcy7jiasVHjCU2UkVo79MIWqld8Vo root@osuosl7-ppc64el

# freebsd
+13 −8
Original line number Diff line number Diff line
@@ -131,6 +131,8 @@ user_host_groups['jspricke','riscv64-01']=""
user_host_groups['jspricke','riscv64-02']=""
user_host_groups['jspricke','riscv64-06']=""
user_host_groups['jspricke','riscv64-07']=""
user_host_groups['jspricke','osuosl6-ppc64el']=""
user_host_groups['jspricke','osuosl7-ppc64el']=""


u_shell['mattia']='/bin/zsh'
@@ -282,7 +284,7 @@ fi
# deploy package configuration in /etc, /usr, /var and /opt
#
cd $BASEDIR
for h in common common-amd64 common-i386 common-arm64 common-armhf common-riscv64 "$HOSTNAME" ; do
for h in common common-amd64 common-i386 common-arm64 common-armhf common-riscv64 common-ppc64el "$HOSTNAME" ; do
	if [ "$HOSTNAME" = "rb-mail1" ]; then
		# the mail server is managed by ansible elsewhere.
		continue
@@ -294,6 +296,7 @@ for h in common common-amd64 common-i386 common-arm64 common-armhf common-riscv6
		common-arm64) [ $DPKG_ARCH = "arm64" ] || continue ;;
		common-armhf) [ $DPKG_ARCH = "armhf" ] || continue ;;
		common-riscv64) [ $DPKG_ARCH = "riscv64" ] || continue ;;
		common-ppc64el) [ $DPKG_ARCH = "ppc64el" ] || continue ;;
		*) ;;
	esac
	if [ -d "hosts/$h/etc/sudoers.d/" ]; then
@@ -398,7 +401,7 @@ if [ -f /etc/debian_version ] ; then
				munin-plugins-extra/buster-backports
				devscripts/buster-backports
				" ;;
			osuosl4*|osuosl5*|infom07*|infom08*|codethink01*|codethink02*|riscv64*|ionos17*)	# packages to be installed on trixie Debian systems
			osuosl4*|osuosl5*|infom07*|infom08*|codethink01*|codethink02*|riscv64*|ionos17*|*ppc64el)	# packages to be installed on trixie Debian systems
				DEBS="$DEBS
				btop
				debootstrap
@@ -566,7 +569,7 @@ if [ -f /etc/debian_version ] ; then
		esac
		# packages needed for rebuilderd-worker for https://reproduce.debian.net
		case $HOSTNAME in
			infom07*|infom08*|codethink01*|codethink02*|osuosl4*|ionos17*|riscv64*)	DEBS="$DEBS
			infom07*|infom08*|codethink01*|codethink02*|osuosl4*|ionos17*|riscv64*|*ppc64el)	DEBS="$DEBS
							diffoscope
							rebuilderd-worker
							sbuild
@@ -754,7 +757,7 @@ if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "ionos7-amd64" ] || [ "$HOSTNA
fi
# set secret for remote rebuilderd-workers
case $HOSTNAME in
	osuosl5*)		for a in all amd64 arm64 armhf i386 riscv64 ; do
	osuosl5*)		for a in all amd64 arm64 armhf i386 riscv64 ppc64el ; do
					SIGNUPSECRET="$(sudo cat /opt/etc/rebuilderd-${a}.secret)"
					f=rebuilderd-${a}.conf
					if [ -f /opt/etc/$f ] ; then
@@ -764,7 +767,7 @@ case $HOSTNAME in
					fi
				done
				;;
	infom07*|infom08*|codethink01*|codethink02*|osuosl4*|osuosl5*|ionos17*|riscv64*)
	infom07*|infom08*|codethink01*|codethink02*|osuosl4*|osuosl5*|ionos17*|riscv64*|*ppc64el)
				SIGNUPSECRET="$(sudo cat /opt/etc/rebuilderd.secret)"
				f=rebuilderd-worker.conf
				if [ -f /opt/etc/$f ] ; then
@@ -812,8 +815,10 @@ case $HOSTNAME in
						;;
	riscv64*)				deploy_rebuilderd_services worker 3
						;;
	osuosl5*)				deploy_rebuilderd_services rebuilderd "all amd64 arm64 armhf i386 riscv64"
						deploy_rebuilderd_services pkgsync    "all amd64 arm64 armhf i386 riscv64"
	*ppc64el)				deploy_rebuilderd_services worker 3
						;;
	osuosl5*)				deploy_rebuilderd_services rebuilderd "all amd64 arm64 armhf i386 riscv64 ppc64el"
						deploy_rebuilderd_services pkgsync    "all amd64 arm64 armhf i386 riscv64 ppc64el"
						;;
	*) 					;;
esac
@@ -848,7 +853,7 @@ fi

if ! $UP2DATE || [ $BASEDIR/hosts/$HOSTNAME/etc/munin -nt $STAMP ] ; then
	cd /etc/munin/plugins
	# enable fail2ban conditionally, all arm64, armhf, risc64 nodes are behind NAT
	# enable fail2ban conditionally, all arm64, armhf, riscv64 nodes are behind NAT
	case $DPKG_ARCH in
		arm64|armhf|riscv64)	sudo rm -f fail2ban ;;
		*)			i=fail2ban