Closed jeffbyrnes closed 8 years ago
Great, thanks!
I think you missed the resources in that patch.
================================================================================
Recipe Compile Error in /var/chef/cache/cookbooks/role_mesos/recipes/master.rb
================================================================================
NoMethodError
-------------
undefined method `user_home' for LWRP resource zookeeper from cookbook zookeeper
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/zookeeper/recipes/install.rb:31:in `block in from_file'
/var/chef/cache/cookbooks/zookeeper/recipes/install.rb:29:in `from_file'
/var/chef/cache/cookbooks/exhibitor/recipes/default.rb:26:in `from_file'
/var/chef/cache/cookbooks/role_mesos/recipes/master.rb:9:in `from_file'
Relevant File Content:
----------------------
/var/chef/cache/cookbooks/zookeeper/recipes/install.rb:
24:
25: # build-essential is required to build the zookeeper and json gems
26: node.override['build-essential']['compile_time'] = true
27: include_recipe 'build-essential::default'
28:
29: zookeeper node[:zookeeper][:version] do
30: user node[:zookeeper][:user]
31>> user_home node[:zookeeper][:user_home]
32: mirror node[:zookeeper][:mirror]
33: checksum node[:zookeeper][:checksum]
34: install_dir node[:zookeeper][:install_dir]
35: log_dir node[:zookeeper][:log_dir]
36: data_dir node[:zookeeper][:config][:dataDir]
37: action :install
38: end
39:
40: # Add optional Zookeeper environment vars
As pointed out by @bwhaley in #142: