summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
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