production puppet-control repository
Go to file
Ben Vincent 78adef0eee refactor: recreate profiles::postfix::gateway with parameterization and templates (#416)
- refactor profiles::postfix::gateway as parameterized class
- move base postfix parameters, transports, and virtuals to hiera for flexibility
- convert SMTP restrictions to arrays for better readability using join()
- add postscreen enable/disable boolean with conditional master.cf configuration
- add per-domain TLS policy maps (smtp_tls_policy_maps)
- convert alias_maps to array parameter for flexibility
- convert all postfix map files to ERB templates with parameter hashes
- add map parameters: sender_canonical_maps, sender_access_maps, relay_recipients_maps,
  relay_domains_maps, recipient_canonical_maps, recipient_access_maps, postscreen_access_maps, helo_access_maps
- move default map data to hiera while keeping parameters as empty hashes by default

This approach balances flexibility with data-driven configuration, allowing
easy customization through parameters while keeping transport/virtual maps
and default map data in hiera for role-specific overrides.

Reviewed-on: #416
2025-11-01 17:26:00 +11:00
.gitea/workflows feat: add ci build task (#342) 2025-07-08 20:19:36 +10:00
doc feat: update docs for puppet (#390) 2025-09-13 12:57:44 +10:00
hieradata refactor: recreate profiles::postfix::gateway with parameterization and templates (#416) 2025-11-01 17:26:00 +11:00
manifests Added default resource settings 2023-07-02 14:21:09 +10:00
modules feat: add ZFS facts to prevent zpool disk changes (#410) 2025-10-18 21:24:33 +11:00
site refactor: recreate profiles::postfix::gateway with parameterization and templates (#416) 2025-11-01 17:26:00 +11:00
.pre-commit-config.yaml Added puppet-enc setup 2023-06-21 22:03:43 +10:00
.reek.yml feat: change enc_* fact to read direct from cobbler (#219) 2025-03-12 23:09:15 +11:00
.rubocop.yml feat: add ci build task (#342) 2025-07-08 20:19:36 +10:00
environment.conf refacter: tidy facts 2024-02-17 22:57:36 +11:00
hiera.yaml feat: add virtual/physical check 2024-03-31 15:36:41 +11:00
Puppetfile feat: prepare for dovecot deployment (#415) 2025-11-01 01:01:55 +11:00