puppet_postfix.git
11 months agoLinting, puppet4 master
kwadronaut [Tue, 11 Dec 2018 16:44:57 +0000 (17:44 +0100)]
Linting, puppet4

11 months agoMerge remote-tracking branch 'shared/master'
kwadronaut [Tue, 11 Dec 2018 16:38:54 +0000 (17:38 +0100)]
Merge remote-tracking branch 'shared/master'

Include upstream minor fixes, get rid of wheezy workaround

11 months agoMerge branch 'master' into 'master'
LeLutin [Mon, 10 Dec 2018 20:16:05 +0000 (20:16 +0000)]
Merge branch 'master' into 'master'

small bugfixes

See merge request shared-puppet-modules-group/postfix!21

11 months agosmall bugfixes
groente [Mon, 10 Dec 2018 12:58:02 +0000 (12:58 +0000)]
small bugfixes

12 months agoMerge remote-tracking branch 'shared/master'
kwadronaut [Tue, 6 Nov 2018 17:43:45 +0000 (18:43 +0100)]
Merge remote-tracking branch 'shared/master'

16 months agoRemove obsolete ensure parameter for concat::fragment.
intrigeri [Tue, 9 Jan 2018 21:26:22 +0000 (21:26 +0000)]
Remove obsolete ensure parameter for concat::fragment.

Recent versions of the concat module error out when one passes an
ensure parameter.

22 months agoMerge branch '13-dovecot-stretch' into 'master'
LeLutin [Fri, 12 Jan 2018 22:53:05 +0000 (22:53 +0000)]
Merge branch '13-dovecot-stretch' into 'master'

Adujst master.cf template for Debian Stretch: support Dovecot 2.x.

Closes #13

See merge request shared-puppet-modules-group/postfix!17

22 months agoMerge branch 'config_ensure' into 'master'
intrigeri [Mon, 8 Jan 2018 14:21:43 +0000 (14:21 +0000)]
Merge branch 'config_ensure' into 'master'

implement ensure absent for postfix::config

See merge request shared-puppet-modules-group/postfix!16

22 months agomaster.cf: on Debian Stretch that ships dovecot 2.x, don't pass obsolete -n, but...
intrigeri [Mon, 8 Jan 2018 14:08:49 +0000 (14:08 +0000)]
cf: on Debian Stretch that ships dovecot 2.x, don't pass obsolete -n, but instead -a "${recipient}" (#13)

Same as commit 3ee64eb, applied to the debian-9 template.

2 years agoMerge remote-tracking branch 'shared/master' into leap_master
varac [Sun, 2 Apr 2017 22:45:03 +0000 (00:45 +0200)]
Merge remote-tracking branch 'shared/master' into leap_master

2 years agoimplement ensure absent for postfix::config
Gabriel Filion [Fri, 10 Mar 2017 23:19:04 +0000 (18:19 -0500)]
implement ensure absent for postfix::config

This does not have a special case for "non-standard" settings, since I
don't know whether it is needed or not.

2 years agoMerge branch 'bugfix/13-dovecot-lda-v2' into 'master'
Micah [Fri, 24 Feb 2017 20:17:13 +0000 (20:17 +0000)]
Merge branch 'bugfix/13-dovecot-lda-v2' into 'master'

master.cf: on Debian distros that ship dovecot 2.x, don't pass obsolete -n, but …

See merge request !14

2 years agoMerge branch 'bugfix/12-testing-sid' into 'master'
Micah [Fri, 24 Feb 2017 20:10:01 +0000 (20:10 +0000)]
Merge branch 'bugfix/12-testing-sid' into 'master'

