summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/num2bool.rb
diff options
context:
space:
mode:
authorMatthaus Owens <matthaus@puppetlabs.com>2012-10-23 14:13:11 -0700
committerMatthaus Owens <matthaus@puppetlabs.com>2012-10-24 17:23:42 -0700
commitcdf3b05f35f78971203dfd9fadd2552ad5a41bd4 (patch)
treeb1c1f5c24b8a66c2eb97fdfa8b0d32c9bde165cb /lib/puppet/parser/functions/num2bool.rb
parent417d219aa6e42f2a16af42c98aa063fc1d9d2ecd (diff)
downloadpuppet-stdlib-cdf3b05f35f78971203dfd9fadd2552ad5a41bd4.tar.gz
puppet-stdlib-cdf3b05f35f78971203dfd9fadd2552ad5a41bd4.tar.bz2
Add PE facts to stdlib
As many PE modules have PE specific functionality, but are deployed to all nodes, including FOSS nodes, it is valuable to be able to selectively enable those PE specific functions. These facts allow modules to use the is_pe fact to determine whether the module should be used or not. The facts include is_pe, pe_version, pe_major_version, pe_minor_version, and pe_patch_version. For PE 2.6.0 those facts would have values true, 2.6.0, 2, 6, and 0, respectively.
Diffstat (limited to 'lib/puppet/parser/functions/num2bool.rb')
0 files changed, 0 insertions, 0 deletions