According to the build failure, this should be `if node[:cloud] && node[:cloud][:provider] == 'ec2'`. As to why the linter trips over completely valid ruby syntax the world may never know :8ball: