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") |
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.
apm/src/apm_cli/core/lifecycle_scripts.py
Lines 346 to 351 in 8993dcc