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/log/syslog.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/log/syslog.rb')
-rw-r--r-- | lib/chef/log/syslog.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/log/syslog.rb b/lib/chef/log/syslog.rb index 0c8190797f..2106130b26 100644 --- a/lib/chef/log/syslog.rb +++ b/lib/chef/log/syslog.rb @@ -16,9 +16,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -require 'logger' -require 'syslog-logger' -require 'chef/mixin/unformatter' +require "logger" +require "syslog-logger" +require "chef/mixin/unformatter" class Chef class Log @@ -32,7 +32,7 @@ class Chef attr_accessor :sync, :formatter - def initialize(program_name = 'chef-client', facility = ::Syslog::LOG_DAEMON, logopts=nil) + def initialize(program_name = "chef-client", facility = ::Syslog::LOG_DAEMON, logopts=nil) super return if defined? ::Logger::Syslog::SYSLOG ::Logger::Syslog.const_set :SYSLOG, SYSLOG |