Sha256: 4428efee18aa11fc83536b23d41eb4bbc7eadf8f0a820f6f59b3a77bd1b58837

Contents?: true

Size: 549 Bytes

Versions: 81

Compression:

Stored size: 549 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

81 entries across 81 versions & 1 rubygems

Version Path
foreman_remote_execution-10.0.1 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-10.0.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-8.3.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-9.1.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-8.2.1 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-8.2.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-9.0.1 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-9.0.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-8.1.2 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-8.1.1 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-8.1.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-7.2.2 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-7.2.1 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-7.2.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-5.0.8 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-8.0.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-7.1.1 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-7.1.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-7.0.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-5.0.7 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb