Sha256: b02a4f42c9a70790e72f045c199794137f42e3a9152a9442c0e533bb8fc710c5

Contents?: true

Size: 944 Bytes

Versions: 11

Compression:

Stored size: 944 Bytes

Contents

#
# Fluentd
#
#    Licensed under the Apache License, Version 2.0 (the "License");
#    you may not use this file except in compliance with the License.
#    You may obtain a copy of the License at
#
#        http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS,
#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#    See the License for the specific language governing permissions and
#    limitations under the License.
#

module Fluent
  DEFAULT_CONFIG_PATH = ENV['FLUENT_CONF'] || '/etc/fluent/fluent.conf'
  DEFAULT_PLUGIN_DIR = ENV['FLUENT_PLUGIN'] || '/etc/fluent/plugin'
  DEFAULT_SOCKET_PATH = ENV['FLUENT_SOCKET'] || '/var/run/fluent/fluent.sock'
  IS_WINDOWS = /mswin|mingw/ === RUBY_PLATFORM
  private_constant :IS_WINDOWS

  def self.windows?
    IS_WINDOWS
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fluentd-0.14.6 lib/fluent/env.rb
fluentd-0.14.5-x64-mingw32 lib/fluent/env.rb
fluentd-0.14.5-x86-mingw32 lib/fluent/env.rb
fluentd-0.14.5 lib/fluent/env.rb
fluentd-0.14.4-x64-mingw32 lib/fluent/env.rb
fluentd-0.14.4-x86-mingw32 lib/fluent/env.rb
fluentd-0.14.4 lib/fluent/env.rb
fluentd-0.14.3 lib/fluent/env.rb
fluentd-0.14.2 lib/fluent/env.rb
fluentd-0.14.1 lib/fluent/env.rb
fluentd-0.14.0 lib/fluent/env.rb