Issue #1560 has been updated by plathrop. Status changed from Accepted to Ready for Checkin Affected version changed from 0.24.4 to 0.24.7
Patch submitted to dev list for review. Also available on GitHub: http://github.com/plathrop/puppet/tree/ticket/0.24.x/1560 ---------------------------------------- Bug #1560: Bug in mailalias http://projects.reductivelabs.com/issues/show/1560 Author: volcane Status: Ready for Checkin Priority: Normal Assigned to: plathrop Category: mailalias Target version: 0.25.0 Complexity: Easy Affected version: 0.24.7 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 -~----------~----~----~----~------~----~------~--~---
