#!/bin/bash set -euE function file() { for i in "$@"; do mkdir -p $(dirname $i) echo "file $i" > $i done } file /etc/puppet/secret file /srv/puppet.debian.org/ca/RESULT/certs/ca.{crl,crt} file /srv/puppet.debian.org/ca/RESULT/clientcerts/ca.{crl,crt} file /srv/puppet.debian.org/sync/data/dsa-nagios/generated/nrpe_dsa.cfg file /etc/ssh/ssh_known_hosts for i in salsa.debian.org signup.salsa.debian.org webhook.salsa.debian.org pages.debian.net; do file /srv/puppet.debian.org/from-letsencrypt/$i.{crt,crt-chain,crt-chained,key} done for fact in spec/octocatalog/facts/*; do hostname=$(basename $fact .json) file /srv/puppet.debian.org/ca/RESULT/certs/$hostname.{crt,key} file /srv/puppet.debian.org/ca/RESULT/clientcerts/$hostname.{client.crt,key} file /var/lib/puppet/yaml/node/$hostname.yaml done