Sha256: 2ed69366a89c18acda9c73232b8b90dd20886b8ced6ecc685e7c5d6fb3704465

Contents?: true

Size: 605 Bytes

Versions: 43

Compression:

Stored size: 605 Bytes

Contents

class RemoveRemoteExecutionWithoutProxySetting < ActiveRecord::Migration[5.2]
  def up
    Setting.where(name: 'remote_execution_without_proxy').delete_all
  end

  def down
    Setting.create!(:name => 'remote_execution_without_proxy',
                    :description => N_('When enabled, the remote execution will try to run '\
                                       'the commands directly, when no proxy with remote execution '\
                                       'feature is configured for the host.'),
                    :default => false, :full_name => N_('Fallback Without Proxy'))
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
foreman_remote_execution-4.4.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-4.3.1 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-4.3.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-4.2.3 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-4.2.2 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-4.2.1 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-4.2.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-4.1.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-3.3.7 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-4.0.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-3.3.6 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-3.3.5 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-3.3.4 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-3.3.3 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-3.2.2 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-3.3.2 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-3.3.1 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-3.3.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-3.2.1 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-3.2.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb