summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins-test-vm/etc
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/jenkins-test-vm/etc')
-rw-r--r--hosts/jenkins-test-vm/etc/aliases3
-rw-r--r--hosts/jenkins-test-vm/etc/apt/listchanges.conf6
-rw-r--r--hosts/jenkins-test-vm/etc/apt/sources.list12
-rw-r--r--hosts/jenkins-test-vm/etc/apt/sources.list.d/jenkins.list1
-rw-r--r--hosts/jenkins-test-vm/etc/cron-apt/config4
-rwxr-xr-xhosts/jenkins-test-vm/etc/cron.d/dsa10
-rw-r--r--hosts/jenkins-test-vm/etc/postfix/main.cf41
-rwxr-xr-xhosts/jenkins-test-vm/etc/rc.local16
8 files changed, 93 insertions, 0 deletions
diff --git a/hosts/jenkins-test-vm/etc/aliases b/hosts/jenkins-test-vm/etc/aliases
new file mode 100644
index 00000000..0c0c0088
--- /dev/null
+++ b/hosts/jenkins-test-vm/etc/aliases
@@ -0,0 +1,3 @@
+# See man 5 aliases for format
+postmaster: root
+root: holger@layer-acht.org, helmutg@debian.org, mattia@mapreri.org, phil@hands.com
diff --git a/hosts/jenkins-test-vm/etc/apt/listchanges.conf b/hosts/jenkins-test-vm/etc/apt/listchanges.conf
new file mode 100644
index 00000000..8b598c0a
--- /dev/null
+++ b/hosts/jenkins-test-vm/etc/apt/listchanges.conf
@@ -0,0 +1,6 @@
+[apt]
+frontend=mail
+email_address=root
+confirm=0
+save_seen=/var/lib/apt/listchanges.db
+which=both
diff --git a/hosts/jenkins-test-vm/etc/apt/sources.list b/hosts/jenkins-test-vm/etc/apt/sources.list
new file mode 100644
index 00000000..f2a86af1
--- /dev/null
+++ b/hosts/jenkins-test-vm/etc/apt/sources.list
@@ -0,0 +1,12 @@
+deb http://ftp.de.debian.org/debian/ jessie main non-free
+#deb-src http://ftp.de.debian.org/debian/ jessie main non-free
+
+deb http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free
+#deb-src http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free
+
+deb http://security.debian.org/ jessie/updates main non-free
+#deb-src http://security.debian.org/ jessie/updates main non-free
+
+deb http://ftp.de.debian.org/debian/ jessie-backports main non-free
+#deb-src http://ftp.de.debian.org/debian/ jessie-backports main non-free
+
diff --git a/hosts/jenkins-test-vm/etc/apt/sources.list.d/jenkins.list b/hosts/jenkins-test-vm/etc/apt/sources.list.d/jenkins.list
new file mode 100644
index 00000000..de058265
--- /dev/null
+++ b/hosts/jenkins-test-vm/etc/apt/sources.list.d/jenkins.list
@@ -0,0 +1 @@
+deb http://pkg.jenkins-ci.org/debian-stable binary/
diff --git a/hosts/jenkins-test-vm/etc/cron-apt/config b/hosts/jenkins-test-vm/etc/cron-apt/config
new file mode 100644
index 00000000..d36badce
--- /dev/null
+++ b/hosts/jenkins-test-vm/etc/cron-apt/config
@@ -0,0 +1,4 @@
+# Configuration for cron-apt. For further information about the possible
+# configuration settings see /usr/share/doc/cron-apt/README.gz.
+
+MAILON="upgrade"
diff --git a/hosts/jenkins-test-vm/etc/cron.d/dsa b/hosts/jenkins-test-vm/etc/cron.d/dsa
new file mode 100755
index 00000000..e555795c
--- /dev/null
+++ b/hosts/jenkins-test-vm/etc/cron.d/dsa
@@ -0,0 +1,10 @@
+# m h dom mon dow (0|7=sun,1=mon) command
+
+#
+# cron-job for jenkins-test-vm
+#
+
+MAILTO=root
+
+0 1,13 * * * nobody /usr/bin/chronic /usr/local/bin/dsa-check-running-kernel
+2 1,13 * * * nobody /usr/bin/chronic /usr/local/bin/dsa-check-packages
diff --git a/hosts/jenkins-test-vm/etc/postfix/main.cf b/hosts/jenkins-test-vm/etc/postfix/main.cf
new file mode 100644
index 00000000..42397da4
--- /dev/null
+++ b/hosts/jenkins-test-vm/etc/postfix/main.cf
@@ -0,0 +1,41 @@
+# See /usr/share/postfix/main.cf.dist for a commented, more complete version
+
+
+# Debian specific: Specifying a file name will cause the first
+# line of that file to be used as the name. The Debian default
+# is /etc/mailname.
+#myorigin = /etc/mailname
+
+smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
+biff = no
+
+# appending .domain is the MUA's job.
+append_dot_mydomain = no
+
+# Uncomment the next line to generate "delayed mail" warnings
+#delay_warning_time = 4h
+
+readme_directory = no
+
+# TLS parameters
+smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
+smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
+smtpd_use_tls=yes
+smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
+smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
+
+# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
+# information on enabling SSL in the smtp client.
+
+myhostname = jenkins-test-vm.debian.net
+alias_maps = hash:/etc/aliases
+alias_database = hash:/etc/aliases
+myorigin = /etc/mailname
+mydestination = jenkins-test-vm.debian.net, localhost
+relayhost =
+#mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
+mynetworks = 127.0.0.0/8
+mailbox_size_limit = 0
+recipient_delimiter = +
+inet_interfaces = all
+mailbox_command = /usr/bin/procmail -a "$EXTENSION"
diff --git a/hosts/jenkins-test-vm/etc/rc.local b/hosts/jenkins-test-vm/etc/rc.local
new file mode 100755
index 00000000..9493d09d
--- /dev/null
+++ b/hosts/jenkins-test-vm/etc/rc.local
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+#
+# rc.local
+#
+# This script is executed at the end of each multiuser runlevel.
+# Make sure that the script will "exit 0" on success or any other
+# value on error.
+#
+# In order to enable or disable this script just change the execution
+# bits.
+#
+# By default this script does nothing.
+
+echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
+
+exit 0