Skip to content

Cookbook Fails on Chef 11.4.0 on Ubuntu 12.04 LTS #2

Description

@chrisballinger

Fails on Chef 11.4.0 on Ubuntu 12.04 LTS

Trying to figure out why it's broken now...

Relevant File Content:
----------------------
/tmp/vagrant-chef-1/chef-solo-2/cookbooks/sentry/definitions/sentry_conf.rb:

 32:  
 33:    virtualenv_dir = params[:virtualenv_dir] or node["sentry"]["virtulenv"]
 34:  
 35:    #settings_variables = Chef::Mixin::DeepMerge.deep_merge!(node[:sentry][:settings].to_hash, params[:settings])
 36:  
 37:    settings_variables = params[:settings]
 38:    config = params[:config] || node["sentry"]["config"]
 39>>   settings_variables["config"] = config
 40:  
 41:    Chef::Log.info("Making directory for virtualenv: #{virtualenv_dir}")
 42:    # Making application virtualenv directory
 43:    directory virtualenv_dir do
 44:      owner params[:user]
 45:      group params[:group]
 46:      mode 0777
 47:      recursive true
 48:      action :create



[2013-03-20T20:52:29+00:00] ERROR: Running exception handlers
[2013-03-20T20:52:29+00:00] ERROR: Exception handlers complete
[2013-03-20T20:52:29+00:00] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
[2013-03-20T20:52:29+00:00] FATAL: Chef::Exceptions::ImmutableAttributeModification: Node attributes are read-only when you do not specify which precedence level to set. To set an attribute use code like `node.default["key"] = "value"'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions