Remove vim config comments

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-08-23 12:43:49 +01:00 committed by Megan Wilhite
parent 03c223f071
commit 917d98a8f9
23 changed files with 0 additions and 67 deletions

View file

@ -105,6 +105,3 @@ def beacon(config):
IMGADM_STATE["first_run"] = False
return ret
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -132,6 +132,3 @@ def beacon(config):
VMADM_STATE["first_run"] = False
return ret
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -152,6 +152,3 @@ def mdata():
)
return grains
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -213,6 +213,3 @@ def smartos():
)
return grains
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -113,6 +113,3 @@ def status_battery():
return not data["TONBATT"] == "0 Seconds"
return {"Error": "Battery status not available."}
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -176,6 +176,3 @@ def delete_(*keyname):
ret[k] = True
return ret
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -159,6 +159,3 @@ def persist(name, value, config="/etc/sysctl.conf"):
assign(name, value)
return "Updated"
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -310,6 +310,3 @@ def disabled(name):
salt '*' service.disabled <service name>
"""
return _get_svc("/etc/rc.d/{}".format(name), "NO")
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -406,6 +406,3 @@ def modify(
ret = "updated"
return {login: ret}
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -726,6 +726,3 @@ def remove(name):
log.error("Unable to remove symlink %s", svc_path)
return False
return True
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -349,6 +349,3 @@ def disabled(name):
if _get_svc("{}.{}".format(prefix, name), "OFF") is None:
ret = False
return ret
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -508,6 +508,3 @@ def source_add(source, source_type="imgapi"):
return ret
return sources(False)
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -263,6 +263,3 @@ def delete(name, force=False):
if "stderr" not in res and res["stderr"] == ""
else res["stderr"]
}
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -875,6 +875,3 @@ def receive(uuid, source):
ret["Error"] = res["stderr"] if "stderr" in res else _exit_status(retcode)
return ret
return True
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -1023,6 +1023,3 @@ def _check_onlyif_unless(onlyif, unless, directory, runas=None, env=()):
if status["status"]:
ret = status
return ret
# vim:set et sts=4 ts=4 tw=80:

View file

@ -383,6 +383,3 @@ def is_running(search):
salt-run vmadm.is_running search='alias=julia'
"""
return _action("is_running", search, False)
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -161,6 +161,3 @@ def remove(name, log_file=None):
ret["comment"] = "No configuration for {} present.".format(log_file)
return ret
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -141,6 +141,3 @@ def present(name, **kwargs):
Alias for pdbedit.managed
"""
return managed(name, **kwargs)
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -1311,6 +1311,3 @@ def vm_stopped(name):
ret["comment"] = "vm {} stopped".format(name)
return ret
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -1274,6 +1274,3 @@ def uninstalled(name):
ret["comment"] = "zone {} is not configured!".format(name)
return ret
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -442,6 +442,3 @@ def absent(name, export=False, force=False):
ret["comment"] = "storage pool {} is absent".format(name)
return ret
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4

View file

@ -6,6 +6,3 @@ __docformat__ = "restructuredtext en"
def hello(name):
return "hello " + name
# vim:set et sts=4 ts=4 tw=80:

View file

@ -1,4 +1,3 @@
# vim: sw=4 ts=4 fenc=utf-8
"""
getTerminalSize()
- get width and height of console