Red Hat Bugzilla – Bug 769881
tree_repos -> os_repos broke your own snippets.
Last modified: 2012-09-13 10:56:11 EDT
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)
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..
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.
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.