nutools/lib/ulib/runsmod.defaults

38 lines
1.3 KiB
Bash

##@cooked comments # -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
## Valeurs par défaut pour runs.modules
##@cooked nocomments
##@require base
uprovide runsmod.defaults
# Ne pas supprimer la ligne ci-dessous
##--runsmod.defaults--
RUNSMOD_MODE=prod
RUNSMOD_UPDATE=auto
RUNSMOD_IDENTITY=
RUNSMOD_BASEURL=
RUNSMOD_SCRIPTS_URLS=(hosts/%h/runs runss runs-scripts)
RUNSMOD_MODULES_URLS=(hosts/%h/modules/%m modules/%m)
RUNSMOD_HOSTS_URLS=(runsh runs-hosts)
RUNSMOD_BASEDIR="$HOME/runs"
RUNSMOD_PROFILES=(vcs pvcs jclain)
# vcs
RUNSMOD_vcs_BASEURL=http://vcs.univ-reunion.fr/anongit
RUNSMOD_vcs_devel_BASEURL=git@vcs.univ.run
RUNSMOD_vcs_SCRIPTS_URLS=("${RUNSMOD_SCRIPTS_URLS[@]}")
RUNSMOD_vcs_MODULES_URLS=("${RUNSMOD_MODULES_URLS[@]}")
RUNSMOD_vcs_HOSTS_URLS=("${RUNSMOD_HOSTS_URLS[@]}")
# pvcs
RUNSMOD_pvcs_BASEURL=http://pvcs.univ-reunion.fr/anongit
RUNSMOD_pvcs_devel_BASEURL=pgit@vcs.univ.run
RUNSMOD_pvcs_SCRIPTS_URLS=("${RUNSMOD_SCRIPTS_URLS[@]}" si/base-runs)
RUNSMOD_pvcs_MODULES_URLS=("${RUNSMOD_MODULES_URLS[@]}")
RUNSMOD_pvcs_HOSTS_URLS=("${RUNSMOD_HOSTS_URLS[@]}")
# jclain
RUNSMOD_jclain_BASEURL=git@jclain.fr
RUNSMOD_jclain_SCRIPTS_URLS=("${RUNSMOD_SCRIPTS_URLS[@]}")
RUNSMOD_jclain_MODULES_URLS=("${RUNSMOD_MODULES_URLS[@]}")
RUNSMOD_jclain_HOSTS_URLS=("${RUNSMOD_HOSTS_URLS[@]}")