#!/usr/bin/ruby

def Warning.warn(w)
  return if w =~ /warning: \$SAFE will become a normal global variable/

  super w
end

begin
  require 'puppet/util/command_line'
  Puppet::Util::CommandLine.new.execute
rescue LoadError => e
  $stderr.puts e.message
  exit(1)
end
