[chef] Re: who is the current user


Chronological Thread 
  • From: Dennis Benzinger < >
  • To: < >
  • Subject: [chef] Re: who is the current user
  • Date: Fri, 9 May 2014 17:58:09 +0200
  • Organization: hybris

Hello Florian,

you can use the following node attribute provided by Ohai:

node['current_user']


Cheers,
Dennis

On 08.05.2014 09:57, Florian Hehlen wrote:
" type="cite">

Hi,

 

Is there a way to know from within a recipe the name of the user running the recipe?

 

Cheers,

Florian



LEGAL DISCLAIMER
This communication and any attached documents are strictly confidential and/or legally privileged and they may not be used or disclosed by someone who is not a named recipient. If you have received this electronic communication in error please notify the sender by replying to this electronic communication inserting the word "misdirected" as the subject and delete this communication from your system.

Dennis Benzinger
Platform Automation Engineer
Managed Services

Nymphenburger Straße 86
80636 München, Deutschland
www.hybris.com

Geschäftsführer:
Ariel Lüdi, Carsten Thoma, Moritz Zimmermann, Michael Zips

Amtsgericht:
München, HRB 124384




Archive powered by MHonArc 2.6.16.

§