mjhas / postfix

puppet postfix module
Other
5 stars 21 forks source link

More parameters + Hiera creation of parameters #4

Closed andyleejordan closed 10 years ago

andyleejordan commented 10 years ago

This adds the oft-used parameters mailbox_command and mailbox_transport, and also adds a hash maincfs that can be used in Hiera to create arbitrary postfix::config::maincfhelper resources (say, for missing parameters).

In YAML, this could be:

postfix::config::maincfs:
  mailbox_transport:
    value: lmtp:unix:/var/spool/postfix/private/dovecot-lmtp

I should note that the Puppet compilation will fail if we have already defined that parameter in config.pp, so perhaps we should think of removing all those that are defaulted to undef... and just checked, that's all of them. Hm. Thoughts? (This doesn't block this pull-request.)

mjhas commented 10 years ago

looking at a lot of puppet forge module they still support 2.7