Commit graph

79 commits

Author SHA1 Message Date
varac
969076a813 join case statements in init.pp 2015-12-01 16:27:41 +01:00
varac
f4201357e5 [refactor] Dont use case statement in resource def 2015-12-01 16:26:44 +01:00
varac
1eea47c2f6 linted init.pp 2015-12-01 14:44:38 +01:00
elijah
58c687dcaa make default value for alias_maps optional 2015-09-09 10:03:45 -04:00
Jerome Charaoui
bf977c9b76 Merge branch 'fix_satellite_class' into 'master'
Fix satellite class

See merge request !5
2015-03-17 15:26:27 +00:00
Gabriel Filion
34d35a25b8 Merge branch 'smtp_auth' 2015-03-11 18:52:30 -04:00
Gabriel Filion
3c89b7deac small typo in smtp_auth example 2015-03-11 18:51:41 -04:00
Gabriel Filion
2021023f31 lint smtp_auth (spacing style) 2015-03-08 12:47:31 -04:00
Gabriel Filion
c4b0de71fe fix smtp_auth requirements in comment
last commit moved requirement from the common module to puppetlab's
stdlib
2015-03-08 12:46:44 -04:00
varac
5d25ec9d1e fix postfix::satellite class
i got this error using postfix:📡

  Error: Could not retrieve catalog from remote server: Error 400 on
  SERVER: Cannot reassign variable valid_fqdn at
  /etc/puppet/modules/postfix/manifests/satellite.pp:32 …

reassigning a variable within a given scope doesn't work in puppet
see https://docs.puppetlabs.com/puppet/latest/reference/lang_variables.html#no-reassignment

i still think overriding $::fqdn is not a good idea, but for now,
i just want to get this class working again.
2015-03-05 09:23:57 +01:00
varac
06a63a98fc use stdlib file_line instead of deprecated line from common module 2015-03-05 09:09:00 +01:00
varac
316dedeb14 linted smtp_auth.pp 2015-03-04 09:24:55 +01:00
varac
49f1024e16 added smtp_auth.pp 2015-03-04 09:18:37 +01:00
intrigeri
a61349e001 Fix usage of the common::module_dir. 2015-02-28 12:09:37 +00:00
Jerome Charaoui
538debac1f fix module dependency comment in transport and virtual 2015-02-20 17:16:08 -05:00
Jerome Charaoui
b8b5af597e Merge branch 'master' of https://git-ipuppet.immerda.ch/module-postfix 2015-02-20 17:07:31 -05:00
Jerome Charaoui
6e051c3b85 convert to file resources to stdlib's file_line 2015-02-20 17:06:47 -05:00
mh
f9068edca5 get rid off lsb facts 2014-07-09 23:14:42 +02:00
Gabriel Filion
a9ec67ca02 mention the url to the issue about the services' init script
this way we can follow up on the situation, put pressure on the
community to get this fixed, and remove our hack when it's fixed.
2013-05-20 16:21:06 -04:00
mh
39f1218960 debian's service provider has some issues if the script is absent, we can workaround this problem using the trick of this patch 2013-05-20 18:54:13 +02:00
mh
04e63d3abc setting package correctly to absent 2013-04-23 15:25:11 -04:00
mh
ccb7492f8b add disable class 2013-04-23 15:25:04 -04:00
Silvio Rhatto
5f55183299 Syntax fix 2013-04-13 13:11:50 -03:00
Silvio Rhatto
5bae026d34 Switching to site_postfix convention 2013-01-27 15:40:56 -02:00
Silvio Rhatto
4498548534 Fixing missing delimiter 2013-01-25 14:05:35 -02:00
Silvio Rhatto
8b78b15e57 Switching to parametrized classes 2013-01-25 14:03:24 -02:00
Silvio Rhatto
5e806b99e2 Removing path from postfix::config 2013-01-21 19:19:05 -02:00
Silvio Rhatto
56bac37c33 Updating header_checks_snippet to use concat 2013-01-21 19:08:06 -02:00
Silvio Rhatto
7cc8c05c57 Merge branch 'master' of ssh://labs.riseup.net/shared-postfix
Conflicts:
	manifests/definitions/header_checks_snippet.pp
	manifests/header_checks.pp
	manifests/header_checks_snippet.pp
	manifests/init.pp
	manifests/tlspolicy.pp
	manifests/virtual_regexp_snippet.pp
