-
Notifications
You must be signed in to change notification settings - Fork 74
Update minima version #1832
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Update minima version #1832
Conversation
3eed87d
to
21ebaec
Compare
91831af
to
ee0b5bf
Compare
337900f
to
eddb28c
Compare
eddb28c
to
1a6ca23
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @NamelessOne91, I would like that we discuss about this PR.
The title only describe an update of minima version in sumaform, but in fact, now we are injecting a minima mirror as part of our regular server modules. In particular, I dislike and discourage the idea of downloading minima mirror binary inside the container and run it inside the container, instead, I think that the way containers prefers to work is with volumes, and I think we need to handle minima mirror from the server host, and include an additional volume on the container pointing to the content.
EDITED:
Wow.. In fact that has been there forever... Ok.
I will approve the PR, because it just do cosmetical changes, but I will open a new card to address my concern.
{% set host = grains.get('mirror') | default('download.opensuse.org', true) %} | ||
storage: | ||
type: file | ||
path: /srv/www/htdocs/pub/ | ||
|
||
http: | ||
- url: http://{{ host }}/repositories/systemsmanagement:/Uyuni:/Test-Packages:/Updates/rpm | ||
- url: http://{{ host }}/repositories/systemsmanagement:/Uyuni:/Test-Packages:/Appstream/rhlike |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO, this YAML file should be part of mirror folder, as it aims to be used by a minima mirror. Also, this would benefit of not having the file duplicated in server
and server_containerized
.
Dismissing the request for changes as I noticed the code it was in place since the beginning. I will open a card to refactor it instead.
6d252b0
to
081f221
Compare
081f221
to
99c8207
Compare
What does this PR change?
Updates Salt states so that they all use the latests (at the time of writing) available minima version.