aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-09-29 12:00:10 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-09-29 12:00:10 -0300
commit5fde61c778e0fec2c693cc35e2711c63d4b9bb90 (patch)
treedd6b83a4e9259474343680f16240e7c50c468128
parent92c890203d0b49191478e2b505bc9ce64161c729 (diff)
downloadhydra-5fde61c778e0fec2c693cc35e2711c63d4b9bb90.tar.gz
hydra-5fde61c778e0fec2c693cc35e2711c63d4b9bb90.tar.bz2
Facts: more exclude patterns (2)
-rw-r--r--lib/hydra/deploy5
1 files changed, 3 insertions, 2 deletions
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