HiIn my development environment I would like to use the belowname "development"
description "The development environment"
default['chef_client']['handler']['graphite']['host'] = "monitor.dev.test.com"
knife environment from file /home/ubuntu/workspace/feed-chef/chef-repo/environments/development.rb
ERROR: knife encountered an unexpected error
This may be a bug in the 'environment from file' knife command or plugin
Please collect the output of this command with the `-VV` option before filing a bug report.
Exception: NameError: undefined local variable or method `default' for development:Chef::EnvironmentIn the cookbook attribute file:
default['chef_client']['handler']['graphite']['host'] = "monitor.dev.test.com"
So..what is the proper format to override the the environment?Thanks
Archive powered by MHonArc 2.6.16.