LoginSignup
1
1

More than 5 years have passed since last update.

Chef12/Ohai8環境ではnode['current_user']の代わりにENV['SUDO_USER']を用いる

Last updated at Posted at 2015-02-27

理由

同環境ではnode['current_user'] に root を設定するようになっているため、
chef実行中のユーザーを拾う場合は、ENV['SUDO_USER'] で代替する。

参考

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1