--- /dev/null
+# /etc/nsswitch.conf
+#
+# Example configuration of GNU Name Service Switch functionality.
+# If you have the `glibc-doc-reference' and `info' packages installed, try:
+# `info libc "Name Service Switch"' for information about this file.
+
+passwd: compat db
+group: db compat
+shadow: compat db
+
+hosts: files dns
+networks: files
+
+protocols: db files
+services: db files
+ethers: db files
+rpc: db files
+
+netgroup: nis
source => 'puppet:///modules/debian-org/dsa-puppet-stuff.cron.ignore',
require => Package['debian.org']
}
+ file { '/etc/nsswitch.conf':
+ mode => '0755',
+ source => 'puppet:///modules/debian-org/nsswitch.conf',
+ }
# set mmap_min_addr to 4096 to mitigate
# Linux NULL-pointer dereference exploits
partch.debian.org: Harry Partch (June 24th, 1901 - September 3rd, 1974)
pasquini.debian.org: Bernardo Pasquini (December 7th, 1637 - November 22nd, 1710)
pergolesi.debian.org: Giovanni Battista Pergolesi (January 4th, 1710 - March 16th or 17th, 1736)
+ pejacevic: Dora Pejačević (September 10, 1885 - March 5, 1923)
pettersson.debian.org: Gustav Allan Pettersson (September 19th, 1911 - June 20th, 1980)
piatti.debian.org: Carlo Alfredo Piatti (January 8th, 1822 - July 18th, 1901)
picconi.debian.org: Maria Antonietta Picconi (September 23rd, 1869 - 1926)
@def $DSA_V6_IPS = ($sgran6 $weasel6 $zobel6 $luca6 $paravoid6 $tfheen6 $master6);
@def $USER_christoph = ();
-@def $USER_christoph = ($USER_christoph 212.114.250.148/31);
-@def $USER_christoph = ($USER_christoph 128.111.48.6/32); # U of Cal at Santa Barbara, until 2013-03
+#@def $USER_christoph = ($USER_christoph 212.114.250.148/31);
+#@def $USER_christoph = ($USER_christoph 128.111.48.6/32); # U of Cal at Santa Barbara, until 2013-03
@def $USER_aurel32 = ();
@def $USER_aurel32 = ($USER_aurel32 88.191.126.93); # hall.aurel32.net
@def $USER_aurel32 = ($USER_aurel32 82.232.2.251); # farad.aurel32.net
wwid 3600c0ff000d75b581d02705101000000
alias adayevskaya
}
+ multipath {
+ wwid 3600c0ff000d75b58acb28a5101000000
+ alias pejacevic-srv
+ }
+ multipath {
+ wwid 3600c0ff000d5ad3402a28a5101000000
+ alias pejacevic
+ }
}
## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
##
-. "/etc/schroot/default/config"
+if [ -e "$/etc/schroot/default/config" ]; then
+ . "$/etc/schroot/default/config"
+else
+ FSTAB="/etc/schroot/default/fstab"
+ COPYFILES="/etc/schroot/default/copyfiles"
+ NSSDATABASES="/etc/schroot/default/nssdatabases"
+fi
+
# added by weasel:
if [ "$CHROOT_SESSION_PURGE" = "true" ]; then
. "$SETUP_DATA_DIR/common-data"
. "$SETUP_DATA_DIR/common-functions"
-if [ -f "$CHROOT_SCRIPT_CONFIG" ]; then
+if [ -f "${CHROOT_SCRIPT_CONFIG:-}" ]; then
. "$CHROOT_SCRIPT_CONFIG"
-elif [ "$STATUS" = "ok" ]; then
- fatal "script-config file '$CHROOT_SCRIPT_CONFIG' does not exist"
fi
. "$SETUP_DATA_DIR/common-data"
. "$SETUP_DATA_DIR/common-functions"
-if [ -f "$CHROOT_SCRIPT_CONFIG" ]; then
+if [ -f "${CHROOT_SCRIPT_CONFIG:-}" ]; then
. "$CHROOT_SCRIPT_CONFIG"
-elif [ "$STATUS" = "ok" ]; then
- fatal "script-config file '$CHROOT_SCRIPT_CONFIG' does not exist"
+elif [ -f "$CHROOT_PROFILE_DIR/config" ]; then
+ . "$CHROOT_PROFILE_DIR/config"
+else
+ fatal "Cannot find config script"
fi
root-groups=adm
source-groups=adm
source-root-groups=adm
-script-config=dsa/config
EOF
+ if dpkg --compare-versions "$(lsb_release --release --short)" '<' 7; then
+ echo "script-config=dsa/config"
+ else
+ echo "profile=dsa"
+ fi
+
if [ "$THISARCH" = "$arch" ]; then
echo "aliases=$suite"
fi