Add initial prodconfig 0.1
authorSam Hartman <hartmans@mit.edu>
Fri, 22 Aug 2008 20:44:14 +0000 (16:44 -0400)
committerSam Hartman <hartmans@mit.edu>
Fri, 22 Aug 2008 20:44:14 +0000 (16:44 -0400)
svn path=/trunk/packages/xvm-prodconfig/; revision=906

debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/xvm-devconfig.install [new file with mode: 0644]
debian/xvm-devconfig.postinst [new file with mode: 0755]
files/etc/invirt/master.yaml [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..79eea7b
--- /dev/null
@@ -0,0 +1,5 @@
+xvm-prodconfig (0.1) unstable; urgency=low
+
+  * Initial prodconfig release
+
+ -- Sam Hartman <hartmans@debian.org>  Fri, 22 Aug 2008 16:40:35 -0400
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..d9db5e6
--- /dev/null
@@ -0,0 +1,14 @@
+Source: xvm-prodconfig
+Section: servers
+Priority: important
+Maintainer: xvm@mit.edu
+Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5)
+Standards-Version: 3.7.2
+
+Package: xvm-prodconfig
+Architecture: all
+Provides: invirt-config
+Conflicts: invirt-config
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: XVM dev-cluster config
+  This is the master configuration package for the XVM development cluster.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..e5cc6d8
--- /dev/null
@@ -0,0 +1,4 @@
+This package was created for the XVM project <xvm@mit.edu> of the MIT
+Student Information Processing Board.
+
+You may use it, etc, under the GNU GPL, version 2 or later.
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..d529eb7
--- /dev/null
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+
+
+
+include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/xvm-devconfig.install b/debian/xvm-devconfig.install
new file mode 100644 (file)
index 0000000..9da31b3
--- /dev/null
@@ -0,0 +1 @@
+files/* .
diff --git a/debian/xvm-devconfig.postinst b/debian/xvm-devconfig.postinst
new file mode 100755 (executable)
index 0000000..0ea467b
--- /dev/null
@@ -0,0 +1,41 @@
+#!/bin/sh
+# postinst script
+#
+# see: dh_installdeb(1)
+
+set -e
+set -x
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+       /usr/sbin/invirt-reload
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/files/etc/invirt/master.yaml b/files/etc/invirt/master.yaml
new file mode 100644 (file)
index 0000000..a7579ec
--- /dev/null
@@ -0,0 +1,22 @@
+authn:
+ - type: kerberos
+   realm: ATHENA.MIT.EDU
+
+authz:
+ - type: afs
+   cell: athena.mit.edu
+
+hosts: # hosts on which VMs run
+ - hostname: citadel-station.mit.edu
+   ip: 18.181.0.221
+
+apt:
+ keyid: 35AE3C4F
+
+db:
+ uri: postgres://sipb-xen@xvm-2.mit.edu/sipb_xen
+ host: xvm-2.mit.edu
+ port: 5432
+ user: sipb-xen
+ dbname: sipb_xen
+