mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #45840 from rallytime/bp-45603
Back-port #45603 to 2017.7
This commit is contained in:
commit
0a04f118c2
1 changed files with 3 additions and 0 deletions
|
@ -377,6 +377,9 @@ def managed(name, ppa=None, **kwargs):
|
|||
repo = salt.utils.pkg.deb.strip_uri(repo)
|
||||
|
||||
if pre:
|
||||
#22412: Remove file attribute in case same repo is set up multiple times but with different files
|
||||
pre.pop('file', None)
|
||||
sanitizedkwargs.pop('file', None)
|
||||
for kwarg in sanitizedkwargs:
|
||||
if kwarg not in pre:
|
||||
if kwarg == 'enabled':
|
||||
|
|
Loading…
Add table
Reference in a new issue