From 5fde61c778e0fec2c693cc35e2711c63d4b9bb90 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 29 Sep 2016 12:00:10 -0300 Subject: Facts: more exclude patterns (2) --- lib/hydra/deploy | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3