```ruby
#
# Cookbook Name:: zabbix
# Attributes:: default

case node['platform_family']
when "windows"
  default['zabbix']['etc_dir']    = File.join(ENV['ProgramFiles'], "Zabbix Agent")
else
  default['zabbix']['etc_dir']    = "/etc/zabbix"
end
default['zabbix']['install_dir']  = "/opt/zabbix"
default['zabbix']['web_dir']      = "/opt/zabbix/web"
default['zabbix']['external_dir'] = "/opt/zabbix/externalscripts"
default['zabbix']['alert_dir']    = "/opt/zabbix/AlertScriptsPath"
default['zabbix']['lock_dir']     = "/var/lock/subsys"
default['zabbix']['src_dir']      = "/opt"
default['zabbix']['log_dir']      = "/var/log/zabbix"
default['zabbix']['run_dir']      = "/var/run/zabbix"

default['zabbix']['login']  = "zabbix"
default['zabbix']['group']  = "zabbix"
default['zabbix']['uid']    = nil
default['zabbix']['gid']    = nil
default['zabbix']['home']   = '/opt/zabbix'
default['zabbix']['shell']  = "/bin/bash"
```

Fix path in wow64 env
user
```ruby
#
# Cookbook Name:: zabbix
# Attributes:: default

case node['platform_family']
when "windows"
  if ENV['ProgramFiles'] == ENV['ProgramFiles(x86)']
    default['zabbix']['etc_dir']    = File.join(ENV['homedrive'], "Program Files", "Zabbix Agent")
  else
    default['zabbix']['etc_dir']    = File.join(ENV['ProgramFiles'], "Zabbix Agent")
  end
else
  default['zabbix']['etc_dir']    = "/etc/zabbix"
end
default['zabbix']['install_dir']  = "/opt/zabbix"
default['zabbix']['web_dir']      = "/opt/zabbix/web"
default['zabbix']['external_dir'] = "/opt/zabbix/externalscripts"
default['zabbix']['alert_dir']    = "/opt/zabbix/AlertScriptsPath"
default['zabbix']['lock_dir']     = "/var/lock/subsys"
default['zabbix']['src_dir']      = "/opt"
default['zabbix']['log_dir']      = "/var/log/zabbix"
default['zabbix']['run_dir']      = "/var/run/zabbix"

default['zabbix']['login']  = "zabbix"
default['zabbix']['group']  = "zabbix"
default['zabbix']['uid']    = nil
default['zabbix']['gid']    = nil
default['zabbix']['home']   = '/opt/zabbix'
default['zabbix']['shell']  = "/bin/bash"
```
assistant