Issue #1016 has been updated by James Turnbull.

Target version deleted (unplanned)


----------------------------------------
Bug #1016: Mailalias type throws non-sane error when target contains an invalid 
record prior to managing it
https://projects.puppetlabs.com/issues/1016

Author: AJ Christensen
Status: Accepted
Priority: Normal
Assignee: 
Category: mailalias
Target version: 
Affected Puppet version: 0.24.8
Keywords: 
Branch: 


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://projects.puppetlabs.com/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