Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `sensitive' for Chef::Resource::Execute #191

mickdelaney opened this issue Dec 19, 2014 · 2 comments


None yet
2 participants
Copy link

commented Dec 19, 2014

I'm getting this error running the cookbook on opsworks:

My cookbook is here:

I'm using:

Chef 11.10
Berkshelf 3.2.0


undefined method `sensitive' for Chef::Resource::Execute

Cookbook Trace:

/var/lib/aws/opsworks/cache.stage2/cookbooks/rabbitmq/providers/user.rb:88:in block (2 levels) in class_from_file' /var/lib/aws/opsworks/cache.stage2/cookbooks/rabbitmq/providers/user.rb:87:inblock in class_from_file'

Resource Declaration:

In /var/lib/aws/opsworks/cache.stage2/cookbooks/rabbitmq_cluster/recipes/default.rb

25: rabbitmq_user node['rabbitmq_cluster']['user'] do
26: password node['rabbitmq_cluster']['password']
27: action :add
28: end

Compiled Resource:

Declared in /var/lib/aws/opsworks/cache.stage2/cookbooks/rabbitmq_cluster/recipes/default.rb:25:in `from_file'

rabbitmq_user("admin") do
action [:add]
retries 0
retry_delay 2
cookbook_name "rabbitmq_cluster"
recipe_name "default"
password "adminpasssword"
user "admin"

The mysql cookbook seems to have handled it recently:

def sensitive_supported? >='11.14.0')

in this commit:

For this issue:



This comment has been minimized.

Copy link

commented Dec 19, 2014

Yep, the sensitive resource came in at chef 11.14, the best way is to update chef. we had a issue about this already here: #183


This comment has been minimized.

Copy link

commented Dec 19, 2014

sorry guys. should have seen that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.