The -10/01/-28163 20:59, no-re...@cfengine.com wrote :
> Forum: CFEngine Help
> Subject: Re: Finding the current user running cf-agent
> Author: zzamboni
> Link to topic: https://cfengine.com/forum/read.php?3,23960,23966#msg-23966
>
> Mike, you are correct, this works fine.
>
>

Yep, that seems like the easiest way to do it for me. Thanks ! About the 
use case, it was just to get a report quoting the user running cf-agent, 
and it seemed natural to me that a system variable would be there for 
this. I will try to find some time to submit a patch for this.

-- 
==========================================
Matthieu CERDA
------------------------------------------
Normation
87 rue de Turbigo - 75003 Paris - France
------------------------------------------
Telephone:  +33 (0)1 83 62 26 96
Mobile:     +33 (0)6 30 53 40 00
------------------------------------------
Web:        http://www.normation.com/
==========================================

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to