mailalias that always refreshes

12 views
Skip to first unread message

Gabriel Filion

unread,
Jul 31, 2014, 3:07:39 AM7/31/14
to puppet...@googlegroups.com
Hi there,

I'm using puppet 2.7 and on one node, I have a mailalias resource to
setup something for redmine like the following:

mailalias {
"redmine":
recipient =>
'|/usr/share/redmine/extra/mail_handler/sub-mailhandler.py -e
red...@redmine.example.com --
/usr/share/redmine/extra/mail_handler/rdm-mailhandler.rb --url
https://redmine.example.com --key somerandomalphanumstring
--no-check-certificate --unknown-user accept --no-permission-check
--allow-override project,tracker,category,priority,status';
}

puppet is always refreshing the alias for no reason. changing the value
to the same thing.

does anyone know of such a bug with mailalias (e.g. has it been fixed in
more recent versions?)

--
Gabriel Filion

Gabriel Filion

unread,
Jul 31, 2014, 3:31:01 AM7/31/14
to puppet...@googlegroups.com
On 31/07/14 03:07 AM, Gabriel Filion wrote:
> I'm using puppet 2.7 and on one node, I have a mailalias resource to
> setup something for redmine like the following:
>
> mailalias {
> "redmine":
> recipient =>
> '|/usr/share/redmine/extra/mail_handler/sub-mailhandler.py -e
> red...@redmine.example.com --
> /usr/share/redmine/extra/mail_handler/rdm-mailhandler.rb --url
> https://redmine.example.com --key somerandomalphanumstring
> --no-check-certificate --unknown-user accept --no-permission-check
> --allow-override project,tracker,category,priority,status';
> }
>
> puppet is always refreshing the alias for no reason. changing the value
> to the same thing.

I did some more testing and mailalias bugs in the above manner as soon
as there is a comma in the recipient parameter value (e.g. with
"...project" it's ok but with "...project," I start seeing the issue).

--
Gabriel Filion
Reply all
Reply to author
Forward
0 new messages