Sha256: 8f484cbd9483bc1fb6f12eea5f43dfd6556c5c07021e90e79dab512eb0c955c0
Contents?: true
Size: 519 Bytes
Versions: 2
Compression:
Stored size: 519 Bytes
Contents
# Require foreman's lib directory which contains foreman/dynflow/configuration lib_foreman = File.expand_path('lib/foreman', Rails.root) require lib_foreman if Dir.exist?(lib_foreman) require 'foreman_tasks/dynflow/persistence' module ForemanTasks # Import all Dynflow configuration from Foreman, and add our own for Tasks class Dynflow::Configuration < ::Foreman::Dynflow::Configuration def initialize_persistence ForemanTasks::Dynflow::Persistence.new(default_sequel_adapter_options) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
foreman-tasks-0.10.2 | lib/foreman_tasks/dynflow/configuration.rb |
foreman-tasks-0.10.1 | lib/foreman_tasks/dynflow/configuration.rb |