summaryrefslogtreecommitdiff
path: root/lib/puppet/functions/is_numeric.rb
diff options
context:
space:
mode:
authorHelen Campbell <helen@puppetlabs.com>2016-11-23 16:01:01 +0000
committerHelen Campbell <helen@puppetlabs.com>2016-11-24 13:43:59 +0000
commit746c1f83984ce875d810e00788e383109fa7ab2f (patch)
treeec2b96766ce5a59940969b052cdaad5764c196e3 /lib/puppet/functions/is_numeric.rb
parent419f7d63ecf4a98ae55d614bc692544a639820ab (diff)
Deprecation - Use puppet stacktrace if available
A previous PR (#685) was raised on this issue, however once it was merged it was discovered that Puppet 3 with future parser enabled was calling the Puppet 4 version of the deprecation function. The Puppet stacktrace is not available until Puppet 4.6, so this was breaking existing setups. The solution was to check is the stacktrace was defined, and if it was to use it as part of the message output.
Diffstat (limited to 'lib/puppet/functions/is_numeric.rb')
0 files changed, 0 insertions, 0 deletions