saltstack-formulas / postgres-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
77 stars 282 forks source link

fix(contributing): runnig formula with bake_image=True #318

Open litnialex opened 3 years ago

litnialex commented 3 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

https://github.com/saltstack-formulas/postgres-formula/issues/317

Describe the changes you're proposing

image.sls file removed. There are actually only two "special" states need in case with bake_image=True. Better to have them all in init.sls with clear if,else statement.

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

running state log with pillar setting postgres.bake_image=True attached...

Documentation checklist

Testing checklist

Additional context