================================================================================ Recipe Compile Error in /var/chef/cache/cookbooks/cpe_init/recipes/default.rb ================================================================================ NoMethodError ------------- undefined method `get_cpe_path' for CPE:Module Cookbook Trace: --------------- /var/chef/cache/cookbooks/cpe_firefox/recipes/mac_os_x_firefox.rb:62:in `block in from_file' /var/chef/cache/cookbooks/cpe_firefox/recipes/mac_os_x_firefox.rb:22:in `each' /var/chef/cache/cookbooks/cpe_firefox/recipes/mac_os_x_firefox.rb:22:in `from_file' /var/chef/cache/cookbooks/cpe_firefox/recipes/default.rb:16:in `from_file' /var/chef/cache/cookbooks/cpe_init/recipes/mac_os_x_init.rb:64:in `block in from_file' /var/chef/cache/cookbooks/cpe_init/recipes/mac_os_x_init.rb:63:in `each' /var/chef/cache/cookbooks/cpe_init/recipes/mac_os_x_init.rb:63:in `from_file' /var/chef/cache/cookbooks/cpe_init/recipes/default.rb:17:in `from_file' Relevant File Content: ---------------------- /var/chef/cache/cookbooks/cpe_firefox/recipes/mac_os_x_firefox.rb: 55: local_settings_file = resources_dir + local_settings 56: file local_settings_file.to_s do 57: action :delete 58: end 59: 60: # We're going to place the configs in /Library/CPE/browsers/firefox/ 61: ff_central_store = 62>> Pathname.new(CPE.get_cpe_path('cpe')) + 'browsers' + 'firefox' 63: remote_directory ff_central_store.to_s do 64: source 'firefox' 65: owner 'root' 66: group 'wheel' 67: mode '0775' 68: recursive true 69: end 70: 71: # Apply the new config template System Info: ------------ chef_version=13.3.42 platform=mac_os_x platform_version=10.13 ruby=ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin14] program_name=chef-client worker: ppid=1226;start=10:24:08; executable=/opt/chef/bin/chef-client