From dfb79081b1624dc9c019b02468e59c0fd10e6330 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Mon, 17 Mar 2014 12:36:15 +0000 Subject: Import distbuild configuration files into definitions.git These files should be installed into distbuild worker and controller systems using the install-files configure extension, by adding the following line in the cluster morphology. INSTALL_FILES: distbuild/manifest These files were previously in the internal Codethink chunk repo 'distbuild-setup', and were installed by a Makefile. --- .../system-generators/ccache-nfs-mount-generator | 16 ++++++++++++++++ distbuild/manifest | 19 +++++++++++++++++++ .../usr/lib/systemd/system/morph-cache-server.service | 9 +++++++++ .../systemd/system/morph-controller-helper.service | 10 ++++++++++ .../usr/lib/systemd/system/morph-controller.service | 9 +++++++++ .../lib/systemd/system/morph-worker-helper.service | 10 ++++++++++ distbuild/usr/lib/systemd/system/morph-worker.service | 10 ++++++++++ .../morph-cache-server.service | 1 + .../morph-controller-helper.service | 1 + .../multi-user.target.wants/morph-controller.service | 1 + .../morph-worker-helper.service | 1 + .../multi-user.target.wants/morph-worker.service | 1 + 12 files changed, 88 insertions(+) create mode 100755 distbuild/lib/systemd/system-generators/ccache-nfs-mount-generator create mode 100644 distbuild/manifest create mode 100644 distbuild/usr/lib/systemd/system/morph-cache-server.service create mode 100644 distbuild/usr/lib/systemd/system/morph-controller-helper.service create mode 100644 distbuild/usr/lib/systemd/system/morph-controller.service create mode 100644 distbuild/usr/lib/systemd/system/morph-worker-helper.service create mode 100644 distbuild/usr/lib/systemd/system/morph-worker.service create mode 120000 distbuild/usr/lib/systemd/system/multi-user.target.wants/morph-cache-server.service create mode 120000 distbuild/usr/lib/systemd/system/multi-user.target.wants/morph-controller-helper.service create mode 120000 distbuild/usr/lib/systemd/system/multi-user.target.wants/morph-controller.service create mode 120000 distbuild/usr/lib/systemd/system/multi-user.target.wants/morph-worker-helper.service create mode 120000 distbuild/usr/lib/systemd/system/multi-user.target.wants/morph-worker.service (limited to 'distbuild') diff --git a/distbuild/lib/systemd/system-generators/ccache-nfs-mount-generator b/distbuild/lib/systemd/system-generators/ccache-nfs-mount-generator new file mode 100755 index 00000000..127bc84f --- /dev/null +++ b/distbuild/lib/systemd/system-generators/ccache-nfs-mount-generator @@ -0,0 +1,16 @@ +#!/bin/sh +read trove_host "$1/srv-distbuild-ccache.mount" <