vendored/puppet/lib/puppet.rb in bolt-0.10.0 vs vendored/puppet/lib/puppet.rb in bolt-0.11.0

- old
+ new

@@ -40,14 +40,11 @@ require 'puppet/etc' require 'puppet/context' require 'puppet/environments' class << self - Puppet::GettextConfig.create_text_domain('production') - locale_dir = Puppet::GettextConfig.puppet_locale_path - if Puppet::GettextConfig.load_translations('puppet', locale_dir, Puppet::GettextConfig.translation_mode(locale_dir)) - Puppet::GettextConfig.set_locale(Locale.current.language) - end + Puppet::GettextConfig.setup_locale + Puppet::GettextConfig.create_default_text_domain include Puppet::Util attr_reader :features end