Skip to content

[BUG] Add Windows admin tier lifeycle script location to documentation #2621

Description

Describe the bug
The Lifecycle hooks doc only references the admin tier file path for Linux, /etc/apm/policy.d/*.json. This should be updated to include Windows.

def _get_policy_scripts_dir() -> Path:
"""Return the platform-specific policy scripts directory."""
system = platform.system()
if system == "Windows":
return Path(r"C:\ProgramData\APM\policy.d")
return Path("/etc/apm/policy.d")

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething does not work as documented.

    Type

    No type

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions