# File lib/chef/provider/package/apt.rb, line 94 def preseed_package(name, version) preseed_file = get_preseed_file(name, version) if preseed_file Chef::Log.info("#{@new_resource} pre-seeding package installation instructions") run_command_with_systems_locale( :command => "debconf-set-selections #{preseed_file}", :environment => { "DEBIAN_FRONTEND" => "noninteractive" } ) end end