diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-11-09 12:47:09 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-11-09 12:47:09 -0200 |
commit | 08e88be0eef1c563cfd9330e9a2dedd87007d726 (patch) | |
tree | 8f9c983a403b916db7297eab73eb044824f8b040 /lib | |
parent | 40b3c1fcc78f6dc394fe27d0ffde25bb3d0bfd2d (diff) | |
download | hydra-08e88be0eef1c563cfd9330e9a2dedd87007d726.tar.gz hydra-08e88be0eef1c563cfd9330e9a2dedd87007d726.tar.bz2 |
Deploy: cleanup
Diffstat (limited to 'lib')
-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 } |