Bug 1327716 - commands that have been commented out still seem to try and load as well as confuse the main script
Summary: commands that have been commented out still seem to try and load as well as c...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning Templates
Version: 6.1.8
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-15 17:46 UTC by rick.langston
Modified: 2017-01-12 19:58 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-12 19:58:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description rick.langston 2016-04-15 17:46:50 UTC
Description of problem:
A cloned "Kickstart RHEL default" template has 2 lines in it <%= snippet "rpm_installation" %> it has another line above this #<%= snippet "test_rpm_installation" %> 

It seems the commented out snippet runs and stalls out the uncommitted out version with some of its content

How reproducible:
See Description

Comment 1 Bryan Kearney 2016-07-26 18:59:21 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 2 Bryan Kearney 2017-01-12 19:58:13 UTC
This is not a valid erb comment. You would need to do

<%# snippet "test_rpm_installation" %>


Note You need to log in before you can comment on or make changes to this bug.