aboutsummaryrefslogtreecommitdiff
path: root/share/hydra/eyaml
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-09-29 12:15:22 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-09-29 12:15:22 -0300
commit3dd16ce361e30d805f2bb983ab8e365f8ef1035a (patch)
tree19904b46156c24fcd9a847fb852b99bf26088c35 /share/hydra/eyaml
parent5fde61c778e0fec2c693cc35e2711c63d4b9bb90 (diff)
downloadhydra-3dd16ce361e30d805f2bb983ab8e365f8ef1035a.tar.gz
hydra-3dd16ce361e30d805f2bb983ab8e365f8ef1035a.tar.bz2
Auto install dependencies
Diffstat (limited to 'share/hydra/eyaml')
-rwxr-xr-xshare/hydra/eyaml5
1 files changed, 1 insertions, 4 deletions
diff --git a/share/hydra/eyaml b/share/hydra/eyaml
index 24e714d..b07d991 100755
--- a/share/hydra/eyaml
+++ b/share/hydra/eyaml
@@ -29,10 +29,7 @@ DOMAIN="`echo $FQDN | cut -d . -f 2-`"
shift
# Check for eyaml
-if ! which eyaml &> /dev/null; then
- echo "Please install ruby-eyaml"
- exit 1
-fi
+hydra_install_package hiera-eyaml
# Check for node
if [ -z "$NODE" ]; then