summaryrefslogtreecommitdiff
path: root/bin/debug.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/debug.sh')
-rwxr-xr-xbin/debug.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/debug.sh b/bin/debug.sh
index d6f37542..4f29f300 100755
--- a/bin/debug.sh
+++ b/bin/debug.sh
@@ -2,7 +2,7 @@
# debug script to be run on remote servers
# called from leap_cli with the 'leap debug' cmd
-apps='(leap|pixelated|stunnel|couch|soledad|haproxy)'
+apps='(leap|pixelated|stunnel|couch|soledad)'
facts='(apt_running |^architecture |^augeasversion |^couchdb_.* |^debian_.* |^dhcp_enabled |^domain |^facterversion |^filesystems |^fqdn |^hardwaremodel |^hostname |^interface.* |^ipaddress.* |^is_pe |^is_virtual |^kernel.* |^lib |^lsb.* |^memory.* |^mtu_.* |^netmask.* |^network_.* |^operatingsystem |^os.* |^path |^physicalprocessorcount |^processor.* |^ps |^puppetversion |^root_home |^rsyslog_version |^rubysitedir |^rubyversion |^selinux |^ssh_version |^swapfree.* |^swapsize.* |^type |^virtual)'
@@ -12,6 +12,10 @@ export FACTERLIB="/srv/leap/puppet/modules/apache/lib/facter:/srv/leap/puppet/mo
facter 2>/dev/null | egrep -i "$facts"
+# show leap debian repo used
+echo -e '\n\n'
+cat /etc/apt/sources.list.d/leap*.list
+
# query installed versions
echo -e '\n\n'
dpkg -l | egrep "$apps"
@@ -24,6 +28,3 @@ ps aux|egrep "$apps"
echo -e '\n\n'
echo -e "Last deploy:\n"
tail -2 /var/log/leap/deploy-summary.log
-
-
-