```ruby
#
# Cookbook Name:: perforce
# Attribute:: default
#
# Author:: Josiah Kiehl <josiah@bluepojo.com>
# Copyright 2012, Riot Games
#
# All rights reserved - Do Not Redistribute
#

default[:owner]             = 'jkiehl' # will be node attributes
default[:group]            = 'staff'

default[:p4][:port]           = 'PerfLAX01:1666' # environment attribute

default[:p4][:user]           = default[:owner]
default[:p4][:passwd]         = nil

default[:p4][:diff]           = nil
default[:p4][:editor]         = nil
default[:p4][:merge]          = nil

default[:p4][:client]         = nil

default[:p4][:charset]        = 'utf8'
default[:p4][:commandcharset] = nil
default[:p4][:language]       = nil 
default[:p4][:host]           = nil
```

Move attributes to node and env attributes
user
```ruby
#
# Cookbook Name:: perforce
# Attribute:: default
#
# Author:: Josiah Kiehl <josiah@bluepojo.com>
# Copyright 2012, Riot Games
#
# All rights reserved - Do Not Redistribute
#

default[:p4][:owner]          = nil
default[:p4][:group]          = nil

default[:p4][:port]           = nil # environment attribute

default[:p4][:user]           = default[:p4][:owner]
default[:p4][:passwd]         = nil

default[:p4][:diff]           = nil
default[:p4][:editor]         = nil
default[:p4][:merge]          = nil

default[:p4][:client]         = nil

default[:p4][:charset]        = 'utf8'
default[:p4][:commandcharset] = nil
default[:p4][:language]       = nil 
default[:p4][:host]           = nil
```
assistant