diff options
author | Claire McQuin <claire@getchef.com> | 2015-09-17 09:47:08 -0700 |
---|---|---|
committer | Kartik Null Cating-Subramanian <ksubramanian@chef.io> | 2015-09-18 13:18:23 -0400 |
commit | 9703782bad3ddfad90b21ca5a225d4bd2e393f0d (patch) | |
tree | fff6a404d4be3764e5f50c95a1160b85dc452acc /lib/chef/config.rb | |
parent | 2cadf9cd40e4c19741121bf2df180941918107bb (diff) | |
download | chef-9703782bad3ddfad90b21ca5a225d4bd2e393f0d.tar.gz |
Don't add win_evt logger when on nano.
Diffstat (limited to 'lib/chef/config.rb')
-rw-r--r-- | lib/chef/config.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb index 6382af14c2..a43985f691 100644 --- a/lib/chef/config.rb +++ b/lib/chef/config.rb @@ -55,7 +55,8 @@ class Chef default :event_loggers do evt_loggers = [] - if ChefConfig.windows? and not Chef::Platform.windows_server_2003? + if ChefConfig.windows? && !(Chef::Platform.windows_server_2003? || + Chef::Platform.windows_nano_server?) evt_loggers << :win_evt end evt_loggers |