]> gitweb.fluxo.info Git - hydra.git/commitdiff
Coding style
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 26 Mar 2015 20:00:36 +0000 (17:00 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 26 Mar 2015 20:00:36 +0000 (17:00 -0300)
share/hydra/module-update

index b606132e071bb912ee3664f46e2a127f2922cdde..b573a73f45a1af8f0da7c60d696598039648f73b 100755 (executable)
@@ -23,7 +23,7 @@ hydra_config_load
 function hydra_module_update {
   # Command line arguments
   MODULE="$1"
-  
+
   # Validation
   if [ -z "$MODULE" ]; then
     echo "Usage: hydra <hydra> module-update <module> [<module1> ... <moduleN>]"
@@ -32,7 +32,7 @@ function hydra_module_update {
     echo "No such module $MODULE at $HYDRA puppet configuration."
     exit 1
   fi
-  
+
   # Update the module
   (
     cd $PUPPET/modules/$MODULE
@@ -44,13 +44,13 @@ function hydra_module_update {
 
     git pull
   )
-  
+
   # Verify the module
   if ! hydra $HYDRA module-verify $MODULE; then
     echo "ERROR: Updated module doesn't match hash, please verify and update manually."
     exit 1
   fi
-  
+
   # Commit
   ( cd $PUPPET; git commit -a -m "Updating module $MODULE"; git push )
 }