updated value_for_platform to accept rhel, amazon, centos, suse, debian, ubuntu