]> gitweb.fluxo.info Git - hydra.git/commitdiff
Deploy: cleanup
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 9 Nov 2015 14:47:09 +0000 (12:47 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 9 Nov 2015 14:47:09 +0000 (12:47 -0200)
lib/hydra/deploy

index ed658a4b7d974115141f0cc61600df400499a2b1..70af4394d63687490d2a2c08e1ed5e8ca7572770 100644 (file)
@@ -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
 }