lib/puppet/application/debugger.rb in puppet-debugger-0.10.2 vs lib/puppet/application/debugger.rb in puppet-debugger-0.10.3

- old
+ new

@@ -166,23 +166,20 @@ Corey Osman <corey@nwops.io> COPYRIGHT --------- -Copyright (c) 2016 NWOps +Copyright (c) 2019 NWOps HELP end def initialize(command_line = Puppet::Util::CommandLine.new) @command_line = CommandLineArgs.new(command_line.subcommand_name, command_line.args.dup) @options = { use_facterdb: true, play: nil, run_once: false, node_name: nil, quiet: false, help: false, scope: nil } @use_stdin = false begin require 'puppet-debugger' - unless ::PuppetDebugger::VERSION >= '0.4.0' - Puppet.err('You must install the puppet-debugger gem version >= 0.4.0') - end rescue LoadError => e Puppet.err('You must install the puppet-debugger: gem install puppet-debugger') end end