From: Silvio Rhatto Date: Mon, 9 Nov 2015 14:47:09 +0000 (-0200) Subject: Deploy: cleanup X-Git-Tag: 0.2.4~234 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=08e88be0eef1c563cfd9330e9a2dedd87007d726;p=hydra.git Deploy: cleanup --- diff --git a/lib/hydra/deploy b/lib/hydra/deploy index ed658a4..70af439 100644 --- a/lib/hydra/deploy +++ b/lib/hydra/deploy @@ -72,12 +72,6 @@ function hydra_deploy_setup { # Deployment command DEPLOY_APPLY="$DEPLOY_COMMAND $DEPLOY_PUPPET" - - # Check for manifest - if [ ! -e "$HYDRA_FOLDER/puppet/manifests/nodes/$FQDN.pp" ]; then - echo "Not found: $HYDRA_FOLDER/puppet/manifests/nodes/$FQDN.pp" - exit 1 - fi } # Manifest @@ -94,7 +88,7 @@ function hydra_deploy_set_manifest { PUPPET_MANIFEST="$prefix/puppet/manifests/nodes/default.pp" else echo "no manifest found for $FQDN" - exit + exit 1 fi }