Issue #1016 has been updated by James Turnbull. Assigned to deleted (Puppet Community) Affected version set to 0.24.8
---------------------------------------- Bug #1016: Mailalias type throws non-sane error when target contains an invalid record prior to managing it http://projects.reductivelabs.com/issues/1016 Author: AJ Christensen Status: Accepted Priority: Normal Assigned to: Category: mailalias Target version: unplanned Complexity: Unknown Patch: None Affected version: 0.24.8 Keywords: When trying to instantiate a mailalias on an alias file that has a bogus record <pre> cat /etc/aliases: root [email protected] </pre> <pre> err: Could not prefetch mailalias provider 'aliases': private method @split' called for :absent:Symbol err: //Node[vps-redzed]/vps-systems/postfix::satellite/Mailalias[puppet]: Failed to retrieve current state of resource: private method @split' called for :absent:Symbol </pre> have tracked this down to util/fileparsing.rb and/or type/mailalias.rb - I feel we should sanity check the 'target' for existing records, and fail cleanly (warning) with a sane error message if there are errors in the syntax - poking around with it now. -- 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 -~----------~----~----~----~------~----~------~--~---
