From: Silvio Rhatto Date: Wed, 28 Sep 2016 13:26:33 +0000 (-0300) Subject: Facts: more exclude patterns X-Git-Tag: 0.2.4~81 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=92c890203d0b49191478e2b505bc9ce64161c729;p=hydra.git Facts: more exclude patterns --- diff --git a/lib/hydra/deploy b/lib/hydra/deploy index 3ef1dc0..fabd251 100644 --- a/lib/hydra/deploy +++ b/lib/hydra/deploy @@ -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