]> gitweb.fluxo.info Git - hydra.git/commitdiff
Deploy: ignore example.org nodes
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 31 May 2016 15:38:01 +0000 (12:38 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 31 May 2016 15:38:01 +0000 (12:38 -0300)
share/hydra/nodes

index a80e6c15a16c1cf693e53a8d4ee31b888b1af632..cd4920ed89c005f4a828772cd53847b935dfeeec 100755 (executable)
@@ -19,7 +19,8 @@
 # Get a list of puppet node files
 function hydra_node_files {
   if [ -d "$PUPPET/config/node/" ]; then
-    FILES="$PUPPET/config/node/*"
+    #FILES="$PUPPET/config/node/*"
+    FILES="`ls -1 config/node/ | grep -v example.org | xargs`"
   fi
 }