Project

General

Profile

Actions

Bug #38099

open

Leapp upgrade job template missing "=" to print Channel user input

Added by Stephane Vigan about 2 months ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
trivial
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

In file https://github.com/theforeman/foreman_leapp/blob/master/app/views/foreman_leapp/job_templates/leapp_upgrade.erb#L26

it's missing a "=" to set channel_opts ansible variable to the value of the user input variable "Channel"

line 26 should be :

- channel_opts: <%= input('Channel') == 'ga' ? '' : "--channel #{input('Channel')}" %>

other wise if we use another channel than GA, leapp upgrade fails

Actions

Also available in: Atom PDF