Closed itinneed closed 3 years ago
I've confirm this happening if you remove the apparmor cookbook and references from the test cookbook. It seems to be related to node['apparmor']['disable']
being nil
as noted here:
I bet you if you include the apparmor cookbook in your wrapper cookbook, this problem will go away. We should probably fix that line of code to account for the fact if the apparmor cookbook isn't included.
Feel free to make a PR to fix this otherwise we'll get to this as soon as we can.
Thanks!
Cookbook version
9.0.0
Chef-client version
16.6.14
Platform Details
Ubuntu 18.04 virtualbox vm running on top of Windows 10
Scenario:
Install MySQL 5.7
Steps to Reproduce:
Run chef-client
Expected Result:
Successful install
Actual Result:
stacktrace.txt