Commit Graph

19 Commits

Author SHA1 Message Date
Felipe Zipitria
e3970dfc3e
feat(maps): add more map types and tests
Signed-off-by: Felipe Zipitria <fzipitria@perceptyx.com>
2020-07-18 17:00:13 -03:00
Holger Fischer
7584fce0af feat(config): run postmap also for regexp maps 2020-07-18 20:36:58 +02:00
Felipe Zipitria
a28bd05b85
fix(deps): fixes ordering where postmap requires sane main.cf
Moved maps generation to config, and added dependency on main.cf generation. Solves centos8 problems.

Signed-off-by: Felipe Zipitria <fzipitria@perceptyx.com>
2020-06-07 23:35:20 -03:00
Felipe Zipitria
06276fd743
refactor(maps): move tls_policy and transport to mapping section
Signed-off-by: Felipe Zipitria <fzipitria@perceptyx.com>

BREAKING CHANGE: `transport` and `tls_policy` keys in `postfix:config` have been moved to the standard `postfix:mapping`.
2020-06-06 19:17:46 -03:00
Felipe Zipitria
d87da4adc4 feat(maps): adds tls_policy map for smtp delivery
Signed-off-by: Felipe Zipitria <fzipitria@perceptyx.com>
2020-05-12 15:41:02 -03:00
Imran Iqbal
34a112faab
fix: make necessary modifications to get working on salt-ssh
* Similar situation to https://github.com/saltstack-formulas/logrotate-formula/pull/53
  - https://freenode.logbot.info/saltstack-formulas/20200507#c3819526-c3819581
  - https://freenode.logbot.info/saltstack-formulas/20200508#c3826763-c3826995
* Send template values by `context`
2020-05-08 09:40:10 +01:00
Florian Ermisch
099d84ab73 Template paths and groups to make them work on FreeBSD, too. 2017-08-24 13:02:46 +02:00
Imran Haider
65f86e621d Added config files for virtual users 2016-11-20 11:01:34 -05:00
Gilles Dartiguelongue
159c9e81ac Switch to SSL management method used in nginx.ng formula
Also change path to certificates since previous ones are distribution
specific. They look like Debian path, Gentoo uses different ones.

New path uses same logic as nginx's formula, use known to exist folder
which server most likely has permission to read too since it is its
configuration folder.
2015-09-03 11:01:51 +02:00
Imran Haider
06ae3b5315 Allow certs and keys to be specified in the pillar 2015-09-03 11:01:51 +02:00
jeroen92
f8cbffc620 Optimized manage_master_config conditional 2015-03-26 09:43:44 +01:00
jeroen92
493298fff1 Add option to let the module (not) manage the master.cf 2015-03-25 12:49:57 +01:00
david
5c6b07869f add spf handling 2015-02-05 09:57:18 +01:00
Skyler Berg
78f3a47bec Refactor postfix formula to work with arbitrary parameters 2014-11-21 11:16:17 -08:00
skyler
844de7cf57 Remove Ubuntu specific defaults 2014-08-19 19:12:20 -07:00
skyler
4237556a6f Add extra quotes to prevent 'yes' and 'no' from becoming 'True' and 'False' 2014-08-19 19:11:20 -07:00
skyler
ce1c234023 Change watch_in to be followed by a list 2014-08-19 18:46:15 -07:00
skyler
755c7b64ba Make postfix.config state work with latest changes 2014-08-19 18:42:08 -07:00
skyler
e882f1a4d1 Add config state and main.cf config file 2014-08-19 17:32:47 -07:00