fix [FC019]
Prefer conditional attributes [FC023]
set cookbook name in metadata.rb [FC045]