Re: cobbler RFE: $yum_repo_stanza behavior with disabled repos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bjorn Oglefjorn wrote:
'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

Applied to devel, thanks!

--Michael


------------------------------------------------------------------------

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux