Bruno Binet
6278efc19c
Fix missing json filter to support salt v2019.2
See salt issues #48309 #51925
5 роки тому
Nick Metz
7df5106a11
Fix for issue #183 Compile issue in linux.system.repo
6 роки тому
azvyagintsev
4494a47bd5
Implement repo.pinning logic
* Ubuntu pinning params allow to be used
multiply times. In same time, old `list`
format now allowing to be predictable
iterated inside jinja
Related-Bug: PROD-21604 (PROD:21604)
Change-Id: If1c0f0f834a296b9a19d0af5fc7673c9229a7ac5
6 роки тому
azvyagintsev
42b64a1f29
Misc fixes
* Add\fix __virtual__ for modules
* Remove unneded multiline for repo.sls
Change-Id: I1f8d321b68dfe6a44264b4ddcd6cd0c576938da1
6 роки тому
azvyagintsev
7903ba97da
Refactor pillar repo key fetch
Change-Id: I511996de9d8abc69d6775b45482f8196c7159a1a
6 роки тому
azvyagintsev
45cf452dbb
Fix global proxy processing
* Fix processing disabled repo
* Extend tests for such case
Change-Id: Ib3243f2b3e70aecef65273be215b30613b8df025
Closes-Bug: PROD-21954 (PROD:21954)
6 роки тому
Alexandru Avadanii
5df87a1a13
system:repo: Fix duplicate file.absent sls IDs
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 роки тому
azvyagintsev
ff089d2428
Fix|change system.repo update logic
- Add possibility to remove prereq. packages installation BEFORE
* Crucial logic violation - if we don't have any repo\
have them configured in wrong way - stage will always fail.
* install prereq. packages after all - sounds stupid, but correct.
* By default - it will still try to install prereq. We don't want to
broke OLD logic.See readme, how-to overide such behaviour.
- don't update cache per-repo - it's simply useless and may fail due p1.
Run update only once - after all repos configured\reconfigured
- Add new option at system:refresh_repos_meta - for case, when update
should not be run in any case. By default - true.
- remove 99proxies-salt-{{ name }} along with disabled repo
- fix duplicate 'clean_file' option
Closes-Bug: PROD-15992 (PROD:15992)
Change-Id: I4b312f82f65be80e7726f62482978f68c25746a3
6 роки тому
azvyagintsev
f27f4367d3
0-change sugar
* Make system.repo more readable
Change-Id: I0f28e71f4b00422a70006559525e5be24c4cb065
6 роки тому
Petr Michalec
9f30456a0e
Fix, system.repo don't use curl if not needed
- fixed pkgrepo.manage to use/prefer key_url for salt >= 2017.7
- updated syntax for key verificatoin
- fix, avoid curl for salt:// schema (as in #156 )
Change-Id: I1b50c287a4030a9cefa1b819017d59cc5fb1c197
6 роки тому
Vasyl Saienko
4a23e4d201
Revert "Fix, system.repo don't use curl on fixed pkgrepo.manage"
Commit totally broke all deployment CI job.
This reverts commit 24477c590b
.
Change-Id: Idce0954f0bd363095069e91edc6941ca78b22c60
6 роки тому
Petr Michalec
24477c590b
Fix, system.repo don't use curl on fixed pkgrepo.manage
Change-Id: Id5b5a44f3dfbbdd60442fd2f273b72557fa9e191
6 роки тому
azvyagintsev
eda3823a09
Fix default_repo requirments
Change-Id: I2d374a589e18f38f91beac9514ff5bf3c034d637
6 роки тому
azvyagintsev
6f5e69e2bf
Fix system:repo
* Currently, 'key' was processed only for default repos
* Remove double-definition
* Re-use idempotent fix
Co-Authored-By: Dennis Dmitriev <ddmitriev@mirantis.com>
Change-Id: Ic733f671b39e7b4a8d8e0a83515b6b0632c3a41b
6 роки тому
Martin Horak
9673a18fba
Fixed curl to follow redirections.
6 роки тому
Martin Horak
ceb6686d71
Fix syntax - add quotes.
6 роки тому
Martin Horak
77f2d02118
Rewritten using replace to make one line.
6 роки тому
Martin Horak
c0c7292279
Enable adding multiline GPG key.
6 роки тому
Martin Horak
7b14633199
Fix typo.
6 роки тому
Martin Horak
f1feaf60a3
Change requisite clausule.
Add check for existing key for idempotency.
6 роки тому
Martin Horak
a73b87150e
Workaround for fetching repo keys via proxy.
6 роки тому
Michael Fladischer
1e41e3065d
Use items() instead of iteritems() for Python3 compatibility.
iteritems() was dropped in recent Python3 releases and items() is compatible
with Python 2.7.
6 роки тому
Oleh Hryhorov
3e68a4f78b
The patch fixes access to undefined variable
The patches fixes the situation when repo is not defined but
formula tries to get access to source parameter of the repo.
Change-Id: Ifa7b8475bfc2cece6803ab7da7b2d0d5cc12b652
Related-PROD: PROD-17001
7 роки тому
Petr Michalec
4d5c0a80bd
Fix/Feature: RHEL repo.enabled=False; use pkgrepo.abset
Change-Id: I811cbb17d98df357c4b44bd53ddcc5d01a06537f
7 роки тому
Filip Pytloun
3af564619b
Fix trailing :
Change-Id: Id9d9178ca7417df1b8a83110e92cf4a62907982d
7 роки тому
Filip Pytloun
bd16dc27d7
Allow removing apt repositories
Change-Id: Ib7f34360b7580cbc4260b826d1eb21d443801fa5
7 роки тому
Consatntine Kalinovskiy
8aad368ec8
Fixing invalid variable reference
Change-Id: I7919ef2273185081d56a40af1e8fb4e602da41a2
7 роки тому
Marek Celoud
f163f06194
add update when default repo is changed
Closes-Bug: #PROD-10623
Change-Id: I9e070f7f96b1f0b8eafa12403c5df4ae5be3e42c
7 роки тому
Petr Michalec
e9978ce016
Allow override repo name
- allow multiple repos configured on one system (nightly/testing/stable)
7 роки тому
Bruno Binet
94ee9d58c6
Make sure system.purge_repos is optional
7 роки тому
Martin Polreich
09a648ae21
Add ability to add ppa repo
7 роки тому
Petr Michalec
1ae62b1fb7
Allow direct use of gpg key in linux.system.repo
7 роки тому
Jiri Broulik
25839cca97
purging repos
7 роки тому
Petr Michalec
459da2bc65
avoid install system pkgs before repo configured
7 роки тому
Marek Celoud
9ed340364a
add package include into repo state
Change-Id: I4fd6cafb72fb1ad89c6595782d6705f49777761b
7 роки тому
Filip Pytloun
914eff9e0f
Cleanup reponame.list to remove obsolete entries
Change-Id: Ifaa3adff756ed63f8e1f66d5de344cb0ab1c9e94
7 роки тому
Petr Michalec
10462bba7f
Add system.env, system.profile, system.proxy and configure proxy under system.repo
7 роки тому
Petr Michalec
c146f18e8f
Add consolidate/clean_file/refresh_db pkgrepo options
7 роки тому
Marek Celoud
159d381e0f
require linux_packages install in repo state
7 роки тому
Filip Pytloun
d147ae1dd2
Fix repo_url definition
8 роки тому
Filip Pytloun
96be4379cb
Enhance yum repo definition
8 роки тому
Filip Pytloun
f5383a44be
Initial commit
9 роки тому