[et-mgmt-tools] cobbler RFE: $yum_repo_stanza behavior with disabled repos

Bjorn Oglefjorn sys.mailing at gmail.com
Fri Mar 14 17:15:34 UTC 2008


'cobbler sync' should not generate 'repo' directives in place of
$yum_repo_stanza for any repos with yumopts 'enabled=0'.
This should be true for both profiles and systems.

eg:
profile 'testProfile' has three repos:
  repo1
  repo2
  repo3
repo2 has yumopts 'enabled=0'

In the 'cobbler sync' generated kickstart for 'testProfile',
$yum_repo_stanza should expand to:
  repo --name=repo1 --baseurl=blah
  repo --name=repo3 --baseurl=blahagain

A patch is attached in git diff format.

--Vito
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20080314/2cef7b3b/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: action_sync.py.diff.txt
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20080314/2cef7b3b/attachment.txt>


More information about the et-mgmt-tools mailing list