Issue #1560 has been updated by jamtur01.

Category set to mailalias
Status changed from Unreviewed to Accepted
Assigned to set to community
Target version set to unplanned

No idea what's happening here from looking at the code. Anyone have any ideas?
----------------------------------------
Bug #1560: Bug in mailalias
http://reductivelabs.com/redmine/issues/show/1560

Author: volcane
Status: Accepted
Priority: Normal
Assigned to: community
Category: mailalias
Target version: unplanned
Complexity: Unknown
Affected version: 0.24.4
Keywords: 


I'm trying to use mailalias to manage a bunch of RT queue aliases, the typical 
/etc/aliases line would look like this:

test: "|/path/to/rt-mailgate --queue 'test' --action correspond --url 
http://my.com/";

If I use the mailalias type to do this using the code below:

mailalias{"test":
        target          => "/tmp/aliases",
        recipient       => "|/path/to/rt-mailgate --queue 'test' --action 
correspond --url http://my.com/";
}

mailalias{"anothertest":
        target          => "/tmp/aliases",
        recipient       => "|/path/to/rt-mailgate --queue 'another test' 
--action correspond --url http://my.com/";
}

The resulting /tmp/aliases file will be:

anothertest: "|/path/to/rt-mailgate --queue 'another test' --action correspond 
--url http //my.com/"
test: "|/path/to/rt-mailgate --queue 'test' --action correspond --url 
http://my.com/";

Notice that the url in the first one is lacking the ":", in my tests creating 
many aliases only one alias entry per file would be correct all the others 
would be wrong.



----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to