% if not metadata is UNDEFINED and len(metadata) > 0: % for patch_id in sorted(metadata.keys()): ${showpatch(patch_id)} % endfor % endif % if not info is UNDEFINED and len(info) > 0:

${info}

% endif % if not warning is UNDEFINED and len(warning) > 0:

Warning:
${warning}

% endif % if not error is UNDEFINED and len(error) > 0:

Error:
${error}

% endif

Show all
Show applied
Show available
Query Hosts


<%def name="showpatch(patch_id)"> <% p = metadata[patch_id] %>

${patch_id}

% if p["repostate"] != "": % endif % if p["patchstate"] != "": % endif % if p["status"] != "": % endif % if p["unremovable"] != "": % endif % if p["reboot_required"] != "": % endif % if p["summary"] != "": % endif % if p["description"] != "": % endif % if p["install_instructions"] != "": % endif % if p["warnings"] != "": % endif % if "requires" in p and len(p["requires"]) > 0: % endif % if not contents is UNDEFINED and patch_id in contents: % endif
Repo State:${p["repostate"]}
Patch State:${p["patchstate"]}
Status:${p["status"]}
Unremovable:${p["unremovable"]}
Reboot-Required:${p["reboot_required"]}
Summary:${p["summary"]}
Description:${p["description"]}
Install Instructions:${p["install_instructions"]}
Warnings:${p["warnings"]}
Requires: % for req in sorted(p["requires"]): ${req}
% endfor
Contents: % for pkg in sorted(contents[patch_id]): ${pkg}
% endfor