Sha256: 4428efee18aa11fc83536b23d41eb4bbc7eadf8f0a820f6f59b3a77bd1b58837

Contents?: true

Size: 549 Bytes

Versions: 80

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

80 entries across 80 versions & 1 rubygems

Version Path
foreman_remote_execution-14.1.4 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-14.1.3 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-14.1.2 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-14.1.1 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-14.1.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-14.0.2 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-14.0.1 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-13.2.6 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-14.0.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-13.2.5 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-13.2.4 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-13.2.3 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-13.2.2 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-12.0.7 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-13.2.1 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-13.2.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-10.1.3 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-13.0.0 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-12.0.5 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
foreman_remote_execution-12.0.4 db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb