diff options
author | Thom May <thom@chef.io> | 2016-01-14 14:08:03 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2016-01-14 14:08:03 +0000 |
commit | 51cfbdc4d16739caac4d946fadbe678444aafe34 (patch) | |
tree | 56dfd8f1cd9fd933de27268b32402e955a43ac2b /lib/chef/application.rb | |
parent | 05064423057d4cf46f4713b81b08829cf6d20af6 (diff) | |
download | chef-51cfbdc4d16739caac4d946fadbe678444aafe34.tar.gz |
Use double quotes by default
This is an entirely mechanically generated (chefstyle -a) change, to go
along with chef/chefstyle#5 . We should pick something and use it
consistently, and my opinion is that double quotes are the appropriate
thing.
Diffstat (limited to 'lib/chef/application.rb')
-rw-r--r-- | lib/chef/application.rb | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/chef/application.rb b/lib/chef/application.rb index 680f99df56..4562d84a5d 100644 --- a/lib/chef/application.rb +++ b/lib/chef/application.rb @@ -16,17 +16,17 @@ # See the License for the specific language governing permissions and # limitations under the License. -require 'pp' -require 'socket' -require 'chef/config' -require 'chef/config_fetcher' -require 'chef/exceptions' -require 'chef/local_mode' -require 'chef/log' -require 'chef/platform' -require 'mixlib/cli' -require 'tmpdir' -require 'rbconfig' +require "pp" +require "socket" +require "chef/config" +require "chef/config_fetcher" +require "chef/exceptions" +require "chef/local_mode" +require "chef/log" +require "chef/platform" +require "mixlib/cli" +require "tmpdir" +require "rbconfig" class Chef class Application @@ -197,7 +197,7 @@ class Chef # Initializes Chef::Client instance and runs it def run_chef_client(specific_recipes = []) unless specific_recipes.respond_to?(:size) - raise ArgumentError, 'received non-Array like specific_recipes argument' + raise ArgumentError, "received non-Array like specific_recipes argument" end Chef::LocalMode.with_server_connectivity do @@ -235,7 +235,7 @@ class Chef # signal to finish the converge and exists. def run_with_graceful_exit_option # Override the TERM signal. - trap('TERM') do + trap("TERM") do Chef::Log.debug("SIGTERM received during converge," + " finishing converge to exit normally (send SIGINT to terminate immediately)") end @@ -249,7 +249,7 @@ class Chef pid = fork do # Want to allow forked processes to finish converging when # TERM singal is received (exit gracefully) - trap('TERM') do + trap("TERM") do Chef::Log.debug("SIGTERM received during converge," + " finishing converge to exit normally (send SIGINT to terminate immediately)") end |