diff options
author | Helen Campbell <helen@puppetlabs.com> | 2016-11-23 16:01:01 +0000 |
---|---|---|
committer | Helen Campbell <helen@puppetlabs.com> | 2016-11-24 13:43:59 +0000 |
commit | 746c1f83984ce875d810e00788e383109fa7ab2f (patch) | |
tree | ec2b96766ce5a59940969b052cdaad5764c196e3 /spec/acceptance/intersection_spec.rb | |
parent | 419f7d63ecf4a98ae55d614bc692544a639820ab (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 'spec/acceptance/intersection_spec.rb')
0 files changed, 0 insertions, 0 deletions