example42/puppet-stdlib42 — comment on commit 0bc1c11b0071e25c39acd7dac909df49892078be
File: manifests/init.pp line 30
By alexfouche:

I suspect it will get wrong on the Amazon AMI (rebranded CentOS 6), which replies the kernel version as $operatingsystemrelease:

# facter operatingsystemrelease
2.6.35.14-97.44.amzn1.i686