moved from passing platform as parameter to gathering it from chef