How to determine from the puppet master whether the installed version is opensource or enterprise?
Thanks, Lokesh
Most obvious look at the "puppetversion" fact on enterprise
# /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
if it is /etc/puppetlabs/puppet/puppet.conf
probably enterprise
You could also check for those files and if they existed. Of course the file location is not compulsary, these are just defaults
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.