what is the difference between facter pe_build and facter pe_version, facter pebuild is returning 2015.3.0 facter peversion is returning 4.3.1 how to get the version correctly in all the puppet master opensource as well as in the enterprise?
Big difference is, Puppet Enterprise is a software package.
You should be fine to get the information how PE version to map with Puppet opensource version:
# Agent Components (On All Nodes)
PE Version Puppet Agent Puppet Facter Hiera MCollective Ruby OpenSSL
2015.3.0 1.3.2 4.3.1 3.1.3 3.0.5 2.8.6 2.1.7 1.0.2d
# Server Components
PE Version Puppet Server PuppetDB r10k Razor Server Razor Libs PostgreSQL Java ActiveMQ Nginx
2015.3.0 2.2.34 3.2.2 2.1.1 1.1.0 1.0.1 9.4.5 1.8.0 5.11.1 1.8.0
Refer: