aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-09-28 10:26:33 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-09-28 10:26:33 -0300
commit92c890203d0b49191478e2b505bc9ce64161c729 (patch)
tree746c87687e19a0da4dc6c0838c33aa9af0af1b16 /lib
parent412d0c38623ba11312a3df5ae98a38ba5d11315d (diff)
downloadhydra-92c890203d0b49191478e2b505bc9ce64161c729.tar.gz
hydra-92c890203d0b49191478e2b505bc9ce64161c729.tar.bz2
Facts: more exclude patterns
Diffstat (limited to 'lib')
-rw-r--r--lib/hydra/deploy5
1 files changed, 3 insertions, 2 deletions
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