Is there any facter variable available or I can create a custom facter variable to identify the CentOS and Amazon Instances?
I want to install some utils on CentOS and Amazon Linux instances but not able to find a way to do that using puppet.
Is there any facter variable available or I can create a custom facter variable to identify the CentOS and Amazon Instances?
I want to install some utils on CentOS and Amazon Linux instances but not able to find a way to do that using puppet.
You can identify the operating system with the fact operatingsystem
. The two values that you are interested in are Amazon
and CentOS
. If you log in to each host and run facter
you can see what values are reported by each.