Issue #1560 has been reported by volcane.

----------------------------------------
Bug #1560: Bug in mailalias
http://reductivelabs.com/redmine/issues/show/1560

Author: volcane
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
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