From: Silvio Rhatto Date: Thu, 29 Sep 2016 15:00:10 +0000 (-0300) Subject: Facts: more exclude patterns (2) X-Git-Tag: 0.2.4~80 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=5fde61c778e0fec2c693cc35e2711c63d4b9bb90;p=hydra.git Facts: more exclude patterns (2) --- diff --git a/lib/hydra/deploy b/lib/hydra/deploy index fabd251..be7f8a0 100644 --- a/lib/hydra/deploy +++ b/lib/hydra/deploy @@ -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