]> gitweb.fluxo.info Git - hydra.git/commitdiff
Facts: more exclude patterns
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 28 Sep 2016 13:26:33 +0000 (10:26 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 28 Sep 2016 13:26:33 +0000 (10:26 -0300)
lib/hydra/deploy

index 3ef1dc0c83ced28b92169bd7cb4dbab04ef7a800..fabd251e828ba19532ac9329db1d300970ceb917 100644 (file)
@@ -245,8 +245,9 @@ 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"      \
-              -e "^    uptime"  -e "^  system_uptime" -e "^  memoryfree" -e "^  swapfree_mb" \
+      grep -v -e "^    seconds"  -e "^    hours"       -e "^    days"     -e "^  uptime"      \
+              -e "^    uptime"   -e "^  system_uptime" -e "^  memoryfree" -e "^  swapfree_mb" \
+              -e "^  memorysize" -e "^  swapfree"                                             \
               > $HYDRA_FOLDER/puppet/config/facts/$FQDN.yaml
 
     # Check result