2013-01-21 18:25:46 -02:00
intrigeri
881a59ac62 Move external class inclusion after sanity checks. 2012-12-30 16:06:30 +01:00
intrigeri
da8b03fcb0 Remove useless copy/pasted check.
This define has no $value parameter,
so this check does not make any sense.
2012-12-30 16:06:30 +01:00
intrigeri
fa6c3e659d Fix wrong define and directory name in documentation. 2012-12-30 16:06:30 +01:00
intrigeri
985ec1fe0a Use the concat module instead of the concatenated_file defined (Closes: #4074) 2012-12-30 16:06:30 +01:00
Silvio Rhatto
bc0d56603e Add path to postfix::config exec command to avoid failure (#3807) 2012-04-12 22:42:28 -03:00
Silvio Rhatto
531d802bad Adding transport_regexp and virtual_regexp management 2012-04-07 15:40:42 -03:00
mh
59010a1c30 put classes and defines in the proper place
To take advantage of puppet's autoloading feature, which will be
mandatory sooner or later. We move all the files in their appropriate
place.
2012-04-07 13:56:47 -03:00
mh
2c86670a92 Use proper variable scope
Facts should be addressed with $::fqdn and so on.
2012-02-16 16:58:09 +01:00
mh
77578b93bd put classes and defines in the proper place
To take advantage of puppet's autoloading feature, which will be
mandatory sooner or later. We move all the files in their appropriate
place.
2012-02-16 16:51:56 +01:00
Gabriel Filion
6a94b97ee2 Make 'myorigin' customizable
Not all sites use their fqdn as the 'myorigin' value. The new
$postfix_myorigin variable makes it possible to specify a custom value
for this option.

When no values are specified, keep the default behaviour of using $fqdn
as the value for myorigin.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2011-09-11 04:25:10 -04:00
Gabriel Filion
3e56ee36c3 Parametrize value of inet_interfaces
We don't always want to have postfix listen to all interfaces.

Since the config generally defaults to listening on all interfaces, make
that the default value.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2011-09-11 04:23:26 -04:00
Silvio Rhatto
e70609a148 Merge branch 'master' of git://gaffer.ptitcanardnoir.org/puppet-module-postfix 2011-07-13 22:30:12 -03:00
Silvio Rhatto
c904fc86c5 Removing fileserver source for tls policy snippets 2011-07-13 21:22:34 -03:00
intrigeri
1f99fcdfdb Support hiding the originating IP in email relayed for an authenticated SASL client.
Untested as I've no Puppet-managed relaying email server yet.

Reference: https://we.riseup.net/debian/anonymizing-postfix
2011-03-05 04:58:57 +01:00
intrigeri
0583cf4988 Add support for managing header_checks.
This support is modeled after the existing TLS policy management:  the
header_cheks file is produced by merging snippets shipped by the Puppet
fileserver, a site-module and/or postfix::header_checks_snippet defines.
2011-03-05 04:45:37 +01:00
intrigeri
cc8c37d5da Enhance tls_policy documentation. 2011-02-26 11:19:02 +01:00
Silvio Rhatto
ecedde918e Fixing tls policy snippets source order 2011-02-23 14:21:04 -03:00
Silvio Rhatto
91897e2ad7 Additional source for tls policy snippets 2011-02-23 11:18:51 -03:00
Silvio Rhatto
e4a453aaa7 Remove inclusion of non-existent class amavisd-new 2011-02-20 11:05:57 -03:00
intrigeri
d374575bfb Rather use bsd-mailx on Debian.
It is smaller than the feature-bloated heirloom-mailx.
2010-12-15 14:43:40 +01:00
intrigeri
2f37d6cc9d Remove bashism.
In POSIX, string equality is tested using '='.
2010-12-14 21:44:04 +01:00