Remote Execution: Macro for current user

Problem: Is there already a Macro for the current user executing a job? I am missing this and before I file a bug and I only did not find it.

Expected outcome: I want to create additional job templates for puppet and want to include the user who disabled the agent to the comment.

Foreman and Proxy versions: 1.17

Foreman and Proxy plugin versions: REX 1.4.5

I think there’s not such macro, but should be fairly easy to add. Btw you could figure that information already from audits I think, but if I understand correctly, you want to store that information on target host.

Thanks, so I will open an issue, because I need the information on the target host so a administrator can easily get why, when and by whom the puppet agent was disabled without requiring access to Foreman.