-2

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.

4

2 回答 2

1

你可以用事实来识别操作系统operatingsystem。您感兴趣的两个值是AmazonCentOS。如果您登录到每个主机并运行facter,您可以看到每个主机报告的值。

于 2015-07-02T14:52:27.040 回答
0

必须创建包含“CentOS release 7.1”的文件 /etc/redhat-release

于 2015-08-28T21:07:50.330 回答