diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hydra/config | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/hydra/config b/lib/hydra/config index 3cd7cc7..8dbda89 100644 --- a/lib/hydra/config +++ b/lib/hydra/config @@ -67,3 +67,18 @@ function hydra_config { exit 1 fi } + +# Configure puppet-boostrap. +function hydra_bootstrap_config { + local config="$1" + + if [ -z "$config" ] || [ ! -d "$config" ]; then + return + fi + + ( + cd $config + make submodules + make config + ) +} |