Closed dk8996 closed 7 years ago
This cookbook requires chef 12.5 or later. You'll need to upgrade your client
What version of swap works with Chef 11.10?
0.4
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Cookbook version
Latest version 2.0.0
Chef-client version
11.10
Platform Details
Ubuntu 14.04 LTS (Opsworks on AWS)
Scenario:
We are getting the error below, this started happening in the last few days.
NoMethodError
undefined method `SwapFile' for Chef::Resource:Class
Cookbook Trace:
/var/lib/aws/opsworks/cache.stage2/cookbooks/swap/libraries/swapfile_provider.rb:29:in `load_current_resource'
Resource Declaration:
In /var/lib/aws/opsworks/cache.stage2/cookbooks/web/recipes/boxsetup.rb
3: swap_file '/mnt/swap' do 4: size 3072 # MBs 5: end 6: