Bug 1327716

Summary: commands that have been commented out still seem to try and load as well as confuse the main script
Product: Red Hat Satellite Reporter: rick.langston
Component: Provisioning TemplatesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.8CC: bkearney
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-12 19:58:13 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:

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" %>