Bug 1267525

Summary: [RFE] Variable to identify Satellite version in provisioning templates
Product: Red Hat Satellite Reporter: Peter Vreman <peter.vreman>
Component: Provisioning TemplatesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.2CC: bkearney, oprazak
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 19:09:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 260381, 1122832    

Description Peter Vreman 2015-09-30 09:41:11 UTC
Description of problem:
To be able to use the same provisioning template in multiple Satellite versions it would be good for understanding to have a variable to identify the version of Satellite also in the provisioning templates.
This variable can then be used to have clear Satellite version dependent code fragments

<% if @satellite.version >= 6.2 %>
... new satellite 6.2 features / variables
<% else %>
... legacy satellite 6.0/6.1 code
<% end %>

Alternative is to have @foreman.version


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Bryan Kearney 2016-07-08 20:48:02 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 3 Ondřej Pražák 2017-11-09 12:12:43 UTC
Created redmine issue http://projects.theforeman.org/issues/21613 from this bug

Comment 4 Bryan Kearney 2018-09-04 18:58:27 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 5 Bryan Kearney 2018-09-04 19:09:57 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.