How do you determine if something is in AWS with facter?
Once I upgrade to PE 3.7 and gain access to the ec2 facts from facter 2.3, is there an easy method to turn decisions in hiera on whether or not an instance is in AWS. For instance, imagine if you wanted the aws cli installed on every ec2 instance, but no where else in your environment, what fact is most appropriate/reliable/predictable to do this? In the past I've use a static external fact I stage in our AMI creation called cloudprovider, however that was a mechanism to constrain back ported ec2 facts for use on systems in a VPC. I could continue to use this strategy, but I didn't know if there was a better tool. Possibly ec2metadata?