简体   繁体   English

Puppet Enterprise或Puppet开源

[英]Puppet Enterprise or puppet open source

How to determine from the puppet master whether the installed version is opensource or enterprise? 如何从人偶主控中确定安装的版本是开源版本还是企业版本?

Thanks, Lokesh 谢谢,Lokesh

Most obvious look at the "puppetversion" fact on enterprise 最明显的是查看企业上的“ puppetversion”事实

# /usr/local/bin/facter puppetversion
3.4.3 (Puppet Enterprise 3.2.0)

on open source 在开源上

# facter puppetversion
3.7.3

The fact is easily available in manifests 清单中的事实很容易获得

Alternative method 替代方法

puppet config print config

if it is /etc/puppet/puppet.conf then it's probably open source puppet 如果是/etc/puppet/puppet.conf则可能是开源的人偶

if it is /etc/puppetlabs/puppet/puppet.conf probably enterprise 如果是/etc/puppetlabs/puppet/puppet.conf可能是企业

You could also check for those files and if they existed. 您还可以检查那些文件以及它们是否存在。 Of course the file location is not compulsary, these are just defaults 当然文件位置不是强制性的,这些只是默认设置

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM