diff options
author | sawanoboly <sawanoboriyu@higanworks.com> | 2015-04-23 15:25:14 +0900 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-05-06 15:09:44 -0700 |
commit | 9a0f9d284424f9d38edc3df184271492dd8f2472 (patch) | |
tree | ba4ec85f538419e3b3279951e876d3bbfadd969f /lib | |
parent | 76e5b5a91dd1b92486a8b21a8fcc206ba321f6ab (diff) | |
download | chef-9a0f9d284424f9d38edc3df184271492dd8f2472.tar.gz |
add unit specs for Chef::Log::Syslog
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/log.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/log.rb b/lib/chef/log.rb index a5ba5059ac..d11e16b1f3 100644 --- a/lib/chef/log.rb +++ b/lib/chef/log.rb @@ -35,6 +35,7 @@ class Chef 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 end |