Skip to content

v1.0.13 — Fix broken formula after sub-group revert

Choose a tag to compare

@doccaz doccaz released this 05 Jun 15:15
5f0afd1

Reverts the v1.0.12 sub-group form.yml change that broke MLM formula assignment.

What broke in v1.0.12: Changing category toggles from flat booleans (pci_dss.sysctl: True) to sub-groups (pci_dss.sysctl.enabled: True) is a schema-breaking change. MLM stores saved form values in its database and can't render the pillar when the schema changes, causing highstate to fail with a Jinja error.

What's fixed: emit_formula() reverts to flat boolean categories. Jinja guards revert from p.get(cat, {}).get('enabled', True) back to p.get(cat, True).

Kept from v1.0.12:

  • Group-level $help text clarifying AppArmor/SELinux runtime detection
  • Short clean category labels in CAT_LABELS
  • PCI-DSS section references in CAT_HELP (tooltip/$help fields)
  • metadata.yml name field update

Note on form layout: MLM renders boolean fields as checkboxes with tooltip-only $help. The visible inline description per-category (and indentation under the master switch) would require the sub-group schema, which breaks existing assignments — not feasible without a migration path.