]> gitweb.fluxo.info Git - hydra.git/commitdiff
Facts: more exclude patterns (2)
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 29 Sep 2016 15:00:10 +0000 (12:00 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 29 Sep 2016 15:00:10 +0000 (12:00 -0300)
lib/hydra/deploy

index fabd251e828ba19532ac9329db1d300970ceb917..be7f8a01e6ca4f998449d2d65a47492ac184ccd9 100644 (file)
@@ -245,9 +245,10 @@ function hydra_deploy_facts_collect {
     $SUDO facter --yaml > $HYDRA_FOLDER/puppet/config/facts/$FQDN.yaml
   elif [ "$1" == "remote" ]; then
     $HYDRA_CONNECT $FQDN sudo facter --yaml | \
-      grep -v -e "^    seconds"  -e "^    hours"       -e "^    days"     -e "^  uptime"      \
+      grep -v -e "^    seconds"  -e "^    hours"       -e "^    days"     -e "^    uptime"    \
               -e "^    uptime"   -e "^  system_uptime" -e "^  memoryfree" -e "^  swapfree_mb" \
-              -e "^  memorysize" -e "^  swapfree"                                             \
+              -e "^  memorysize" -e "^  swapfree"      -e "^    seconds"  -e "^    hours"     \
+              -e "^    days"     -e "^  uptime_"                                              \
               > $HYDRA_FOLDER/puppet/config/facts/$FQDN.yaml
 
     # Check result