-
Notifications
You must be signed in to change notification settings - Fork 418
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
Use repo.saltstack.com
where appropriate/possible
#180
Comments
+1 |
repo.saltstack.com handles all currently supported Debian releases as well as all supported Ubuntu releases so this change should be fine. Part of saltstack-formulas#180.
Once #234 is merged you should be able to cross the Debian and Ubuntu items in the todo list. Note that Debian 7 Wheezy is available on repo.saltstack.com as well. |
repo.saltstack.com handles all currently supported Debian releases as well as all supported Ubuntu releases so this change should be fine. Part of #180.
Currently the salt-formula does not properly work on a Raspberry Pi running Raspbian...
Adding the symlink along with the following patch appears to work for Debian and Raspbian but would obviously break for Ubuntu systems that are also Debian os_family.
|
@jbouse thank you. Could you open a PR for the |
@BABILEN Yeah, I'm fine putting a PR in... I want to find a solution that doesn't break Ubuntu while fixing for Rasbian. As soon as I do that I'll get the PR submitted from my fork. |
On Fri, 12 Aug 2016, Jeremy T. Bouse wrote:
That's because the ubuntu/debian repositories only have "amd64" Cheers,Raphaël Hertzog ◈ Debian Developer Support Debian LTS: http://www.freexian.com/services/debian-lts.html |
@rhertzog Yes, the salt package are "Arch: all" but there are "Arch: amd64" dependency packages in the repository which wouldn't work. I think I've figured a better way than my initial patch for map.jinja that doesn't have any adverse effect on Debian/Ubuntu but fixes the pkgrepo/key_url for Rasbian systems. The remaining piece I'm working on is the salt.pkgrepo include |
While Rasbian reports back the following grains values: local: ---------- os: Raspbian os_family: Debian osarch: armhf This caused the pkgrepo & key_url settings to be incorrect. Correect these settings to the appropriate repo.saltstack.com URLs for Raspbian. Part of saltstack-formulas#180
Got the PR submitted which currently corrects the pkgrepo and key_url values to match documented URLs for repo.saltstack.com for Raspbian... I still haven't found a more elegant way than to symlink the salt/pkgrepo/debian as salt/pkgrepo/raspbian... My attempts at tweaks to the salt/pkgrepo/init.sls have all failed at this point so far. |
Rasbian reports back the following grain values: local: ---------- os: Raspbian os_family: Debian osarch: armhf osmajorrelease: 8 osrelease: 8.0 Ubuntu reports back the following grain values: local: ---------- os: Ubuntu os_family: Debian osarch: amd64 osmajorrelease: 14 osrelease: 14.04 For Raspbian the osarch needed to be changed from other Debain os_family distributions. For Ubuntu the osrelease value is needed instead of osmajorrelease as other Debian os_family distributions. Part of saltstack-formulas#180
I believe I got a solid solution and it also improves/fixes Ubuntu as well. I believe the salt/pkgrepo/ubuntu/ is actually no longer needed now as well but I left it alone. |
Currently, the following distributions/releases are covered by https://repo.saltstack.com:
salt.pkgrepo
should make use ofrepo.saltstack.com
where appropriate/possible.I might take care of providing a PR for Ubuntu. Can't promise yet to add support for other distributions as well.
The text was updated successfully, but these errors were encountered: