You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and run a state.highstate, the proper baseurl line is added, but the mirrorlist line is left in the configuration, which means yum will still try to use that.
The text was updated successfully, but these errors were encountered:
I'm fairly certain this will affect all versions, since all the args in the state are passed through to the function that writes the repo config file. I'll add some logic to include a check on yum-based systems for this sort of change.
@tlk2126 I've submitted a fix for this in #9133. Due to the way changes are returned from pkgrepo states currently, Salt doesn't report that it has deleted the corresponding key when it shows the changes in the highstate output. Doing this will require more substantial changes to the apt and yum pkgrepo functions as well as the pkgrepo state, so this will have to be done another time. But for now, the behavior will be functionally accurate, which is more important IMO than for the reporting of changes to be 100% accurate. We'll still get to that, it just might take a few weeks. :)
If you switch from a mirrorlist configured pkgrepo:
to
and run a state.highstate, the proper
baseurl
line is added, but themirrorlist
line is left in the configuration, which means yum will still try to use that.The text was updated successfully, but these errors were encountered: