echo "Using snippet $create_motd_snippet"
$SNIPPET($create_motd_snippet)
+#set $legato_snippet = "per_status/" + $SYSTEM_STATUS + "/tpl.350.legato.sh"
+echo
+echo "Using snippet $legato_snippet"
+$SNIPPET($legato_snippet)
+
--- /dev/null
+## !/bin/bash
+#raw
+
+#-----------------------------------------------------------
+install_legato() {
+
+ echo
+ echo "${HASH_LINE}"
+ echo "Calling install_legato() ..."
+ echo
+ echo
+ log "Installing Legato networker client packages (backup) ..."
+ echo
+
+ local url_client="${COBBLER_URL}/custom/legato/lgtoclnt-latest.x86_64.rpm"
+ local url_man="${COBBLER_URL}/custom/legato/lgtoman-latest.x86_64.rpm"
+
+ echo "Installing from URL '${url_client}' ..."
+ if yum install -y "${url_client}" ; then
+ :
+ else
+ echo "[$(date)]: Could not install from ${url_client}" | tee -a "${ERROR_POINTER}"
+ fi
+ echo "Installing from URL '${url_man}' ..."
+ if yum install -y "${url_man}" ; then
+ :
+ else
+ echo "[$(date)]: Could not install from ${url_man}" | tee -a "${ERROR_POINTER}"
+ fi
+
+ mkdir -pv /nsr/res
+ echo "legato01.pixelpark.com" > /nsr/res/servers
+
+}
+
+install_legato
+
+#end raw
+## vim: ts=4 et list