-
- Downloads
Add FreeBSD support (#288)
* Do not hardcode /etc/postfix In order to bring support for FreeBSD, do not use the hardcoded /etc/postfix path for the directory containing Postfix configuration: FreeBSD ports are installed with a /usr/local/ prefix (by default) so the configuration files on FreeBSD are stored in the /usr/local/etc/postfix directory. * Add support for FreeBSD * Make it possible to tune the "root" group FreeBSD does not have a "root" group. The corresponding group is named "wheel". Allow to setup a custom "root_group", and adjust FreeBSD configuration to set it to "wheel". * Adjust the test suite so that it pass on FreeBSD * Do not depend on $postfix::* before including postfix Some resources parameters depend on the value of variable from the postfix class. Ensure these values are substitued only after including postfix. * Move default values from hiera to init.pp These values are system-dependent, but this helps seeing the usual default value when genering references. * Move $manage_mailname parameter * Explicitely mark internal classes as private * Remove redundant postfix::params inclusion Co-authored-by:Raphaël Pinson <github+aem1eeshi1@raphink.net> Co-authored-by:
Raphaël Pinson <github+aem1eeshi1@raphink.net>
Showing
- data/os/FreeBSD.yaml 8 additions, 0 deletionsdata/os/FreeBSD.yaml
- manifests/canonical.pp 6 additions, 3 deletionsmanifests/canonical.pp
- manifests/conffile.pp 5 additions, 3 deletionsmanifests/conffile.pp
- manifests/config.pp 3 additions, 2 deletionsmanifests/config.pp
- manifests/files.pp 14 additions, 10 deletionsmanifests/files.pp
- manifests/init.pp 4 additions, 1 deletionmanifests/init.pp
- manifests/ldap.pp 2 additions, 2 deletionsmanifests/ldap.pp
- manifests/mailman.pp 5 additions, 4 deletionsmanifests/mailman.pp
- manifests/map.pp 8 additions, 5 deletionsmanifests/map.pp
- manifests/mta.pp 17 additions, 12 deletionsmanifests/mta.pp
- manifests/packages.pp 1 addition, 1 deletionmanifests/packages.pp
- manifests/satellite.pp 11 additions, 6 deletionsmanifests/satellite.pp
- manifests/service.pp 1 addition, 0 deletionsmanifests/service.pp
- manifests/transport.pp 7 additions, 4 deletionsmanifests/transport.pp
- manifests/virtual.pp 7 additions, 4 deletionsmanifests/virtual.pp
- metadata.json 7 additions, 0 deletionsmetadata.json
- spec/classes/postfix_spec.rb 47 additions, 19 deletionsspec/classes/postfix_spec.rb
- spec/defines/postfix_config_spec.rb 9 additions, 3 deletionsspec/defines/postfix_config_spec.rb
- spec/defines/postfix_map_spec.rb 8 additions, 1 deletionspec/defines/postfix_map_spec.rb
- spec/defines/postfix_transport_spec.rb 13 additions, 3 deletionsspec/defines/postfix_transport_spec.rb
Loading
Please register or sign in to comment