diff options
author | danielsdeleo <dan@opscode.com> | 2013-08-02 12:52:47 -0700 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2013-08-02 12:52:47 -0700 |
commit | 6497db0ac1abf68419bead6890f2dc41fe2bb552 (patch) | |
tree | e99571355e0cb9e269445ba8589c30babc02edc8 /lib/chef/provider/package/apt.rb | |
parent | f798b26afed4ab8366dc2c9d722846c87491a488 (diff) | |
download | chef-6497db0ac1abf68419bead6890f2dc41fe2bb552.tar.gz |
Add inline doc for private apt package method
Diffstat (limited to 'lib/chef/provider/package/apt.rb')
-rw-r--r-- | lib/chef/provider/package/apt.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/provider/package/apt.rb b/lib/chef/provider/package/apt.rb index 6dcc0acad7..4e9a0cff01 100644 --- a/lib/chef/provider/package/apt.rb +++ b/lib/chef/provider/package/apt.rb @@ -118,6 +118,9 @@ class Chef private + # Runs command via shell_out with magic environment to disable + # interactive prompts. Command is run with default localization rather + # than forcing locale to "C", so command output may not be stable. def run_noninteractive(command) shell_out!(command, :env => { "DEBIAN_FRONTEND" => "noninteractive", "LC_ALL" => nil }) end |