This cookbook populates /etc/environment.
This cookbook has been tested on CentOS and RHEL version 6.4.
node['etc_environment']- a hash of environment variables, e.g.
{
'DB_HOST' => 'db.myapp.com',
'NODE_ENV' => 'production
}
Just include recipe[etc_environment] in your run_list.
Author:: Chris (chris@locomote.com)
Copyright (c) 2013, Locomote Pty Ltd.
Licensed under BSD license.
http://opensource.org/licenses/BSD-2-Clause