example42/puppi — pull request #5 by alexfouche (2012-03-22 17:22:54+00:00)
Title: $::operatingsystem returned on Amazon AMIs in US east is 'Amazon', and in Ireland 'Linux'

$::operatingsystem returned on Amazon AMIs in US east is 'Amazon', and in Ireland 'Linux'. These are rebranded Centos 6 systems. Fix the detection of the operating system in order to correctly evaluate the architecture