sous-chefs / mysql

Development repository for the mysql cookbook
https://supermarket.chef.io/cookbooks/mysql
Apache License 2.0
338 stars 690 forks source link

Depends on apparmor cookbook #656

Closed axos88 closed 3 years ago

axos88 commented 3 years ago

https://github.com/sous-chefs/mysql/blob/844036bde95721c401ce5309007787babdfc412d/libraries/mysql_service_base.rb#L126

Breaks if apparmor cookbook is not installed. Either needs to depends on that cookbook, or to leave out installation if apparmor attribute is undefined. I also find it strange that the mysql cookbook is installing the apparmor package. Shouldn't that be left for the apparmor cookbook?

axos88 commented 3 years ago

Apparmor installation also breaks on ubuntu 20.04, due to missing template files

axos88 commented 3 years ago

Dupe of #654

ramereth commented 3 years ago

Closing as duplicate of #654