aboutsummaryrefslogtreecommitdiff
path: root/lib/hydra/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hydra/deploy')
-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