aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x__run__.py2
-rwxr-xr-xexample_plugins/example.py2
-rw-r--r--setup.py2
-rw-r--r--sos/__init__.py2
-rw-r--r--sos/archive.py2
-rw-r--r--sos/plugins/__init__.py2
-rw-r--r--sos/plugins/abrt.py2
-rw-r--r--sos/plugins/acpid.py2
-rw-r--r--sos/plugins/anaconda.py2
-rw-r--r--sos/plugins/anacron.py2
-rw-r--r--sos/plugins/apache.py2
-rw-r--r--sos/plugins/apparmor.py2
-rw-r--r--sos/plugins/apport.py2
-rw-r--r--sos/plugins/apt.py2
-rw-r--r--sos/plugins/ata.py2
-rw-r--r--sos/plugins/auditd.py2
-rw-r--r--sos/plugins/autofs.py2
-rw-r--r--sos/plugins/azure.py2
-rw-r--r--sos/plugins/block.py2
-rw-r--r--sos/plugins/boot.py2
-rw-r--r--sos/plugins/ceph.py2
-rw-r--r--sos/plugins/cgroups.py2
-rw-r--r--sos/plugins/cluster.py2
-rw-r--r--sos/plugins/cobbler.py2
-rw-r--r--sos/plugins/corosync.py2
-rw-r--r--sos/plugins/cron.py2
-rw-r--r--sos/plugins/cs.py2
-rw-r--r--sos/plugins/cups.py2
-rw-r--r--sos/plugins/devicemapper.py2
-rw-r--r--sos/plugins/dhcp.py2
-rw-r--r--sos/plugins/distupgrade.py2
-rw-r--r--sos/plugins/dmraid.py2
-rw-r--r--sos/plugins/dovecot.py2
-rw-r--r--sos/plugins/dpkg.py2
-rw-r--r--sos/plugins/ds.py2
-rw-r--r--sos/plugins/emc.py2
-rw-r--r--sos/plugins/filesys.py2
-rw-r--r--sos/plugins/foreman.py2
-rw-r--r--sos/plugins/gdm.py2
-rw-r--r--sos/plugins/general.py2
-rw-r--r--sos/plugins/gluster.py2
-rw-r--r--sos/plugins/grub.py2
-rw-r--r--sos/plugins/grub2.py2
-rw-r--r--sos/plugins/hardware.py2
-rw-r--r--sos/plugins/hts.py2
-rw-r--r--sos/plugins/i18n.py2
-rw-r--r--sos/plugins/infiniband.py2
-rw-r--r--sos/plugins/ipa.py2
-rw-r--r--sos/plugins/ipsec.py2
-rw-r--r--sos/plugins/iscsi.py2
-rw-r--r--sos/plugins/iscsitarget.py2
-rw-r--r--sos/plugins/java.py2
-rw-r--r--sos/plugins/juju.py2
-rw-r--r--sos/plugins/katello.py2
-rw-r--r--sos/plugins/kdump.py2
-rw-r--r--sos/plugins/kernel.py2
-rw-r--r--sos/plugins/kernelrt.py2
-rw-r--r--sos/plugins/krb5.py2
-rw-r--r--sos/plugins/kvm.py2
-rw-r--r--sos/plugins/landscape.py2
-rw-r--r--sos/plugins/ldap.py2
-rw-r--r--sos/plugins/libraries.py2
-rw-r--r--sos/plugins/libvirt.py2
-rw-r--r--sos/plugins/lilo.py2
-rw-r--r--sos/plugins/logrotate.py2
-rw-r--r--sos/plugins/logs.py2
-rw-r--r--sos/plugins/lsbrelease.py2
-rw-r--r--sos/plugins/lvm2.py2
-rw-r--r--sos/plugins/maas.py2
-rw-r--r--sos/plugins/md.py2
-rw-r--r--sos/plugins/memory.py2
-rw-r--r--sos/plugins/mrggrid.py2
-rw-r--r--sos/plugins/mrgmessg.py2
-rw-r--r--sos/plugins/multipath.py2
-rw-r--r--sos/plugins/mysql.py2
-rw-r--r--sos/plugins/named.py2
-rw-r--r--sos/plugins/networking.py2
-rw-r--r--sos/plugins/neutron.py2
-rw-r--r--sos/plugins/nfs.py2
-rw-r--r--sos/plugins/nfsserver.py2
-rw-r--r--sos/plugins/nis.py2
-rw-r--r--sos/plugins/nscd.py2
-rw-r--r--sos/plugins/ntp.py2
-rw-r--r--sos/plugins/oddjob.py2
-rw-r--r--sos/plugins/openhpi.py2
-rw-r--r--sos/plugins/openshift.py2
-rw-r--r--sos/plugins/openssl.py2
-rw-r--r--sos/plugins/openstack_ceilometer.py2
-rw-r--r--sos/plugins/openstack_cinder.py2
-rw-r--r--sos/plugins/openstack_glance.py2
-rw-r--r--sos/plugins/openstack_heat.py2
-rw-r--r--sos/plugins/openstack_horizon.py2
-rw-r--r--sos/plugins/openstack_keystone.py2
-rw-r--r--sos/plugins/openstack_neutron.py2
-rw-r--r--sos/plugins/openstack_nova.py2
-rw-r--r--sos/plugins/openstack_swift.py2
-rw-r--r--sos/plugins/openswan.py2
-rw-r--r--sos/plugins/pam.py2
-rw-r--r--sos/plugins/pci.py2
-rw-r--r--sos/plugins/postfix.py2
-rw-r--r--sos/plugins/postgresql.py3
-rw-r--r--sos/plugins/powerpc.py2
-rw-r--r--sos/plugins/ppp.py2
-rw-r--r--sos/plugins/procenv.py2
-rw-r--r--sos/plugins/process.py2
-rw-r--r--sos/plugins/processor.py2
-rw-r--r--sos/plugins/psacct.py2
-rw-r--r--sos/plugins/pxe.py2
-rw-r--r--sos/plugins/qpid.py2
-rw-r--r--sos/plugins/quagga.py2
-rw-r--r--sos/plugins/radius.py2
-rw-r--r--sos/plugins/rhui.py2
-rw-r--r--sos/plugins/rpm.py2
-rw-r--r--sos/plugins/s390.py2
-rw-r--r--sos/plugins/samba.py2
-rw-r--r--sos/plugins/sanlock.py2
-rw-r--r--sos/plugins/sar.py2
-rw-r--r--sos/plugins/satellite.py2
-rw-r--r--sos/plugins/scsi.py2
-rw-r--r--sos/plugins/selinux.py2
-rw-r--r--sos/plugins/sendmail.py2
-rw-r--r--sos/plugins/smartcard.py2
-rw-r--r--sos/plugins/snmp.py2
-rw-r--r--sos/plugins/soundcard.py2
-rw-r--r--sos/plugins/squid.py2
-rw-r--r--sos/plugins/ssh.py2
-rw-r--r--sos/plugins/sssd.py2
-rw-r--r--sos/plugins/startup.py2
-rw-r--r--sos/plugins/sunrpc.py2
-rw-r--r--sos/plugins/system.py2
-rw-r--r--sos/plugins/systemd.py2
-rw-r--r--sos/plugins/systemtap.py2
-rw-r--r--sos/plugins/sysvipc.py2
-rw-r--r--sos/plugins/tftpserver.py2
-rw-r--r--sos/plugins/tomcat.py2
-rw-r--r--sos/plugins/tuned.py2
-rw-r--r--sos/plugins/udev.py2
-rw-r--r--sos/plugins/upstart.py2
-rw-r--r--sos/plugins/usb.py2
-rw-r--r--sos/plugins/veritas.py2
-rw-r--r--sos/plugins/vmware.py2
-rw-r--r--sos/plugins/vsftpd.py2
-rw-r--r--sos/plugins/x11.py2
-rw-r--r--sos/plugins/xen.py2
-rw-r--r--sos/plugins/xfs.py2
-rw-r--r--sos/plugins/xinetd.py2
-rw-r--r--sos/plugins/yum.py2
-rw-r--r--sos/policies/__init__.py2
-rw-r--r--sos/policies/debian.py2
-rw-r--r--sos/policies/osx.py2
-rw-r--r--sos/policies/redhat.py3
-rw-r--r--sos/policies/ubuntu.py2
-rw-r--r--sos/policies/windows.py2
-rw-r--r--sos/reporting.py2
-rw-r--r--sos/sosreport.py2
-rw-r--r--sos/utilities.py2
-rw-r--r--tests/archive_tests.py2
-rw-r--r--tests/importer_tests.py2
-rw-r--r--tests/option_tests.py2
-rw-r--r--tests/plugin_tests.py2
-rw-r--r--tests/policy_tests.py2
-rw-r--r--tests/report_tests.py2
-rw-r--r--tests/sosreport_pexpect.py2
-rwxr-xr-xtests/test_exe.py2
-rw-r--r--tests/utilities_tests.py2
165 files changed, 330 insertions, 2 deletions
diff --git a/__run__.py b/__run__.py
index 663ee144..0f46807f 100755
--- a/__run__.py
+++ b/__run__.py
@@ -15,3 +15,5 @@ from sos.sosreport import main
import sys
main(sys.argv[1:])
+
+# vim: et ts=4 sw=4
diff --git a/example_plugins/example.py b/example_plugins/example.py
index e13d92b5..31e8c78a 100755
--- a/example_plugins/example.py
+++ b/example_plugins/example.py
@@ -55,3 +55,5 @@ class example(Plugin, RedHatPlugin):
# Here's how to execute a command
self.collectExtOutput("/bin/ps -ef")
+
+# vim: et ts=4 sw=4
diff --git a/setup.py b/setup.py
index 0ae87b3e..09d164fc 100644
--- a/setup.py
+++ b/setup.py
@@ -70,3 +70,5 @@ setup(name='sosreport',
requires=['six'],
)
+
+# vim: et ts=4 sw=4
diff --git a/sos/__init__.py b/sos/__init__.py
index f2b8e327..fc6738b6 100644
--- a/sos/__init__.py
+++ b/sos/__init__.py
@@ -32,3 +32,5 @@ def _default(msg):
return gettext.dgettext(gettext_app, msg)
_sos = _default
+
+# vim: et ts=4 sw=4
diff --git a/sos/archive.py b/sos/archive.py
index 9e6029b9..3cca9b7c 100644
--- a/sos/archive.py
+++ b/sos/archive.py
@@ -332,3 +332,5 @@ class ZipFileArchive(Archive):
def close(self):
self.zipfile.close()
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py
index d420cd00..9ee0b614 100644
--- a/sos/plugins/__init__.py
+++ b/sos/plugins/__init__.py
@@ -700,3 +700,5 @@ def import_plugin(name, superclasses=None):
if not superclasses:
superclasses = (Plugin,)
return import_module(plugin_fqname, superclasses)
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/abrt.py b/sos/plugins/abrt.py
index 148d57a1..660c0f74 100644
--- a/sos/plugins/abrt.py
+++ b/sos/plugins/abrt.py
@@ -44,3 +44,5 @@ class Abrt(Plugin, RedHatPlugin):
self.do_backtraces()
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/acpid.py b/sos/plugins/acpid.py
index 9a2d1236..b9371f03 100644
--- a/sos/plugins/acpid.py
+++ b/sos/plugins/acpid.py
@@ -31,3 +31,5 @@ class DebianAcpid(Acpid, DebianPlugin, UbuntuPlugin):
def setup(self):
self.add_copy_specs([
"/etc/acpi/events/powerbtn*"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/anaconda.py b/sos/plugins/anaconda.py
index dcec7041..e165ba77 100644
--- a/sos/plugins/anaconda.py
+++ b/sos/plugins/anaconda.py
@@ -44,3 +44,5 @@ class Anaconda(Plugin, RedHatPlugin):
self.do_file_sub("/root/anaconda-ks.cfg",
r"(\s*rootpw\s*).*",
r"\1******")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/anacron.py b/sos/plugins/anacron.py
index e9595a8e..60efa27b 100644
--- a/sos/plugins/anacron.py
+++ b/sos/plugins/anacron.py
@@ -27,3 +27,5 @@ class Anacron(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
def setup(self):
self.add_copy_specs(list(self.files))
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/apache.py b/sos/plugins/apache.py
index d889125a..bad943ba 100644
--- a/sos/plugins/apache.py
+++ b/sos/plugins/apache.py
@@ -50,3 +50,5 @@ class DebianApache(Apache, DebianPlugin, UbuntuPlugin):
"/etc/default/apache2"])
if self.get_option("log"):
self.add_copy_spec("/var/log/apache2/*")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/apparmor.py b/sos/plugins/apparmor.py
index afdad185..76ca9db6 100644
--- a/sos/plugins/apparmor.py
+++ b/sos/plugins/apparmor.py
@@ -25,3 +25,5 @@ class Apparmor(Plugin, UbuntuPlugin):
self.add_copy_specs([
"/etc/apparmor"
])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/apport.py b/sos/plugins/apport.py
index e3a02efd..b7f884f3 100644
--- a/sos/plugins/apport.py
+++ b/sos/plugins/apport.py
@@ -23,3 +23,5 @@ class Apport(Plugin, DebianPlugin, UbuntuPlugin):
def setup(self):
self.add_copy_spec("/etc/apport/*")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/apt.py b/sos/plugins/apt.py
index ad2fe1a3..8aea6294 100644
--- a/sos/plugins/apt.py
+++ b/sos/plugins/apt.py
@@ -29,3 +29,5 @@ class Apt(Plugin, DebianPlugin, UbuntuPlugin):
self.add_cmd_output("apt-config dump")
self.add_cmd_output("apt-cache stats")
self.add_cmd_output("apt-cache policy")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/ata.py b/sos/plugins/ata.py
index eb0f53f8..f947455c 100644
--- a/sos/plugins/ata.py
+++ b/sos/plugins/ata.py
@@ -34,3 +34,5 @@ class Ata(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
self.add_cmd_output("hdparm %s" % disk_path)
self.add_cmd_output("smartctl -a %s" % disk_path)
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/auditd.py b/sos/plugins/auditd.py
index c031e14f..1f513062 100644
--- a/sos/plugins/auditd.py
+++ b/sos/plugins/auditd.py
@@ -28,3 +28,5 @@ class Auditd(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"/etc/audit/audit.rules"])
self.add_copy_spec_limit("/var/log/audit*",
sizelimit = self.get_option("logsize"))
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/autofs.py b/sos/plugins/autofs.py
index b1d264ba..a4dbfea4 100644
--- a/sos/plugins/autofs.py
+++ b/sos/plugins/autofs.py
@@ -65,3 +65,5 @@ class DebianAutofs(Autofs, DebianPlugin, UbuntuPlugin):
def setup(self):
super(DebianAutofs, self).setup()
self.add_cmd_output("dpkg-query -s autofs")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/azure.py b/sos/plugins/azure.py
index 65ba9ac1..6f16c75a 100644
--- a/sos/plugins/azure.py
+++ b/sos/plugins/azure.py
@@ -29,3 +29,5 @@ class Azure(Plugin, UbuntuPlugin):
"/etc/default/kv-kvp-daemon-init",
"/sys/module/hv_netvsc/parameters/ring_size",
"/sys/module/hv_storvsc/parameters/storvsc_ringbuffer_size"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/block.py b/sos/plugins/block.py
index 044345b3..de0de81b 100644
--- a/sos/plugins/block.py
+++ b/sos/plugins/block.py
@@ -41,3 +41,5 @@ class Block(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_cmd_output("udevadm info -ap /sys/block/%s" % (disk))
self.add_cmd_output("parted -s %s print" % (disk_path))
self.add_cmd_output("fdisk -l %s" % disk_path)
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/boot.py b/sos/plugins/boot.py
index bf501200..22ca155c 100644
--- a/sos/plugins/boot.py
+++ b/sos/plugins/boot.py
@@ -42,3 +42,5 @@ class Boot(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
continue
self.add_cmd_output("lsinitrd %s" % image)
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/ceph.py b/sos/plugins/ceph.py
index decd161e..b408f8fe 100644
--- a/sos/plugins/ceph.py
+++ b/sos/plugins/ceph.py
@@ -42,3 +42,5 @@ class Ceph(Plugin, RedHatPlugin, UbuntuPlugin):
self.add_forbidden_path("/etc/ceph/*keyring")
self.add_forbidden_path("/var/lib/ceph/*/*keyring")
self.add_forbidden_path("/var/lib/ceph/*keyring")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/cgroups.py b/sos/plugins/cgroups.py
index 102b71c4..6f34e649 100644
--- a/sos/plugins/cgroups.py
+++ b/sos/plugins/cgroups.py
@@ -40,3 +40,5 @@ class RedHatCgroups(Cgroups, RedHatPlugin):
"/etc/cgconfig.conf",
"/etc/cgrules.conf"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/cluster.py b/sos/plugins/cluster.py
index 0b839fa1..f4ed405b 100644
--- a/sos/plugins/cluster.py
+++ b/sos/plugins/cluster.py
@@ -126,3 +126,5 @@ class Cluster(Plugin, RedHatPlugin):
r"(.*fence.*\.passwd=)(.*)",
r"\1******")
return
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/cobbler.py b/sos/plugins/cobbler.py
index b7548131..061e2a67 100644
--- a/sos/plugins/cobbler.py
+++ b/sos/plugins/cobbler.py
@@ -40,3 +40,5 @@ class DebianCobbler(Cobbler, DebianPlugin, UbuntuPlugin):
self.add_copy_spec("/var/log/cobbler")
self.add_copy_spec("/var/lib/cobbler")
self.add_forbidden_path("/var/lib/cobbler/isos")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/corosync.py b/sos/plugins/corosync.py
index 79333c2f..e91a9d4c 100644
--- a/sos/plugins/corosync.py
+++ b/sos/plugins/corosync.py
@@ -51,3 +51,5 @@ class DebianCorosync(Corosync, DebianPlugin, UbuntuPlugin):
super(DebianCorosync, self).setup()
files = ('/usr/sbin/corosync',)
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/cron.py b/sos/plugins/cron.py
index f0f48560..ae2b479a 100644
--- a/sos/plugins/cron.py
+++ b/sos/plugins/cron.py
@@ -30,3 +30,5 @@ class Cron(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
])
self.add_cmd_output("crontab -l -u root",
suggest_filename = "root_crontab")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/cs.py b/sos/plugins/cs.py
index 3adf1f65..7ae79d3e 100644
--- a/sos/plugins/cs.py
+++ b/sos/plugins/cs.py
@@ -87,3 +87,5 @@ class CertificateSystem(Plugin, RedHatPlugin):
"/var/log/pki-*/ra-debug.log",
"/var/log/pki-*/transactions",
"/var/log/pki-*/system"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/cups.py b/sos/plugins/cups.py
index aaa3971e..17ca3cc5 100644
--- a/sos/plugins/cups.py
+++ b/sos/plugins/cups.py
@@ -34,3 +34,5 @@ class Printing(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_cmd_output("lpstat -t")
self.add_cmd_output("lpstat -s")
self.add_cmd_output("lpstat -d")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/devicemapper.py b/sos/plugins/devicemapper.py
index 9e553c21..cc102681 100644
--- a/sos/plugins/devicemapper.py
+++ b/sos/plugins/devicemapper.py
@@ -27,3 +27,5 @@ class DeviceMapper(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_cmd_output("dmsetup status")
self.add_cmd_output("dmsetup ls --tree")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/dhcp.py b/sos/plugins/dhcp.py
index 71946c2b..344e1e3f 100644
--- a/sos/plugins/dhcp.py
+++ b/sos/plugins/dhcp.py
@@ -44,3 +44,5 @@ class UbuntuDhcp(Dhcp, UbuntuPlugin):
"/etc/default/udhcpd",
"/etc/udhcpd.conf"
])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/distupgrade.py b/sos/plugins/distupgrade.py
index b45d099e..d618dfc6 100644
--- a/sos/plugins/distupgrade.py
+++ b/sos/plugins/distupgrade.py
@@ -37,3 +37,5 @@ class RedHatDistUpgrade(DistUpgrade, RedHatPlugin):
)
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/dmraid.py b/sos/plugins/dmraid.py
index 12242bf6..12613b5c 100644
--- a/sos/plugins/dmraid.py
+++ b/sos/plugins/dmraid.py
@@ -25,3 +25,5 @@ class Dmraid(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
def setup(self):
for opt in self.dmraid_options:
self.add_cmd_output("dmraid -%s" % (opt,))
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/dovecot.py b/sos/plugins/dovecot.py
index 2d92a6b9..37e504be 100644
--- a/sos/plugins/dovecot.py
+++ b/sos/plugins/dovecot.py
@@ -41,3 +41,5 @@ class DebianDovecot(Dovecot, DebianPlugin, UbuntuPlugin):
super(DebianDovecot, self).setup()
files = ('/etc/dovecot/README',)
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/dpkg.py b/sos/plugins/dpkg.py
index 1912e345..266b2ee5 100644
--- a/sos/plugins/dpkg.py
+++ b/sos/plugins/dpkg.py
@@ -24,3 +24,5 @@ class Dpkg(Plugin, DebianPlugin, UbuntuPlugin):
def setup(self):
self.add_copy_spec("/var/log/dpkg.log")
self.add_cmd_output("dpkg -l", root_symlink = "installed-debs")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/ds.py b/sos/plugins/ds.py
index 1bbcd64c..7092701f 100644
--- a/sos/plugins/ds.py
+++ b/sos/plugins/ds.py
@@ -46,3 +46,5 @@ class DirectoryServer(Plugin, RedHatPlugin):
self.add_copy_specs([
"/opt/redhat-ds/slapd-*/config",
"/opt/redhat-ds/slapd-*/logs"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/emc.py b/sos/plugins/emc.py
index 5a2495e2..d5fb1ed2 100644
--- a/sos/plugins/emc.py
+++ b/sos/plugins/emc.py
@@ -219,3 +219,5 @@ class Emc(Plugin, RedHatPlugin):
## Only provide About EMC if EMC products are installed
if add_about_emc != "no":
self.about_emc()
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/filesys.py b/sos/plugins/filesys.py
index 7564ddf6..9deb75df 100644
--- a/sos/plugins/filesys.py
+++ b/sos/plugins/filesys.py
@@ -48,3 +48,5 @@ class Filesys(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
ext_fs_regex = r"^(/dev/.+).+ext[234]\s+"
for dev in zip(self.do_regex_find_all(ext_fs_regex, mounts)):
self.add_cmd_output("dumpe2fs -h %s" % (dev))
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/foreman.py b/sos/plugins/foreman.py
index a2f2881d..661c0756 100644
--- a/sos/plugins/foreman.py
+++ b/sos/plugins/foreman.py
@@ -27,3 +27,5 @@ class Foreman(Plugin, RedHatPlugin):
def setup(self):
self.add_cmd_output("%s -q -a -d %s" % ("foreman-debug",
self.get_cmd_output_path(name="foreman-debug")))
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/gdm.py b/sos/plugins/gdm.py
index 05601f3e..38638139 100644
--- a/sos/plugins/gdm.py
+++ b/sos/plugins/gdm.py
@@ -22,3 +22,5 @@ class Gdm(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
def setup(self):
self.add_copy_spec("/etc/gdm/*")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/general.py b/sos/plugins/general.py
index a6964c4a..0906de1c 100644
--- a/sos/plugins/general.py
+++ b/sos/plugins/general.py
@@ -78,3 +78,5 @@ class UbuntuGeneral(DebianGeneral):
def setup(self):
super(UbuntuGeneral, self).setup()
self.add_copy_spec("/etc/os-release")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/gluster.py b/sos/plugins/gluster.py
index 4286b594..d9c35d3b 100644
--- a/sos/plugins/gluster.py
+++ b/sos/plugins/gluster.py
@@ -113,3 +113,5 @@ class Gluster(Plugin, RedHatPlugin):
# collect this last as some of the other actions create log entries
self.add_copy_spec("/var/log/glusterfs")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/grub.py b/sos/plugins/grub.py
index bdda1156..cc4d5934 100644
--- a/sos/plugins/grub.py
+++ b/sos/plugins/grub.py
@@ -29,3 +29,5 @@ class Grub(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"/etc/grub.d"
])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/grub2.py b/sos/plugins/grub2.py
index fd86211a..c9f64b0b 100644
--- a/sos/plugins/grub2.py
+++ b/sos/plugins/grub2.py
@@ -32,3 +32,5 @@ class Grub2(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
])
self.add_cmd_output("ls -lanR /boot")
self.add_cmd_output("grub2-mkconfig")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/hardware.py b/sos/plugins/hardware.py
index eda00604..f3c968ea 100644
--- a/sos/plugins/hardware.py
+++ b/sos/plugins/hardware.py
@@ -53,3 +53,5 @@ class DebianHardware(Hardware, DebianPlugin, UbuntuPlugin):
def setup(self):
super(DebianHardware, self).setup()
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/hts.py b/sos/plugins/hts.py
index d514bf8d..2200793e 100644
--- a/sos/plugins/hts.py
+++ b/sos/plugins/hts.py
@@ -23,3 +23,5 @@ class HardwareTestSuite(Plugin, RedHatPlugin):
def setup(self):
self.add_copy_spec("/etc/httpd/conf.d/hts.conf")
self.add_copy_spec("/var/hts")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/i18n.py b/sos/plugins/i18n.py
index 0361c55b..dd2b36a3 100644
--- a/sos/plugins/i18n.py
+++ b/sos/plugins/i18n.py
@@ -23,3 +23,5 @@ class I18n(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
def setup(self):
self.add_copy_specs(["/etc/X11/xinit/xinput.d/*", "/etc/locale.conf"])
self.add_cmd_output("locale")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/infiniband.py b/sos/plugins/infiniband.py
index e1288c9f..2c890a51 100644
--- a/sos/plugins/infiniband.py
+++ b/sos/plugins/infiniband.py
@@ -39,3 +39,5 @@ class Infiniband(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_cmd_output("ibhosts")
return
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/ipa.py b/sos/plugins/ipa.py
index 0061659e..28129399 100644
--- a/sos/plugins/ipa.py
+++ b/sos/plugins/ipa.py
@@ -81,3 +81,5 @@ class Ipa(Plugin, RedHatPlugin):
subst = r"\1********"
self.do_file_sub("/etc/named.conf", match, subst)
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/ipsec.py b/sos/plugins/ipsec.py
index 1f00d51c..b389432a 100644
--- a/sos/plugins/ipsec.py
+++ b/sos/plugins/ipsec.py
@@ -42,3 +42,5 @@ class DebianIPSec(IPSec, DebianPlugin, UbuntuPlugin):
self.add_copy_specs(["/etc/ipsec-tools.conf",
"/etc/ipsec-tools.d",
"/etc/default/setkey"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/iscsi.py b/sos/plugins/iscsi.py
index 2a49ee4c..3dbecf44 100644
--- a/sos/plugins/iscsi.py
+++ b/sos/plugins/iscsi.py
@@ -37,3 +37,5 @@ class RedHatIscsi(Iscsi, RedHatPlugin):
self.add_cmd_output("iscsiadm -m node -P 3")
self.add_cmd_output("iscsiadm -m iface -P 1")
self.add_cmd_output("iscsiadm -m node --op=show")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/iscsitarget.py b/sos/plugins/iscsitarget.py
index a3a3e7ee..d91c2220 100644
--- a/sos/plugins/iscsitarget.py
+++ b/sos/plugins/iscsitarget.py
@@ -47,3 +47,5 @@ class DebianIscsiTarget(IscsiTarget, DebianPlugin, UbuntuPlugin):
"/etc/sysctl.d/30-iscsitarget.conf",
"/etc/default/iscsitarget"
])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/java.py b/sos/plugins/java.py
index bad726ca..d316bc10 100644
--- a/sos/plugins/java.py
+++ b/sos/plugins/java.py
@@ -27,3 +27,5 @@ class Java(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
root_symlink="java")
self.add_cmd_output("readlink -f /usr/bin/java")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/juju.py b/sos/plugins/juju.py
index c7bbdf17..ef2cdbf5 100644
--- a/sos/plugins/juju.py
+++ b/sos/plugins/juju.py
@@ -28,3 +28,5 @@ class Juju(Plugin, UbuntuPlugin):
self.add_cmd_output("juju -v status")
self.add_cmd_output("juju -v get-constraints")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/katello.py b/sos/plugins/katello.py
index acf5d905..6fd0fb7e 100644
--- a/sos/plugins/katello.py
+++ b/sos/plugins/katello.py
@@ -27,3 +27,5 @@ class Katello(Plugin, RedHatPlugin):
def setup(self):
self.add_cmd_output("katello-debug --notar -d %s"
% self.get_cmd_output_path(name="katello-debug"))
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/kdump.py b/sos/plugins/kdump.py
index 81ce5740..460d69e0 100644
--- a/sos/plugins/kdump.py
+++ b/sos/plugins/kdump.py
@@ -50,3 +50,5 @@ class DebianKDump(KDump, DebianPlugin, UbuntuPlugin):
self.add_copy_specs([
"/etc/default/kdump-tools"
])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/kernel.py b/sos/plugins/kernel.py
index f96fe6ce..d40f5493 100644
--- a/sos/plugins/kernel.py
+++ b/sos/plugins/kernel.py
@@ -66,3 +66,5 @@ class Kernel(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
])
self.add_cmd_output("dkms status")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/kernelrt.py b/sos/plugins/kernelrt.py
index b5fdc5d9..ad5c4e79 100644
--- a/sos/plugins/kernelrt.py
+++ b/sos/plugins/kernelrt.py
@@ -35,3 +35,5 @@ class KernelRT(Plugin, RedHatPlugin):
self.add_copy_spec('/sys/devices/system/clocksource/clocksource0/current_clocksource')
if self.is_installed('tuna'):
self.add_cmd_output('tuna -CP | /usthead -20')
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/krb5.py b/sos/plugins/krb5.py
index 0d33094e..78a8c6a5 100644
--- a/sos/plugins/krb5.py
+++ b/sos/plugins/krb5.py
@@ -26,3 +26,5 @@ class Krb5(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_copy_spec("/etc/krb5.conf")
self.add_cmd_output("klist -ket /etc/krb5.keytab")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/kvm.py b/sos/plugins/kvm.py
index a0c44c1d..51b8488f 100644
--- a/sos/plugins/kvm.py
+++ b/sos/plugins/kvm.py
@@ -42,3 +42,5 @@ class Kvm(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
def postproc(self):
if self._debugfs_cleanup and os.path.ismount("/sys/kernel/debug"):
os.popen("umount /sys/kernel/debug")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/landscape.py b/sos/plugins/landscape.py
index 4096039c..699786f6 100644
--- a/sos/plugins/landscape.py
+++ b/sos/plugins/landscape.py
@@ -71,3 +71,5 @@ class Landscape(Plugin, UbuntuPlugin):
)
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/ldap.py b/sos/plugins/ldap.py
index 79d83947..eb8e7556 100644
--- a/sos/plugins/ldap.py
+++ b/sos/plugins/ldap.py
@@ -82,3 +82,5 @@ class DebianLdap(Ldap, DebianPlugin, UbuntuPlugin):
self.do_cmd_output_sub(
"ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=config '(!(objectClass=olcSchemaConfig))'",
r"(olcRootPW\: \s*)\S+", r"\1********")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/libraries.py b/sos/plugins/libraries.py
index 1ab5f173..b6e61954 100644
--- a/sos/plugins/libraries.py
+++ b/sos/plugins/libraries.py
@@ -28,3 +28,5 @@ class Libraries(Plugin, RedHatPlugin, UbuntuPlugin):
if self.get_option("ldconfigv"):
self.add_cmd_output("ldconfig -v -N -X")
self.add_cmd_output("ldconfig -p -N -X")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/libvirt.py b/sos/plugins/libvirt.py
index e525f1b2..c0314096 100644
--- a/sos/plugins/libvirt.py
+++ b/sos/plugins/libvirt.py
@@ -29,3 +29,5 @@ class Libvirt(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
self.do_file_sub(xmlfile,
r"(\s*passwd=\s*')([^']*)('.*$)",
r"\1******\3")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/lilo.py b/sos/plugins/lilo.py
index 237cfc67..46c18149 100644
--- a/sos/plugins/lilo.py
+++ b/sos/plugins/lilo.py
@@ -24,3 +24,5 @@ class Lilo(Plugin, RedHatPlugin, UbuntuPlugin):
def setup(self):
self.add_copy_spec("/etc/lilo.conf")
self.add_cmd_output("lilo -q")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/logrotate.py b/sos/plugins/logrotate.py
index c4b1fc58..1ab44106 100644
--- a/sos/plugins/logrotate.py
+++ b/sos/plugins/logrotate.py
@@ -26,3 +26,5 @@ class LogRotate(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_copy_specs([
"/etc/logrotate*",
"/var/lib/logrotate.status"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/logs.py b/sos/plugins/logs.py
index 7e7545f1..1cd767c9 100644
--- a/sos/plugins/logs.py
+++ b/sos/plugins/logs.py
@@ -85,3 +85,5 @@ class UbuntuLogs(Logs, UbuntuPlugin):
"/var/log/landscape",
])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/lsbrelease.py b/sos/plugins/lsbrelease.py
index e364a179..7a8ceed2 100644
--- a/sos/plugins/lsbrelease.py
+++ b/sos/plugins/lsbrelease.py
@@ -26,3 +26,5 @@ class LsbRelease(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_cmd_output("lsb_release -a")
self.add_cmd_output("lsb_release -d", suggest_filename = "lsb_release", root_symlink = "lsb-release")
self.add_copy_spec("/etc/lsb-release*")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/lvm2.py b/sos/plugins/lvm2.py
index 102df267..82f72550 100644
--- a/sos/plugins/lvm2.py
+++ b/sos/plugins/lvm2.py
@@ -53,3 +53,5 @@ class Lvm2(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.do_lvmdump(metadata=True)
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/maas.py b/sos/plugins/maas.py
index 4ed94d4b..af0db3d9 100644
--- a/sos/plugins/maas.py
+++ b/sos/plugins/maas.py
@@ -34,3 +34,5 @@ class Maas(Plugin, UbuntuPlugin):
self.add_cmd_output("apt-cache policy maas-*")
self.add_cmd_output("apt-cache policy python-django-*")
self.add_cmd_output("maas dumpdata")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/md.py b/sos/plugins/md.py
index ecba0f72..2f9e8efc 100644
--- a/sos/plugins/md.py
+++ b/sos/plugins/md.py
@@ -29,3 +29,5 @@ class Md(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"/dev/md/md-device-map"
])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/memory.py b/sos/plugins/memory.py
index 0b26a84a..f2ec27cb 100644
--- a/sos/plugins/memory.py
+++ b/sos/plugins/memory.py
@@ -32,3 +32,5 @@ class Memory(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
suggest_filename="dmesg.e820-map")
self.add_cmd_output("free", root_symlink = "free")
self.add_cmd_output("free -m")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/mrggrid.py b/sos/plugins/mrggrid.py
index a8e7e357..05fde9ba 100644
--- a/sos/plugins/mrggrid.py
+++ b/sos/plugins/mrggrid.py
@@ -23,3 +23,5 @@ class MrgGrid(Plugin, RedHatPlugin):
def setup(self):
self.add_copy_spec("/etc/condor/condor_config")
self.add_copy_spec("condor_status")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/mrgmessg.py b/sos/plugins/mrgmessg.py
index 4e85db6e..f29ce742 100644
--- a/sos/plugins/mrgmessg.py
+++ b/sos/plugins/mrgmessg.py
@@ -25,3 +25,5 @@ class MrgMessg(Plugin, RedHatPlugin):
"/etc/qpidd.conf",
"/etc/sasl2/qpidd.conf",
"/var/rhm"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/multipath.py b/sos/plugins/multipath.py
index 79173526..0eceadf1 100644
--- a/sos/plugins/multipath.py
+++ b/sos/plugins/multipath.py
@@ -30,3 +30,5 @@ class Multipath(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_cmd_output("multipath -v4 -ll")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/mysql.py b/sos/plugins/mysql.py
index e3c971fe..b168e132 100644
--- a/sos/plugins/mysql.py
+++ b/sos/plugins/mysql.py
@@ -50,3 +50,5 @@ class DebianMysql(Mysql, DebianPlugin, UbuntuPlugin):
self.mysql_cnf = "/etc/mysql/my.cnf"
super(DebianMysql, self).setup()
self.add_copy_spec("/etc/mysql/conf.d/mysql*")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/named.py b/sos/plugins/named.py
index e73bf42a..6c680910 100644
--- a/sos/plugins/named.py
+++ b/sos/plugins/named.py
@@ -84,3 +84,5 @@ class DebianNamed(Named, DebianPlugin, UbuntuPlugin):
self.add_copy_spec("/etc/bind/")
return
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py
index 598d3753..ce5b3aa3 100644
--- a/sos/plugins/networking.py
+++ b/sos/plugins/networking.py
@@ -153,3 +153,5 @@ class UbuntuNetworking(Networking, UbuntuPlugin):
if self.get_option("traceroute"):
self.add_cmd_output("/usr/sbin/traceroute -n %s" % self.trace_host)
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/neutron.py b/sos/plugins/neutron.py
index 23174330..2200606b 100644
--- a/sos/plugins/neutron.py
+++ b/sos/plugins/neutron.py
@@ -176,3 +176,5 @@ class RedHatNeutron(Neutron, RedHatPlugin):
super(RedHatNeutron, self).setup()
self.packages = self.gen_pkg_tuple(self.package_list_template)
self.add_copy_specs(["/etc/sudoers.d/%s-rootwrap" % self.component_name])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/nfs.py b/sos/plugins/nfs.py
index 2e00333c..5b6ffa0f 100644
--- a/sos/plugins/nfs.py
+++ b/sos/plugins/nfs.py
@@ -29,3 +29,5 @@ class Nfs(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
])
return
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/nfsserver.py b/sos/plugins/nfsserver.py
index 7ae704ee..5ba8c4b0 100644
--- a/sos/plugins/nfsserver.py
+++ b/sos/plugins/nfsserver.py
@@ -49,3 +49,5 @@ class NfsServer(Plugin, RedHatPlugin):
self.add_cmd_output("rpcinfo -p localhost")
self.add_cmd_output("nfsstat -o all")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/nis.py b/sos/plugins/nis.py
index baa71e8d..cec8aaab 100644
--- a/sos/plugins/nis.py
+++ b/sos/plugins/nis.py
@@ -30,3 +30,5 @@ class Nis(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_copy_spec("/etc/yp*.conf")
self.add_copy_spec("/var/yp/*")
self.add_cmd_output("domainname")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/nscd.py b/sos/plugins/nscd.py
index 91a31ef1..339f52ea 100644
--- a/sos/plugins/nscd.py
+++ b/sos/plugins/nscd.py
@@ -37,3 +37,5 @@ class Nscd(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
f = o.split()
self.add_copy_spec_limit(f[1],
sizelimit = self.option_enabled("nscdlogsize"))
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/ntp.py b/sos/plugins/ntp.py
index 639b292a..0fba6f29 100644
--- a/sos/plugins/ntp.py
+++ b/sos/plugins/ntp.py
@@ -49,3 +49,5 @@ class DebianNtp(Ntp, DebianPlugin, UbuntuPlugin):
super(DebianNtp, self).setup()
self.add_copy_spec('/etc/default/ntp')
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/oddjob.py b/sos/plugins/oddjob.py
index 473a6910..ea168ebe 100644
--- a/sos/plugins/oddjob.py
+++ b/sos/plugins/oddjob.py
@@ -29,3 +29,5 @@ class Oddjob(Plugin, RedHatPlugin):
self.add_copy_spec("/etc/oddjobd.conf")
self.add_copy_spec("/etc/oddjobd.conf.d")
self.add_copy_spec("/etc/dbus-1/system.d/oddjob.conf")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/openhpi.py b/sos/plugins/openhpi.py
index dbe004d4..80053ed8 100644
--- a/sos/plugins/openhpi.py
+++ b/sos/plugins/openhpi.py
@@ -31,3 +31,5 @@ class OpenHPI(Plugin, RedHatPlugin):
self.do_file_sub("/etc/openhpi/openhpi.conf",
r'(\s*[Pp]ass.*\s*=\s*).*', r'\1********')
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/openshift.py b/sos/plugins/openshift.py
index 459e75e1..4eaf2365 100644
--- a/sos/plugins/openshift.py
+++ b/sos/plugins/openshift.py
@@ -70,3 +70,5 @@ class Openshift(Plugin, RedHatPlugin):
self.do_file_sub('/etc/openshift/htpasswd',
r"(.*:)(.*)",
r"\1********")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/openssl.py b/sos/plugins/openssl.py
index c73181be..261ad07c 100644
--- a/sos/plugins/openssl.py
+++ b/sos/plugins/openssl.py
@@ -53,3 +53,5 @@ class DebianOpenSSL(OpenSSL, DebianPlugin, UbuntuPlugin):
def setup(self):
super(DebianOpenSSL, self).setup()
self.add_copy_spec("/etc/ssl/openssl.cnf")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/openstack_ceilometer.py b/sos/plugins/openstack_ceilometer.py
index 524b68be..4b877d63 100644
--- a/sos/plugins/openstack_ceilometer.py
+++ b/sos/plugins/openstack_ceilometer.py
@@ -51,3 +51,5 @@ class RedHatOpenStackCeilometer(OpenStackCeilometer, plugins.RedHatPlugin):
'openstack-ceilometer-common',
'openstack-ceilometer-compute',
'python-ceilometerclient')
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/openstack_cinder.py b/sos/plugins/openstack_cinder.py
index 97eb8fba..41f99c4f 100644
--- a/sos/plugins/openstack_cinder.py
+++ b/sos/plugins/openstack_cinder.py
@@ -79,3 +79,5 @@ class RedHatOpenStackCinder(OpenStackCinder, RedHatPlugin):
super(RedHatOpenStackCinder, self).setup()
self.add_copy_specs(["/etc/sudoers.d/cinder"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/openstack_glance.py b/sos/plugins/openstack_glance.py
index 134d23fe..ae8851e1 100644
--- a/sos/plugins/openstack_glance.py
+++ b/sos/plugins/openstack_glance.py
@@ -52,3 +52,5 @@ class RedHatOpenStackGlance(OpenStackGlance, plugins.RedHatPlugin):
packages = ('openstack-glance',
'python-glanceclient')
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/openstack_heat.py b/sos/plugins/openstack_heat.py
index 15c26c97..68989bbc 100644
--- a/sos/plugins/openstack_heat.py
+++ b/sos/plugins/openstack_heat.py
@@ -57,3 +57,5 @@ class RedHatOpenStack(OpenStackHeat, plugins.RedHatPlugin):
'openstack-heat-common',
'openstack-heat-engine',
'python-heatclient')
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/openstack_horizon.py b/sos/plugins/openstack_horizon.py
index 31ee5616..c814b011 100644
--- a/sos/plugins/openstack_horizon.py
+++ b/sos/plugins/openstack_horizon.py
@@ -72,3 +72,5 @@ class RedHatOpenStackHorizon(OpenStackHorizon, RedHatPlugin):
self.add_copy_specs(["/etc/httpd/conf.d/openstack-dashboard.conf"])
if self.option_enabled("log"):
self.add_copy_specs(["/var/log/httpd/"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/openstack_keystone.py b/sos/plugins/openstack_keystone.py
index 0f3b6545..6e94558d 100644
--- a/sos/plugins/openstack_keystone.py
+++ b/sos/plugins/openstack_keystone.py
@@ -71,3 +71,5 @@ class RedHatOpenStackKeystone(OpenStackKeystone, RedHatPlugin):
'python-keystone',
'python-django-openstack-auth',
'python-keystoneclient')
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/openstack_neutron.py b/sos/plugins/openstack_neutron.py
index d063a7c4..bda9c5ef 100644
--- a/sos/plugins/openstack_neutron.py
+++ b/sos/plugins/openstack_neutron.py
@@ -88,3 +88,5 @@ class RedHatOpenStackNeutron(OpenStackNeutron, RedHatPlugin):
def setup(self):
super(RedHatOpenStackNeutron, self).setup()
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/openstack_nova.py b/sos/plugins/openstack_nova.py
index 2e7c956a..d294d165 100644
--- a/sos/plugins/openstack_nova.py
+++ b/sos/plugins/openstack_nova.py
@@ -142,3 +142,5 @@ class RedHatOpenStackNova(OpenStackNova, RedHatPlugin):
"/etc/sudoers.d/nova",
"/etc/security/limits.d/91-nova.conf",
"/etc/sysconfig/openstack-nova-novncproxy"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/openstack_swift.py b/sos/plugins/openstack_swift.py
index 1b674845..2514323e 100644
--- a/sos/plugins/openstack_swift.py
+++ b/sos/plugins/openstack_swift.py
@@ -52,3 +52,5 @@ class RedHatOpenStackSwift(OpenStackSwift, plugins.RedHatPlugin):
'openstack-swift-proxy',
'swift',
'python-swiftclient')
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/openswan.py b/sos/plugins/openswan.py
index c99968c9..0712c76b 100644
--- a/sos/plugins/openswan.py
+++ b/sos/plugins/openswan.py
@@ -35,3 +35,5 @@ class Openswan(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_cmd_output("ipsec verify")
if self.get_option("ipsec-barf"):
self.add_cmd_output("ipsec barf")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/pam.py b/sos/plugins/pam.py
index 307a405b..c78d4f98 100644
--- a/sos/plugins/pam.py
+++ b/sos/plugins/pam.py
@@ -43,3 +43,5 @@ class DebianPam(Pam, DebianPlugin, UbuntuPlugin):
def setup(self):
super(DebianPam, self).setup()
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/pci.py b/sos/plugins/pci.py
index 390776f8..e15b978d 100644
--- a/sos/plugins/pci.py
+++ b/sos/plugins/pci.py
@@ -34,3 +34,5 @@ class Pci(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
self.add_cmd_output("lspci -tv")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/postfix.py b/sos/plugins/postfix.py
index 6f0f9b4d..0300a5bc 100644
--- a/sos/plugins/postfix.py
+++ b/sos/plugins/postfix.py
@@ -48,3 +48,5 @@ class DebianPostfix(Postfix, DebianPlugin, UbuntuPlugin):
def setup(self):
super(DebianPostfix, self).setup()
self.add_copy_spec("/etc/postfix/dynamicmaps.cf")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/postgresql.py b/sos/plugins/postgresql.py
index cc511950..69084af0 100644
--- a/sos/plugins/postgresql.py
+++ b/sos/plugins/postgresql.py
@@ -148,4 +148,5 @@ class DebianPostgreSQL(PostgreSQL, DebianPlugin, UbuntuPlugin):
self.add_copy_spec("/var/lib/postgresql/*/main/PG_VERSION")
self.add_copy_spec("/var/lib/postgresql/*/main/postmaster.opts")
-# vim: expandtab tabstop=4 shiftwidth=4
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py
index 96810944..11ce56dd 100644
--- a/sos/plugins/powerpc.py
+++ b/sos/plugins/powerpc.py
@@ -76,3 +76,5 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
if os.path.isdir("/var/log/dump"):
self.add_cmd_output("ls -l /var/log/dump")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/ppp.py b/sos/plugins/ppp.py
index edb3eb43..a0446a52 100644
--- a/sos/plugins/ppp.py
+++ b/sos/plugins/ppp.py
@@ -30,3 +30,5 @@ class Ppp(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"/etc/ppp",
"/var/log/ppp"])
self.add_cmd_output("adsl-status")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/procenv.py b/sos/plugins/procenv.py
index d413cd16..e776e149 100644
--- a/sos/plugins/procenv.py
+++ b/sos/plugins/procenv.py
@@ -23,3 +23,5 @@ class Procenv(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
def setup(self):
self.add_cmd_output('procenv')
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/process.py b/sos/plugins/process.py
index 02eaa587..6d8f6409 100644
--- a/sos/plugins/process.py
+++ b/sos/plugins/process.py
@@ -27,3 +27,5 @@ class Process(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_cmd_output("ps alxwww")
self.add_cmd_output("pstree", root_symlink = "pstree")
self.add_cmd_output("lsof -b +M -n -l", root_symlink = "lsof")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/processor.py b/sos/plugins/processor.py
index 3b218941..391c64f7 100644
--- a/sos/plugins/processor.py
+++ b/sos/plugins/processor.py
@@ -45,3 +45,5 @@ class Processor(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
self.add_cmd_output("lscpu")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/psacct.py b/sos/plugins/psacct.py
index 74bd9f06..dadd62a2 100644
--- a/sos/plugins/psacct.py
+++ b/sos/plugins/psacct.py
@@ -49,3 +49,5 @@ class DebianPsacct(Psacct, DebianPlugin, UbuntuPlugin):
self.add_copy_specs(["/var/log/account/pacct", "/etc/default/acct"])
if self.get_option("all"):
self.add_copy_spec("/var/log/account/pacct*.gz")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/pxe.py b/sos/plugins/pxe.py
index fcb1a4b7..7a552e8d 100644
--- a/sos/plugins/pxe.py
+++ b/sos/plugins/pxe.py
@@ -51,3 +51,5 @@ class DebianPxe(Pxe, DebianPlugin, UbuntuPlugin):
self.add_copy_spec("/etc/default/tftpd-hpa")
if self.get_option("tftpboot"):
self.add_copy_spec("/var/lib/tftpboot")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/qpid.py b/sos/plugins/qpid.py
index cee84435..2fda9a4e 100644
--- a/sos/plugins/qpid.py
+++ b/sos/plugins/qpid.py
@@ -50,3 +50,5 @@ class Qpid(Plugin, RedHatPlugin):
"/var/log/sesame",
"/var/log/cumin",
"/var/log/cluster"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/quagga.py b/sos/plugins/quagga.py
index 909f9d49..88a41a76 100644
--- a/sos/plugins/quagga.py
+++ b/sos/plugins/quagga.py
@@ -27,3 +27,5 @@ class Quagga(Plugin, RedHatPlugin):
def setup(self):
self.add_copy_spec("/etc/quagga/")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/radius.py b/sos/plugins/radius.py
index 427fd250..a64ea35e 100644
--- a/sos/plugins/radius.py
+++ b/sos/plugins/radius.py
@@ -48,3 +48,5 @@ class DebianRadius(Radius, DebianPlugin, UbuntuPlugin):
"/etc/pam.d/radiusd",
"/etc/default/freeradius",
"/var/log/freeradius"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/rhui.py b/sos/plugins/rhui.py
index f0413b4b..a0ef5129 100644
--- a/sos/plugins/rhui.py
+++ b/sos/plugins/rhui.py
@@ -37,3 +37,5 @@ class Rhui(Plugin, RedHatPlugin):
% (self.rhui_debug_path, cds, rhui_debug_dst_path),
suggest_filename="rhui-debug")
return
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/rpm.py b/sos/plugins/rpm.py
index 55c80196..6c1529c2 100644
--- a/sos/plugins/rpm.py
+++ b/sos/plugins/rpm.py
@@ -53,3 +53,5 @@ class Rpm(Plugin, RedHatPlugin):
or pkg.endswith('-debuginfo-common'):
continue
self.add_cmd_output("rpm -V %s" % pkg)
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/s390.py b/sos/plugins/s390.py
index ed9546b1..7645b1b8 100644
--- a/sos/plugins/s390.py
+++ b/sos/plugins/s390.py
@@ -65,3 +65,5 @@ class S390(Plugin, RedHatPlugin):
self.add_cmd_output("dasdview -x -i -j -l -f %s" % (x,))
self.add_cmd_output("fdasd -p %s" % (x,))
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/samba.py b/sos/plugins/samba.py
index f3dc8628..6efab2f2 100644
--- a/sos/plugins/samba.py
+++ b/sos/plugins/samba.py
@@ -28,3 +28,5 @@ class Samba(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_cmd_output("wbinfo --domain='.' -u")
self.add_cmd_output("testparm -s -v")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/sanlock.py b/sos/plugins/sanlock.py
index 232dd007..4386f3f3 100644
--- a/sos/plugins/sanlock.py
+++ b/sos/plugins/sanlock.py
@@ -34,3 +34,5 @@ class RedHatSANLock(SANLock, RedHatPlugin):
def setup(self):
super(RedHatSANLock, self).setup()
self.add_copy_spec("/etc/sysconfig/sanlock")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/sar.py b/sos/plugins/sar.py
index 470d82f2..56cc637a 100644
--- a/sos/plugins/sar.py
+++ b/sos/plugins/sar.py
@@ -66,3 +66,5 @@ class DebianSar(Sar, DebianPlugin, UbuntuPlugin):
"""
sa_path = '/var/log/sysstat'
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/satellite.py b/sos/plugins/satellite.py
index 28c8bcab..936f3c5f 100644
--- a/sos/plugins/satellite.py
+++ b/sos/plugins/satellite.py
@@ -81,3 +81,5 @@ class Satellite(Plugin, RedHatPlugin):
if self.proxy:
self.add_copy_specs(["/etc/squid", "/var/log/squid"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/scsi.py b/sos/plugins/scsi.py
index a3f8175e..84570b6c 100644
--- a/sos/plugins/scsi.py
+++ b/sos/plugins/scsi.py
@@ -35,3 +35,5 @@ class Scsi(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
self.add_cmd_output("lsscsi")
self.add_cmd_output("sg_map")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/selinux.py b/sos/plugins/selinux.py
index 4b403ea3..14d36797 100644
--- a/sos/plugins/selinux.py
+++ b/sos/plugins/selinux.py
@@ -43,3 +43,5 @@ class SELinux(Plugin, RedHatPlugin):
self.add_cmd_output("semanage login -l")
self.add_cmd_output("semanage port -l")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/sendmail.py b/sos/plugins/sendmail.py
index 4efbf95d..1e25e32e 100644
--- a/sos/plugins/sendmail.py
+++ b/sos/plugins/sendmail.py
@@ -47,3 +47,5 @@ class DebianSendmail(Sendmail, DebianPlugin, UbuntuPlugin):
def setup(self):
super(DebianSendmail, self).setup()
self.add_copy_specs(["/etc/mail/*", "/var/log/mail.*"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/smartcard.py b/sos/plugins/smartcard.py
index 207f07af..65d4a11d 100644
--- a/sos/plugins/smartcard.py
+++ b/sos/plugins/smartcard.py
@@ -33,3 +33,5 @@ class Smartcard(Plugin, RedHatPlugin):
self.add_cmd_output("pkcs11_inspect debug")
self.add_cmd_output("pklogin_finder debug")
self.add_cmd_output("ls -nl /usr/lib*/pam_pkcs11/")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/snmp.py b/sos/plugins/snmp.py
index 177c0e26..a9026d1d 100644
--- a/sos/plugins/snmp.py
+++ b/sos/plugins/snmp.py
@@ -44,3 +44,5 @@ class DebianSnmp(Snmp, DebianPlugin, UbuntuPlugin):
def setup(self):
super(DebianSnmp, self).setup()
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/soundcard.py b/sos/plugins/soundcard.py
index b92b4c51..6b13a2d0 100644
--- a/sos/plugins/soundcard.py
+++ b/sos/plugins/soundcard.py
@@ -52,3 +52,5 @@ class DebianSoundcard(Soundcard, DebianPlugin, UbuntuPlugin):
super(DebianSoundcard, self).setup()
self.add_copy_spec("/etc/pulse/*")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/squid.py b/sos/plugins/squid.py
index bf6579b4..7ef96f2a 100644
--- a/sos/plugins/squid.py
+++ b/sos/plugins/squid.py
@@ -45,3 +45,5 @@ class DebianSquid(Squid, DebianPlugin, UbuntuPlugin):
def setup(self):
self.add_copy_spec_limit("/etc/squid3/squid.conf",
sizelimit=self.get_option('logsize'))
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/ssh.py b/sos/plugins/ssh.py
index 1abfc2a4..0900818b 100644
--- a/sos/plugins/ssh.py
+++ b/sos/plugins/ssh.py
@@ -24,3 +24,5 @@ class Ssh(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
def setup(self):
self.add_copy_specs(["/etc/ssh/ssh_config", "/etc/ssh/sshd_config"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/sssd.py b/sos/plugins/sssd.py
index 0d201f4e..40d88db0 100644
--- a/sos/plugins/sssd.py
+++ b/sos/plugins/sssd.py
@@ -48,3 +48,5 @@ class DebianSssd(Sssd, DebianPlugin, UbuntuPlugin):
def setup(self):
super(DebianSssd, self).setup()
self.add_copy_specs(["/etc/default/sssd"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/startup.py b/sos/plugins/startup.py
index 76d85efe..60d40865 100644
--- a/sos/plugins/startup.py
+++ b/sos/plugins/startup.py
@@ -46,3 +46,5 @@ class DebianStartup(Startup, DebianPlugin, UbuntuPlugin):
self.add_cmd_output("/sbin/initctl show-config", root_symlink = "initctl")
if self.get_option('servicestatus'):
self.add_cmd_output("/sbin/initctl list")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/sunrpc.py b/sos/plugins/sunrpc.py
index 3dab2cec..124f2fa1 100644
--- a/sos/plugins/sunrpc.py
+++ b/sos/plugins/sunrpc.py
@@ -52,3 +52,5 @@ class RedHatSunRPC(SunRPC, RedHatPlugin):
# return
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/system.py b/sos/plugins/system.py
index a7e3eda1..a8192249 100644
--- a/sos/plugins/system.py
+++ b/sos/plugins/system.py
@@ -27,3 +27,5 @@ class System(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_forbidden_path(
"/proc/sys/net/ipv6/neigh/*/base_reachable_time")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/systemd.py b/sos/plugins/systemd.py
index 38be63e6..acb2bf99 100644
--- a/sos/plugins/systemd.py
+++ b/sos/plugins/systemd.py
@@ -47,3 +47,5 @@ class Systemd(Plugin, RedHatPlugin):
"/etc/vconsole.conf",
"/etc/yum/protected.d/systemd.conf"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/systemtap.py b/sos/plugins/systemtap.py
index 213dcdb9..e58537b4 100644
--- a/sos/plugins/systemtap.py
+++ b/sos/plugins/systemtap.py
@@ -28,3 +28,5 @@ class SystemTap(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
def setup(self):
self.add_cmd_output("stap -V 2")
self.add_cmd_output("uname -r")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/sysvipc.py b/sos/plugins/sysvipc.py
index d8b68fe8..1d4260c0 100644
--- a/sos/plugins/sysvipc.py
+++ b/sos/plugins/sysvipc.py
@@ -27,3 +27,5 @@ class SysVIPC(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"/proc/sysvipc/sem",
"/proc/sysvipc/shm"])
self.add_cmd_output("ipcs")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/tftpserver.py b/sos/plugins/tftpserver.py
index c6089ed5..49c69b51 100644
--- a/sos/plugins/tftpserver.py
+++ b/sos/plugins/tftpserver.py
@@ -27,3 +27,5 @@ class TftpServer(Plugin, RedHatPlugin):
def setup(self):
self.add_cmd_output("ls -lanR /tftpboot")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/tomcat.py b/sos/plugins/tomcat.py
index d4e1ac65..60b4180f 100644
--- a/sos/plugins/tomcat.py
+++ b/sos/plugins/tomcat.py
@@ -24,3 +24,5 @@ class Tomcat(Plugin, RedHatPlugin):
def setup(self):
self.add_copy_specs(["/etc/tomcat5", "/var/log/tomcat5"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/tuned.py b/sos/plugins/tuned.py
index 60c22bcd..196a41c2 100644
--- a/sos/plugins/tuned.py
+++ b/sos/plugins/tuned.py
@@ -28,3 +28,5 @@ class Tuned(Plugin, RedHatPlugin):
self.add_cmd_output("tuned-adm recommend")
self.add_copy_spec("/var/log/tuned/tuned.log")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/udev.py b/sos/plugins/udev.py
index 47f2d263..e554a886 100644
--- a/sos/plugins/udev.py
+++ b/sos/plugins/udev.py
@@ -26,3 +26,5 @@ class Udev(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"/lib/udev/rules.d",
"/etc/udev/rules.d/*"
])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/upstart.py b/sos/plugins/upstart.py
index 5aa0e1db..1d088a61 100644
--- a/sos/plugins/upstart.py
+++ b/sos/plugins/upstart.py
@@ -39,3 +39,5 @@ class Upstart(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
# Session Jobs (running Upstart as a Session Init)
self.add_copy_spec('/usr/share/upstart/')
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/usb.py b/sos/plugins/usb.py
index 8e58317b..49ffadbd 100644
--- a/sos/plugins/usb.py
+++ b/sos/plugins/usb.py
@@ -30,3 +30,5 @@ class Usb(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_cmd_output("lsusb -t")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/veritas.py b/sos/plugins/veritas.py
index 4a2ce572..38824df8 100644
--- a/sos/plugins/veritas.py
+++ b/sos/plugins/veritas.py
@@ -40,3 +40,5 @@ class Veritas(Plugin, RedHatPlugin):
self.add_copy_spec(tarfile[0])
except AttributeError as e:
self.add_alert(e)
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/vmware.py b/sos/plugins/vmware.py
index 3a23dd30..b583d5c1 100644
--- a/sos/plugins/vmware.py
+++ b/sos/plugins/vmware.py
@@ -27,3 +27,5 @@ class VMWare(Plugin, RedHatPlugin):
self.add_copy_specs(["/etc/vmware/locations",
"/etc/vmware/config",
"/proc/vmmemctl"])
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/vsftpd.py b/sos/plugins/vsftpd.py
index 4cf58cf1..787f99e0 100644
--- a/sos/plugins/vsftpd.py
+++ b/sos/plugins/vsftpd.py
@@ -26,3 +26,5 @@ class Vsftpd(Plugin, RedHatPlugin):
def setup(self):
self.add_copy_spec("/etc/ftp*")
self.add_copy_spec("/etc/vsftpd")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/x11.py b/sos/plugins/x11.py
index 15730c6f..7a548f45 100644
--- a/sos/plugins/x11.py
+++ b/sos/plugins/x11.py
@@ -30,3 +30,5 @@ class X11(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
])
self.add_forbidden_path("/etc/X11/X")
self.add_forbidden_path("/etc/X11/fontpath.d")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/xen.py b/sos/plugins/xen.py
index 1bbeaf5c..fef356b3 100644
--- a/sos/plugins/xen.py
+++ b/sos/plugins/xen.py
@@ -98,3 +98,5 @@ class Xen(Plugin, RedHatPlugin):
return #USEFUL
self.add_custom_text("Xen hostType: "+host_type)
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/xfs.py b/sos/plugins/xfs.py
index 1f4dd50b..3bef675a 100644
--- a/sos/plugins/xfs.py
+++ b/sos/plugins/xfs.py
@@ -38,3 +38,5 @@ class Xfs(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
for e in dev:
parts = e.split(' ')
self.add_cmd_output("xfs_logprint -c %s" % (parts[0]))
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/xinetd.py b/sos/plugins/xinetd.py
index e561044f..d07c435e 100644
--- a/sos/plugins/xinetd.py
+++ b/sos/plugins/xinetd.py
@@ -28,3 +28,5 @@ class Xinetd(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
def setup(self):
self.add_copy_spec("/etc/xinetd.conf")
self.add_copy_spec("/etc/xinetd.d")
+
+# vim: et ts=4 sw=4
diff --git a/sos/plugins/yum.py b/sos/plugins/yum.py
index b05c0fec..9aa6131f 100644
--- a/sos/plugins/yum.py
+++ b/sos/plugins/yum.py
@@ -63,3 +63,5 @@ class Yum(Plugin, RedHatPlugin):
self.add_cmd_output("zcat %s" % (output.split()[-1],))
except IndexError:
pass
+
+# vim: et ts=4 sw=4
diff --git a/sos/policies/__init__.py b/sos/policies/__init__.py
index 08ce8b4c..3ae3979c 100644
--- a/sos/policies/__init__.py
+++ b/sos/policies/__init__.py
@@ -419,3 +419,5 @@ class LinuxPolicy(Policy):
return
+
+# vim: et ts=4 sw=4
diff --git a/sos/policies/debian.py b/sos/policies/debian.py
index ffa4a26e..80bbc881 100644
--- a/sos/policies/debian.py
+++ b/sos/policies/debian.py
@@ -36,3 +36,5 @@ class DebianPolicy(LinuxPolicy):
except:
pass
return False
+
+# vim: et ts=4 sw=4
diff --git a/sos/policies/osx.py b/sos/policies/osx.py
index 767b608c..2e3c5aca 100644
--- a/sos/policies/osx.py
+++ b/sos/policies/osx.py
@@ -11,3 +11,5 @@ class OSXPolicy(Policy):
return "Mac OS X" in shell_out("sw_vers")
except Exception as e:
return False
+
+# vim: et ts=4 sw=4
diff --git a/sos/policies/redhat.py b/sos/policies/redhat.py
index 4e5b3631..2eade3ad 100644
--- a/sos/policies/redhat.py
+++ b/sos/policies/redhat.py
@@ -155,4 +155,5 @@ class FedoraPolicy(RedHatPolicy):
self.all_pkgs_by_name_regex("fedora-release-.*")[-1]
return int(pkg["version"])
-# vim: ts=4 sw=4 et
+
+# vim: et ts=4 sw=4
diff --git a/sos/policies/ubuntu.py b/sos/policies/ubuntu.py
index 3039f431..cc83f921 100644
--- a/sos/policies/ubuntu.py
+++ b/sos/policies/ubuntu.py
@@ -23,3 +23,5 @@ class UbuntuPolicy(DebianPolicy):
return "Ubuntu" in fp.read()
except:
return False
+
+# vim: et ts=4 sw=4
diff --git a/sos/policies/windows.py b/sos/policies/windows.py
index f2ce48c4..f3bbc7e4 100644
--- a/sos/policies/windows.py
+++ b/sos/policies/windows.py
@@ -44,3 +44,5 @@ class WindowsPolicy(Policy):
def preferred_archive_name(self):
from sos.archive import ZipFileArchive
return ZipFileArchive
+
+# vim: et ts=4 sw=4
diff --git a/sos/reporting.py b/sos/reporting.py
index 16719196..039a75fc 100644
--- a/sos/reporting.py
+++ b/sos/reporting.py
@@ -131,3 +131,5 @@ class PlainTextReport(object):
self.buf.append(header)
for item in section.get(key):
self.buf.append(format_ % item)
+
+# vim: et ts=4 sw=4
diff --git a/sos/sosreport.py b/sos/sosreport.py
index afa5371c..8483d109 100644
--- a/sos/sosreport.py
+++ b/sos/sosreport.py
@@ -1151,3 +1151,5 @@ def main(args):
"""The main entry point"""
sos = SoSReport(args)
sos.execute()
+
+# vim: et ts=4 sw=4
diff --git a/sos/utilities.py b/sos/utilities.py
index 1a56f9f3..e5d7d87a 100644
--- a/sos/utilities.py
+++ b/sos/utilities.py
@@ -247,3 +247,5 @@ class ImporterHelper(object):
plugins.extend(self._find_plugins_in_zipfile(path))
return plugins
+
+# vim: et ts=4 sw=4
diff --git a/tests/archive_tests.py b/tests/archive_tests.py
index 9cd7bd1b..d26af1dc 100644
--- a/tests/archive_tests.py
+++ b/tests/archive_tests.py
@@ -172,3 +172,5 @@ class TarFileArchiveTest(unittest.TestCase):
if __name__ == "__main__":
unittest.main()
+
+# vim: et ts=4 sw=4
diff --git a/tests/importer_tests.py b/tests/importer_tests.py
index 91f82cc0..e7e20a27 100644
--- a/tests/importer_tests.py
+++ b/tests/importer_tests.py
@@ -11,3 +11,5 @@ class ImporterHelperTests(unittest.TestCase):
if __name__ == "__main__":
unittest.main()
+
+# vim: et ts=4 sw=4
diff --git a/tests/option_tests.py b/tests/option_tests.py
index d221b965..3185bce0 100644
--- a/tests/option_tests.py
+++ b/tests/option_tests.py
@@ -32,3 +32,5 @@ class GlobalOptionTest(unittest.TestCase):
if __name__ == "__main__":
unittest.main()
+
+# vim: et ts=4 sw=4
diff --git a/tests/plugin_tests.py b/tests/plugin_tests.py
index 5eb13049..9a21b615 100644
--- a/tests/plugin_tests.py
+++ b/tests/plugin_tests.py
@@ -304,3 +304,5 @@ class RegexSubTests(unittest.TestCase):
if __name__ == "__main__":
unittest.main()
+
+# vim: et ts=4 sw=4
diff --git a/tests/policy_tests.py b/tests/policy_tests.py
index 764af836..fe208fcd 100644
--- a/tests/policy_tests.py
+++ b/tests/policy_tests.py
@@ -67,3 +67,5 @@ class PackageManagerTests(unittest.TestCase):
if __name__ == "__main__":
unittest.main()
+
+# vim: et ts=4 sw=4
diff --git a/tests/report_tests.py b/tests/report_tests.py
index a08f0aec..5bb1d837 100644
--- a/tests/report_tests.py
+++ b/tests/report_tests.py
@@ -116,3 +116,5 @@ class TestPlainReport(unittest.TestCase):
if __name__ == "__main__":
unittest.main()
+
+# vim: et ts=4 sw=4
diff --git a/tests/sosreport_pexpect.py b/tests/sosreport_pexpect.py
index 164fa9c8..4b807239 100644
--- a/tests/sosreport_pexpect.py
+++ b/tests/sosreport_pexpect.py
@@ -26,3 +26,5 @@ class PexpectTest(unittest.TestCase):
if __name__ == '__main__':
unittest.main()
+
+# vim: et ts=4 sw=4
diff --git a/tests/test_exe.py b/tests/test_exe.py
index 09b2813e..ee493b72 100755
--- a/tests/test_exe.py
+++ b/tests/test_exe.py
@@ -1,2 +1,4 @@
#!/usr/bin/python
print "executed"
+
+# vim: et ts=4 sw=4
diff --git a/tests/utilities_tests.py b/tests/utilities_tests.py
index 395fde13..f3b16293 100644
--- a/tests/utilities_tests.py
+++ b/tests/utilities_tests.py
@@ -86,3 +86,5 @@ class FindTest(unittest.TestCase):
def test_not_in_pattern(self):
leaves = find("leaf", TEST_DIR, path_pattern="tests/path")
self.assertFalse(any(name.endswith("leaf") for name in leaves))
+
+# vim: et ts=4 sw=4