Lcg/chef 12 attr

See https://gist.github.com/danielsdeleo/da9a8d9a91cc8c2781b0