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

Michael DeHaan mdehaan at redhat.com
Mon Mar 17 21:00:55 UTC 2008


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 at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools




More information about the et-mgmt-tools mailing list