Sha256: 8d1adb5b8606bb91628f29ffcfba7b8d39ea03bf33e69bddf63b249b9cbf8b3e

Contents?: true

Size: 504 Bytes

Versions: 125

Compression:

Stored size: 504 Bytes

Contents

if Katello.with_remote_execution?
  User.as_anonymous_admin do
    JobTemplate.without_auditing do
      module_template = JobTemplate.find_by(name: 'Module Action - SSH Default')
      if module_template
        module_template.sync_feature('katello_module_stream_action')
        module_template.organizations << Organization.unscoped.all if module_template.organizations.empty?
        module_template.locations << Location.unscoped.all if module_template.locations.empty?
      end
    end
  end
end

Version data entries

125 entries across 125 versions & 1 rubygems

Version Path
katello-4.4.2.2 db/seeds.d/150-module_job_templates.rb
katello-4.4.2.1 db/seeds.d/150-module_job_templates.rb
katello-4.4.2 db/seeds.d/150-module_job_templates.rb
katello-4.4.1 db/seeds.d/150-module_job_templates.rb
katello-4.4.0.2 db/seeds.d/150-module_job_templates.rb
katello-4.4.0.1 db/seeds.d/150-module_job_templates.rb
katello-4.3.1 db/seeds.d/150-module_job_templates.rb
katello-4.4.0 db/seeds.d/150-module_job_templates.rb
katello-4.4.0.rc2 db/seeds.d/150-module_job_templates.rb
katello-4.4.0.rc1 db/seeds.d/150-module_job_templates.rb
katello-4.2.2 db/seeds.d/150-module_job_templates.rb
katello-4.3.0 db/seeds.d/150-module_job_templates.rb
katello-4.3.0.rc4 db/seeds.d/150-module_job_templates.rb
katello-4.3.0.rc3 db/seeds.d/150-module_job_templates.rb
katello-4.3.0.rc2.1 db/seeds.d/150-module_job_templates.rb
katello-4.3.0.rc2 db/seeds.d/150-module_job_templates.rb
katello-4.3.0.rc1 db/seeds.d/150-module_job_templates.rb
katello-4.2.1 db/seeds.d/150-module_job_templates.rb
katello-4.2.0.1 db/seeds.d/150-module_job_templates.rb
katello-4.1.4 db/seeds.d/150-module_job_templates.rb