Sha256: 4b74f273b94a76f03319c3bdbae9aea7bede045b20bd5e1ce204032a88a6aff6

Contents?: true

Size: 486 Bytes

Versions: 10

Compression:

Stored size: 486 Bytes

Contents

<%#
kind: job_template
name: Upload profile - Katello Script Default
job_category: Katello
model: JobTemplate
provider_type: script
description_format: Upload package profile for a host
feature: katello_upload_profile
%>
#!/bin/sh
<% if @host.operatingsystem.family == 'Redhat' -%>
dnf uploadprofile --force-upload
<% elsif @host.operatingsystem.family == 'Suse' -%>
katello-package-upload --force
<% else -%>
package-profile-upload --force-upload
<% end -%>
subscription-manager repos

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
katello-4.14.2 app/views/foreman/job_templates/upload_profile.erb
katello-4.15.0 app/views/foreman/job_templates/upload_profile.erb
katello-4.15.0.rc2 app/views/foreman/job_templates/upload_profile.erb
katello-4.15.0.rc1 app/views/foreman/job_templates/upload_profile.erb
katello-4.14.1 app/views/foreman/job_templates/upload_profile.erb
katello-4.14.0 app/views/foreman/job_templates/upload_profile.erb
katello-4.14.0.rc3 app/views/foreman/job_templates/upload_profile.erb
katello-4.14.0.rc2 app/views/foreman/job_templates/upload_profile.erb
katello-4.14.0.rc1.1 app/views/foreman/job_templates/upload_profile.erb
katello-4.14.0.rc1 app/views/foreman/job_templates/upload_profile.erb