saltstack-formulas / postfix-formula

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

feat(maps): adds tls_policy map for smtp delivery #105

Closed fzipi closed 4 years ago

fzipi commented 4 years ago

Signed-off-by: Felipe Zipitria fzipitria@perceptyx.com

This PR adds smtp_tls_policy_maps. See postfix TLS readme

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

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

Documentation checklist

Testing checklist

Additional context

pull-assistant[bot] commented 4 years ago
Score: 1.00

Best reviewed: commit by commit


Optimal code review plan

     feat(maps): adds tls_policy map for smtp delivery

Powered by Pull Assistant. Last update d87da4a ... d87da4a. Read the comment docs.

fzipi commented 4 years ago

I don't think testing with centos6 and salt 2017 would make any good nowadays...

myii commented 4 years ago

I don't think testing with centos6 and salt 2017 would make any good nowadays...

@fzipi Yes, don't worry about that, we're in the process of removing these but we're waiting for the latest release (tomorrow) before upgrading Travis (again).

In the meantime, we need one of the Postfix contributors to have a look at this PR. Let's see if @alxwr or @ixs wouldn't mind having a look.

fzipi commented 4 years ago

Hi @alxwr @ixs, can you review this PR?

myii commented 4 years ago

@daks Since there's no response from the others, any chance of a general review here?


@fzipi If there's no activity in a couple of days, please ping me directly and I'll try to write some tests for this, so at least we're confirming the implementation that way. Or if you'd like to have a go, please make sure to add any pillar values to test/salt/pillar/default.sls so that your states run in Kitchen. These are the only states of config.sls that are running at the moment:

myii commented 4 years ago

Appreciate you making time to review this, @daks.

@fzipi So all this needs before it can be merged is to add tls_policy to the pillar.example, as @daks has mentioned above.

fzipi commented 4 years ago

@myii Done!

@daks I get what you are saying. I have some inspec tests, maybe would push them in a new PR if interested.

Also, now that I see this again. maybe all maps should be below mapping key, and treat them equally. Will try that and if is seems reasonable maybe create a new PR.

Thanks!

Felipe.

myii commented 4 years ago

Merged, thanks to you both @fzipi and @daks.

saltstack-formulas-travis commented 4 years ago

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

The release is available on GitHub release

Your semantic-release bot :package::rocket: