summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-12-20 16:03:38 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-12-20 16:03:38 +0100
commit7f9c5b317eb33ffc4be183b50dd636de15f01ae2 (patch)
tree41b763715484170191aba3fc522e57f57677a801 /examples
parentd6d8452fbbbe2114ea917a3b52fde0784273a9ba (diff)
cleanup automatic deployment stuff
Diffstat (limited to 'examples')
-rw-r--r--examples/deployconfig-dieter16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/deployconfig-dieter b/examples/deployconfig-dieter
index 00a3396..c626a64 100644
--- a/examples/deployconfig-dieter
+++ b/examples/deployconfig-dieter
@@ -1,6 +1,8 @@
#!/bin/bash
# An example config for the deployment procedure
+#TODO: install ruby-gems too
+
var_RUNTIME_PACKAGES="svn"
DEPLOY_CLASS=desktop-a7n8x
@@ -21,6 +23,13 @@ worker_fetch_configs ()
}
+worker_package_list ()
+{
+ $SVN export $SVN_BASE/ddm-configs/$DEPLOY_CLASS/trunk/package-list $var_PKG_FILE || die_error "Could not export package list!"
+ # cat -> there are newlines in it -> var=`echo $var` -> not anymore :)
+ TARGET_PACKAGES=`cat $var_PKG_FILE` && TARGET_PACKAGES=`echo $TARGET_PACKAGES` || die_error "Could not cat package list. THIS SHOULD NEVER HAPPEN."
+}
+
worker_accept_ssl_cert ()
{
mkdir -p /root/.subversion/auth/svn.ssl.server
@@ -40,3 +49,10 @@ https://192.168.1.2:443
END
EOF
}
+
+
+worker_configure_home ()
+{
+ #TODO checkout from svn
+ true
+} \ No newline at end of file