saltstack-formulas / salt-formula

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

fix(Defaults) master_type: str #492

Closed dth202 closed 3 years ago

dth202 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

Describe the changes you're proposing

Change salt:minion:master_type from 'true' to 'str' in defaults.yaml. The default value for the salt-minion config is str according to salt documentation, but the value in defaults.yaml is true. Setting master_type to true in the salt-minion config causes an error the salt-minion starts

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

Documentation checklist

Testing checklist

Additional context

baby-gnu commented 3 years ago

Hello.

Could you fix the CI errors?

noelmcloughlin commented 3 years ago

@dth202 could you update commit message to comply with https://www.conventionalcommits.org/en/v1.0.0/#summary

saltstack-formulas-travis commented 3 years ago

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

The release is available on GitHub release

Your semantic-release bot :package::rocket:

myii commented 3 years ago

Apologies for the excessive delay, @dth202 -- finally got around to reviewing and finalising this.

Thanks for the prompt, @noelmcloughlin.

noelmcloughlin commented 3 years ago

Thanks @myii @dth202

https://docs.saltproject.io/en/latest/ref/configuration/minion.html#master-type

That page explains all valid values except "str". What does "str" mean?

myii commented 3 years ago

That page explains all valid values except "str". What does "str" mean?

@noelmcloughlin Good question, I've never changed this option myself. Here's a little digging down.

https://github.com/saltstack/salt/pull/25703/files

https://github.com/saltstack/salt/blob/8ce39ddb2594358d47e24628af85a9b260ff1fe1/conf/minion#L39-L47 https://github.com/saltstack/salt/blob/8ce39ddb2594358d47e24628af85a9b260ff1fe1/conf/proxy#L61-L67

https://github.com/saltstack/salt/issues/42803