Sha256: 2e5a05d2cf26e22478fe59ff70c43b40cca52a6a3f2f7d1933653ae387d1fcbc

Contents?: true

Size: 505 Bytes

Versions: 6

Compression:

Stored size: 505 Bytes

Contents

class Setting::RemoteExecution < Setting

  def self.load_defaults
    # Check the table exists
    return unless super

    self.transaction do
      [
        self.set('remote_execution_global_proxy',
                 N_("Allows searching for remote execution proxy outside of the proxies assigned to the host: useful when missing the host proxies associations"),
                 false),
      ].each { |s| self.create! s.update(:category => "Setting::RemoteExecution") }
    end

    true

  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_remote_execution-0.0.6 app/models/setting/remote_execution.rb
foreman_remote_execution-0.0.5 app/models/setting/remote_execution.rb
foreman_remote_execution-0.0.4 app/models/setting/remote_execution.rb
foreman_remote_execution-0.0.3 app/models/setting/remote_execution.rb
foreman_remote_execution-0.0.2 app/models/setting/remote_execution.rb
foreman_remote_execution-0.0.1 app/models/setting/remote_execution.rb