Sha256: d6c91e1e85399bb75600fcabd5e0bdf01ec33c764569ab664847446e41141773

Contents?: true

Size: 407 Bytes

Versions: 1

Compression:

Stored size: 407 Bytes

Contents

# frozen_string_literal: true

require 'foreman_acd/engine'

# Module required to start the Foreman Rails engine
module ForemanAcd
  def self.acd_base_path
    '/var/lib/foreman/foreman_acd/'
  end

  def self.ansible_playbook_path
    File.join(acd_base_path, 'ansible-playbooks')
  end

  def self.proxy_setting
    HttpProxy.default_global_content_proxy&.full_url ||
      Setting[:http_proxy]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foreman_acd-0.7.0 lib/foreman_acd.rb