Add symlink to sid template where this module is looking for it (#12).

See merge request !13

2 years agoMerge branch 'support_concat_2.2.0' into 'master'
Micah [Fri, 24 Feb 2017 20:05:46 +0000 (20:05 +0000)]
Merge branch 'support_concat_2.2.0' into 'master'

Subscribe to the Concat resource instead of the File one.

See merge request !15

2 years agoMerge remote-tracking branch 'shared/master' into support_concat_2.2.0
intrigeri [Sun, 12 Feb 2017 11:07:47 +0000 (11:07 +0000)]
Merge remote-tracking branch 'shared/master' into support_concat_2.2.0

2 years agoMerge branch 'bugfix/gitlab-3-resync-sid-template' into 'master'
Micah [Mon, 23 Jan 2017 21:11:31 +0000 (21:11 +0000)]
Merge branch 'bugfix/gitlab-3-resync-sid-template' into 'master'

Resync sid template

Closes #3

See merge request !7

2 years agoFork sid template for Stretch.
intrigeri [Sat, 21 Jan 2017 12:07:24 +0000 (12:07 +0000)]
Fork sid template for Stretch.

2 years agoMerge remote-tracking branch 'shared/master' into bugfix/gitlab-3-resync-sid-template
intrigeri [Sat, 21 Jan 2017 12:05:27 +0000 (12:05 +0000)]
Merge remote-tracking branch 'shared/master' into bugfix/gitlab-3-resync-sid-template

3 years agoSubscribe to the Concat resource instead of the File one.
intrigeri [Thu, 22 Sep 2016 09:25:12 +0000 (09:25 +0000)]
Subscribe to the Concat resource instead of the File one.

This is needed with recent versions of the concat module.

3 years agomaster.cf: on Debian distros that ship dovecot 2.x, don't pass obsolete -n, but inste...
intrigeri [Tue, 15 Mar 2016 10:51:46 +0000 (10:51 +0000)]
cf: on Debian distros that ship dovecot 2.x, don't pass obsolete -n, but instead -a "${recipient}" (#13).

3 years agoAdd symlink to sid template where this module is looking for it (#12).
intrigeri [Tue, 15 Mar 2016 10:28:56 +0000 (10:28 +0000)]
Add symlink to sid template where this module is looking for it (#12).

Fixes this regression brought by dropping lsb facts:

  Could not find template 'postfix/master.cf.debian-stretch/sid.erb'

3 years ago[bug] Remove leading tabs from master.cf
varac [Tue, 23 Feb 2016 08:50:04 +0000 (09:50 +0100)]
[bug] Remove leading tabs from master.cf

3 years agoadding basic postscreen functionality for debian #2303
kwadronaut [Wed, 27 Jan 2016 11:09:33 +0000 (12:09 +0100)]
adding basic postscreen functionality for debian #2303

3 years ago[bug] Don't use $operatingsystemmajrelease
varac [Tue, 1 Dec 2015 18:37:19 +0000 (19:37 +0100)]
[bug] Don't use $operatingsystemmajrelease

This fact is not available under the default debian wheezy
facter version.

3 years ago[bug] Remove dupl. decl. of postfix package
varac [Tue, 1 Dec 2015 15:37:24 +0000 (16:37 +0100)]
[bug] Remove dupl. decl. of postfix package

3 years agoMerge remote-tracking branch 'shared/master' into leap_master
varac [Tue, 1 Dec 2015 15:30:35 +0000 (16:30 +0100)]
Merge remote-tracking branch 'shared/master' into leap_master

3 years agojoin case statements in init.pp
varac [Tue, 1 Dec 2015 15:27:41 +0000 (16:27 +0100)]
join case statements in init.pp

3 years ago[refactor] Dont use case statement in resource def
varac [Tue, 1 Dec 2015 13:50:56 +0000 (14:50 +0100)]
[refactor] Dont use case statement in resource def

3 years agolinted init.pp
varac [Tue, 1 Dec 2015 13:44:38 +0000 (14:44 +0100)]
linted init.pp

3 years agoMerge remote-tracking branch 'shared/master' into leap_master
varac [Tue, 1 Dec 2015 10:13:14 +0000 (11:13 +0100)]
Merge remote-tracking branch 'shared/master' into leap_master

3 years ago[deprec] Use @ in front of erb tags in debian master.cf
varac [Sat, 28 Nov 2015 21:45:12 +0000 (22:45 +0100)]
[deprec] Use @ in front of erb tags in debian cf

Puppet 3 now throws a deprecation warning about this.

4 years agomake default value for alias_maps optional
elijah [Sat, 22 Aug 2015 00:09:58 +0000 (17:09 -0700)]
make default value for alias_maps optional

4 years agomake default value for alias_maps optional
elijah [Sat, 22 Aug 2015 00:09:58 +0000 (17:09 -0700)]
make default value for alias_maps optional

4 years agodocumented facter version issue for wheezy hosts in README.md
varac [Fri, 14 Aug 2015 10:09:55 +0000 (12:09 +0200)]
documented facter version issue for wheezy hosts in README.md

4 years agorenamed README -> README.md
varac [Fri, 14 Aug 2015 10:00:20 +0000 (12:00 +0200)]
renamed README -> README.md

4 years agoDebian sid's master.cf: merge custom dovecot/deliver options from the Jessie template.
intrigeri [Sat, 18 Jul 2015 09:20:09 +0000 (09:20 +0000)]
Debian sid's cf: merge custom dovecot/deliver options from the Jessie template.

These changes were introduced in other templates in commit 6a44990, let's
propagate them to the sid template.

4 years agoResync' the sid master.cf template with current Debian one.
intrigeri [Wed, 17 Sep 2014 21:00:03 +0000 (21:00 +0000)]
Resync' the sid cf template with current Debian one.

Updated on 2015-07-18, postfix 2.11.3-1.

4 years agouse lsbmajdistrelease fact instead of operatingsystemmajrelease because wheezy versio...
varac [Wed, 6 May 2015 21:06:07 +0000 (23:06 +0200)]
use lsbmajdistrelease fact instead of operatingsystemmajrelease because wheezy version of facter doesn't support the latter

4 years agoMerge branch 'master' into leap
Micah Anderson [Wed, 6 May 2015 18:12:01 +0000 (14:12 -0400)]
Merge branch 'master' into leap

Conflicts:
manifests/satellite.pp

4 years agoAdd GPLv3 license
Micah Anderson [Fri, 17 Apr 2015 15:21:31 +0000 (11:21 -0400)]
Add GPLv3 license

4 years agoMerge branch 'fix_satellite_class' into 'master'
Jerome Charaoui [Tue, 17 Mar 2015 15:26:27 +0000 (15:26 +0000)]
Merge branch 'fix_satellite_class' into 'master'

Fix satellite class

See merge request !5

4 years agoMerge branch 'smtp_auth'
Gabriel Filion [Wed, 11 Mar 2015 22:52:30 +0000 (18:52 -0400)]
Merge branch 'smtp_auth'

4 years agosmall typo in smtp_auth example
Gabriel Filion [Wed, 11 Mar 2015 22:51:41 +0000 (18:51 -0400)]
small typo in smtp_auth example

4 years agolint smtp_auth (spacing style)
Gabriel Filion [Sun, 8 Mar 2015 16:47:31 +0000 (12:47 -0400)]
lint smtp_auth (spacing style)

4 years agofix smtp_auth requirements in comment
Gabriel Filion [Sun, 8 Mar 2015 16:46:44 +0000 (12:46 -0400)]
fix smtp_auth requirements in comment

last commit moved requirement from the common module to puppetlab's
stdlib

4 years agofix postfix::satellite class
varac [Thu, 5 Mar 2015 08:23:05 +0000 (09:23 +0100)]
fix postfix::satellite class

i got this error using postfix::satellite:

  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.

4 years agouse stdlib file_line instead of deprecated line from common module
varac [Thu, 5 Mar 2015 08:09:00 +0000 (09:09 +0100)]
use stdlib file_line instead of deprecated line from common module

4 years agolinted smtp_auth.pp
varac [Wed, 4 Mar 2015 08:24:55 +0000 (09:24 +0100)]
linted smtp_auth.pp

4 years agoadded smtp_auth.pp
varac [Tue, 22 Jan 2013 21:26:01 +0000 (22:26 +0100)]
added smtp_auth.pp

4 years agoMerge branch 'fix-module_dir-usage' into 'master'
Jerome Charaoui [Mon, 2 Mar 2015 15:34:34 +0000 (15:34 +0000)]
Merge branch 'fix-module_dir-usage' into 'master'

Fix module_dir usage

Change "module_dir" definitions to "common::module_dir".

See merge request !2

4 years agoFix usage of the common::module_dir.
intrigeri [Sat, 28 Feb 2015 12:08:10 +0000 (12:08 +0000)]
Fix usage of the common::module_dir.

4 years agoMerge branch 'master' into 'master'
Micah [Fri, 20 Feb 2015 22:26:45 +0000 (22:26 +0000)]
Merge branch 'master' into 'master'

Merge with cmaisonnneuve and immerda

This version should be compatible with the cleaned up common module.

See merge request !1

4 years agolint templates/master.cf.debian-8.erb
Jerome Charaoui [Fri, 20 Feb 2015 22:20:34 +0000 (17:20 -0500)]
lint templates/master.cf.debian-8.erb

4 years agofix module dependency comment in transport and virtual
Jerome Charaoui [Fri, 20 Feb 2015 22:16:08 +0000 (17:16 -0500)]
fix module dependency comment in transport and virtual

4 years agorename jessie master.cf template to use version integer
Jerome Charaoui [Fri, 20 Feb 2015 22:09:28 +0000 (17:09 -0500)]
rename jessie cf template to use version integer

4 years agoMerge branch 'master' of https://git-ipuppet.immerda.ch/module-postfix
Jerome Charaoui [Fri, 20 Feb 2015 22:07:31 +0000 (17:07 -0500)]
Merge branch 'master' of https://git-ipuppet.immerda.ch/module-postfix

4 years agoconvert to file resources to stdlib's file_line
Jerome Charaoui [Fri, 20 Feb 2015 22:06:47 +0000 (17:06 -0500)]
convert to file resources to stdlib's file_line

4 years agoAdd Debian jessie template, is unchanged from earlier version
Jerome Charaoui [Thu, 27 Nov 2014 20:50:02 +0000 (15:50 -0500)]
Add Debian jessie template, is unchanged from earlier version

5 years agoproperly finish the lsb transition and remove very old templates
mh [Wed, 9 Jul 2014 21:17:24 +0000 (23:17 +0200)]
properly finish the lsb transition and remove very old templates

5 years agoget rid off lsb facts
mh [Wed, 9 Jul 2014 21:14:42 +0000 (23:14 +0200)]
get rid off lsb facts

6 years agocannot reassign variable valid_fqdn (Bug #4125)
varac [Mon, 21 Oct 2013 16:35:01 +0000 (18:35 +0200)]
cannot reassign variable valid_fqdn (Bug #4125)

Omitting the parameter "valid_fqdn" for postfix::satellite won't
work, even if the machine has a fqdn:

  Cannot reassign variable valid_fqdn at
  /srv/leap/puppet/modules/postfix/manifests/satellite.pp:32

this will fix it, it does:

* make the string in /etc/mailname configurable, defaults to $::fqdn
* postfix::satellite's parameter valid_fqdn is passed to class
postfix's parameter "myorigin" and "mailname"

see https://leap.se/code/issues/4125 for more information.

6 years agoallow postfix installation to be preseeded (https://leap.se/code/issues/3584)
varac [Thu, 29 Aug 2013 16:45:09 +0000 (18:45 +0200)]
allow postfix installation to be preseeded (https://leap.se/code/issues/3584)

6 years agomention the url to the issue about the services' init script
Gabriel Filion [Mon, 20 May 2013 20:21:06 +0000 (16:21 -0400)]
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.

6 years agodebian's service provider has some issues if the script is absent, we can workaround...
mh [Mon, 20 May 2013 16:54:13 +0000 (18:54 +0200)]
debian's service provider has some issues if the script is absent, we can workaround this problem using the trick of this patch

6 years agoREADME: add note about the need to set a global Exec path (#3807)
Micah Anderson [Tue, 23 Apr 2013 19:39:51 +0000 (15:39 -0400)]
README: add note about the need to set a global Exec path (#3807)

6 years agoREADME: add postfix::disable and fix section headers
Micah Anderson [Tue, 23 Apr 2013 19:27:13 +0000 (15:27 -0400)]
README: add postfix::disable and fix section headers

6 years agosetting package correctly to absent
mh [Thu, 16 Feb 2012 17:05:56 +0000 (18:05 +0100)]
setting package correctly to absent

6 years agoadd disable class
mh [Thu, 16 Feb 2012 16:00:59 +0000 (17:00 +0100)]
add disable class

6 years agoUpdate README to be more fully fleshed out
Micah Anderson [Tue, 23 Apr 2013 19:17:57 +0000 (15:17 -0400)]
Update README to be more fully fleshed out

6 years agoSyntax fix
Silvio Rhatto [Sat, 13 Apr 2013 16:11:50 +0000 (13:11 -0300)]
Syntax fix

6 years agoSwitching to site_postfix convention
Silvio Rhatto [Sun, 27 Jan 2013 17:40:56 +0000 (15:40 -0200)]
Switching to site_postfix convention

6 years agoFixing missing delimiter
Silvio Rhatto [Fri, 25 Jan 2013 16:05:35 +0000 (14:05 -0200)]
Fixing missing delimiter

6 years agoSwitching to parametrized classes
Silvio Rhatto [Fri, 25 Jan 2013 16:03:24 +0000 (14:03 -0200)]
Switching to parametrized classes

6 years agoRemoving path from postfix::config
Silvio Rhatto [Mon, 21 Jan 2013 21:19:05 +0000 (19:19 -0200)]
Removing path from postfix::config

6 years agoUpdating header_checks_snippet to use concat
Silvio Rhatto [Mon, 21 Jan 2013 21:08:06 +0000 (19:08 -0200)]
Updating header_checks_snippet to use concat

6 years agoMerge branch 'master' of ssh://labs.riseup.net/shared-postfix
Silvio Rhatto [Mon, 21 Jan 2013 20:25:46 +0000 (18:25 -0200)]
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

6 years agoMove external class inclusion after sanity checks.
intrigeri [Sun, 30 Dec 2012 14:45:45 +0000 (15:45 +0100)]
Move external class inclusion after sanity checks.

6 years agoRemove useless copy/pasted check.
intrigeri [Sun, 30 Dec 2012 14:45:05 +0000 (15:45 +0100)]
Remove useless copy/pasted check.

This define has no $value parameter,
so this check does not make any sense.

6 years agoFix wrong define and directory name in documentation.
intrigeri [Sun, 30 Dec 2012 14:44:10 +0000 (15:44 +0100)]
Fix wrong define and directory name in documentation.

6 years agoUse the concat module instead of the concatenated_file defined (Closes: #4074)
intrigeri [Sun, 30 Dec 2012 14:43:06 +0000 (15:43 +0100)]
Use the concat module instead of the concatenated_file defined (Closes: #4074)

6 years agoSetting postfix_use_submission (2)
Silvio Rhatto [Fri, 21 Dec 2012 20:11:25 +0000 (18:11 -0200)]
Setting postfix_use_submission (2)

6 years agoSetting postfix_use_submission
Silvio Rhatto [Fri, 21 Dec 2012 20:01:20 +0000 (18:01 -0200)]
Setting postfix_use_submission

6 years agoAdding postfix_use_smtps parameter
Silvio Rhatto [Fri, 21 Dec 2012 19:44:13 +0000 (17:44 -0200)]
Adding postfix_use_smtps parameter

7 years agoAdd path to postfix::config exec command to avoid failure (#3807)
Silvio Rhatto [Fri, 13 Apr 2012 01:42:28 +0000 (22:42 -0300)]
Add path to postfix::config exec command to avoid failure (#3807)

7 years agoChanging firma path
Silvio Rhatto [Sat, 7 Apr 2012 23:05:07 +0000 (20:05 -0300)]
Changing firma path

7 years agoInitial firma support
Silvio Rhatto [Sat, 7 Apr 2012 19:23:11 +0000 (16:23 -0300)]
Initial firma support

7 years agoAdding mlmmj support (2)
Silvio Rhatto [Sat, 7 Apr 2012 19:20:51 +0000 (16:20 -0300)]
Adding mlmmj support (2)

7 years agoAdding mlmmj support
Silvio Rhatto [Sat, 7 Apr 2012 19:07:07 +0000 (16:07 -0300)]
Adding mlmmj support

7 years agoAdding transport_regexp and virtual_regexp management
Silvio Rhatto [Sat, 7 Apr 2012 18:40:42 +0000 (15:40 -0300)]
Adding transport_regexp and virtual_regexp management

7 years agoput classes and defines in the proper place
mh [Thu, 16 Feb 2012 15:51:56 +0000 (16:51 +0100)]
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.

7 years agoMerge branch 'master' of git://labs.riseup.net/shared-postfix
Silvio Rhatto [Sat, 7 Apr 2012 00:09:51 +0000 (21:09 -0300)]
Merge branch 'master' of git://labs.riseup.net/shared-postfix

7 years agoUse proper variable scope
mh [Thu, 16 Feb 2012 15:58:09 +0000 (16:58 +0100)]
Use proper variable scope

Facts should be addressed with $::fqdn and so on.

7 years agoput classes and defines in the proper place
mh [Thu, 16 Feb 2012 15:51:56 +0000 (16:51 +0100)]
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.

7 years agoMaking dovecot honor recipient_deliver - http://wiki.dovecot.org/LDA/Postfix
Silvio Rhatto [Tue, 31 Jan 2012 14:06:23 +0000 (12:06 -0200)]
Making dovecot honor recipient_deliver - wiki.dovecot.org/LDA/Postfix

8 years agoAdd master.cf template for Debian sid.
intrigeri [Thu, 6 Oct 2011 17:00:15 +0000 (19:00 +0200)]
Add master.cf template for Debian sid.

Imported from postfix 2.8.3-1.

8 years agoDocument the two new variables in the README
Gabriel Filion [Tue, 13 Sep 2011 05:18:56 +0000 (01:18 -0400)]
Document the two new variables in the README

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
8 years agoMake 'myorigin' customizable
Gabriel Filion [Tue, 6 Sep 2011 11:06:41 +0000 (07:06 -0400)]
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>
8 years agoParametrize value of inet_interfaces
Gabriel Filion [Mon, 29 Aug 2011 04:47:40 +0000 (00:47 -0400)]
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>
8 years agoMerge branch 'feature/debian_wheezy' of git://gaffer.ptitcanardnoir.org/puppet-module...
Silvio Rhatto [Thu, 14 Jul 2011 14:35:16 +0000 (11:35 -0300)]
Merge branch 'feature/debian_wheezy' of git://gaffer.ptitcanardnoir.org/puppet-module-postfix

8 years agoMerge branch 'master' of git://gaffer.ptitcanardnoir.org/puppet-module-postfix
Silvio Rhatto [Thu, 14 Jul 2011 01:30:12 +0000 (22:30 -0300)]
Merge branch 'master' of git://gaffer.ptitcanardnoir.org/puppet-module-postfix