fix: unquote PAYLOAD heredoc so runtime vars are expanded #49

Merged
rafaga21 merged 1 commits from feat/push-monitoring-agent-v2 into master 2026-06-11 20:35:59 -04:00
Owner

The inner PAYLOAD heredoc had a quoted delimiter ('PAYLOAD') which
prevented runtime variable expansion. Changed to unquoted (PAYLOAD)
so $AGENT_KEY, $CPU, etc. are correctly expanded at runtime.

The double-escaping works as:
install time (outer EOF): $AGENT_KEY → (in file)
runtime (inner PAYLOAD): → abc123... (actual value)

The inner PAYLOAD heredoc had a quoted delimiter ('PAYLOAD') which prevented runtime variable expansion. Changed to unquoted (PAYLOAD) so $AGENT_KEY, $CPU, etc. are correctly expanded at runtime. The double-escaping works as: install time (outer EOF): $AGENT_KEY → (in file) runtime (inner PAYLOAD): → abc123... (actual value)
rafaga21 added 1 commit 2026-06-11 20:35:54 -04:00
The inner PAYLOAD heredoc had a quoted delimiter ('PAYLOAD') which
prevented runtime variable expansion. Changed to unquoted (PAYLOAD)
so $AGENT_KEY, $CPU, etc. are correctly expanded at runtime.

The double-escaping works as:
  install time (outer EOF):  $AGENT_KEY  →   (in file)
  runtime (inner PAYLOAD):     →  abc123... (actual value)
rafaga21 merged commit b90c600573 into master 2026-06-11 20:35:59 -04:00
rafaga21 deleted branch feat/push-monitoring-agent-v2 2026-06-11 20:36:00 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: devlab/server-manager#49