saltstack-formulas / nginx-formula

Nginx Salt Formula
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
163 stars 421 forks source link

fix(debian): avoid adding repositories entries multiple times #290

Closed javierbertoli closed 2 years ago

javierbertoli commented 2 years ago

PR progress checklist (to be filled in by reviewers)


What type of PR is this?

Primary type

Secondary type

Does this PR introduce a BREAKING CHANGE?

No.

Related issues and/or pull requests

As described in

repositories entries in the Debian's family are being re-added each time the formula is run.

Describe the changes you're proposing

As proposed here, moved away from pkgrepo and manage the repository's file with file.managed.

Used the same parameters to keep it backward compatible.

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

Documentation checklist

Testing checklist

Additional context

myii commented 2 years ago

Appreciate the fix, @javierbertoli -- merged.

saltstack-formulas-travis commented 2 years ago

:tada: This PR is included in version 2.8.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: