diff options
-rw-r--r-- | lib/hydra/deploy | 8 |
1 files changed, 1 insertions, 7 deletions
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 } |