Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-7202

mailalias always performs a "change" when value has a comma

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None
    • mailalias_core
    • None
    • Night's Watch
    • 2
    • NW - 2020-02-19

    Description

      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
      redmine@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.

      after doing some more testing, I found out that 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).

      Attachments

        Issue Links

          Activity

            People

              ciprian.badescu Ciprian Badescu
              lelutin LeLutin
              Eric Thompson Eric Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support