summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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