saltstack-formulas / salt-formula

Yes, Salt can Salt itself!
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
197 stars 423 forks source link

Fix: master.d template to support saltclass ext_pillar config #519

Closed rfairburn closed 2 years ago

rfairburn 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

https://github.com/saltstack-formulas/salt-formula/issues/383

Describe the changes you're proposing

This allows for the default external pillar configuration for saltclass to be used. Nested lists did not accept string values previously on child ext_pillar configs.

Pillar / config required to test the proposed changes

The change to the pillar top in the test should cover this

Debug log showing how the proposed changes work

Documentation checklist

Testing checklist

Additional context

rfairburn commented 2 years ago

@aboe76 @myii Just wanted to check back in. Saw this sitting open for a while yet and didn't know if I needed to do anything else on this or if these normally sit open for a while before merging.

myii commented 2 years ago

Apologies for the delay, @rfairburn -- this has been merged.

I had to rebase, amend and force-push this PR because all the test suites were merged into one -- you'll see the changeset is a lot more simple now!

Another point to note is that using the master.d Jinja template is no longer the recommended practice with this formula. It will be removed at some point (#417). The whole discussion about this took place in this PR -- I've linked to the comment where we agreed upon using TOFS as the solution for these files.

saltstack-formulas-travis commented 2 years ago

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

The release is available on GitHub release

Your semantic-release bot :package::rocket: