Bug 769881

Summary: tree_repos -> os_repos broke your own snippets.
Product: [Fedora] Fedora Reporter: Arlinton Bourne <abourne>
Component: cobblerAssignee: Bill Peck <bpeck>
Status: CLOSED DEFERRED QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: awood, bpeck, dcallagh, jimi, mcsontos, rmancy, scott, stl, vanmeeuwen+fedora
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-22 16:42:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Arlinton Bourne 2011-12-22 15:54:03 UTC
So you guys decided to change tree_repos to os_repos and change the syntax. In doing that you've broken a few of your own scripts as well.

Here are two snippets that still reference tree_repos:
./anaconda_repos:#if $getVar('tree_repos','') != ''
./anaconda_repos:#for $repo in $getVar('tree_repos','').split(':')
./rhts_post:#set $tree_repos = $getVar('tree_repos','')
./rhts_post:#if $tree_repos != ''
./rhts_post:#if $tree_repos.find("http://") != -1
./rhts_post:#for $repo in $getVar('tree_repos','').split($split)

Comment 1 Bill Peck 2011-12-22 16:06:08 UTC
Hi Arlinton,

Sorry, I didn't know you were using those.  We still have tree_repos because some distros in cobbler may still have that data.  going forward we are only populating os_repos, debug_repos, etc..

Comment 2 Arlinton Bourne 2011-12-22 16:26:13 UTC
The $tree_repos variable is empty. Also these scripts are shipped with cobbler and thus is maintained by you guys. You probably might want to fix it.

Comment 3 Bill Peck 2011-12-22 16:42:27 UTC
Yes the tree_repos is empty for newly processed distros but not for old distros.

Its left there in case the customer has old distros with tree_repos defined.  Thats all.