Issue #4743 has been updated by James Turnbull.

Category set to metaparameters
Status changed from Unreviewed to Ready for Testing
Target version set to 2.6.2


----------------------------------------
Bug #4743: The audit metaparameter does not handle the value 'all' properly.
http://projects.puppetlabs.com/issues/4743

Author: Cody Herriges
Status: Ready for Testing
Priority: Normal
Assignee: 
Category: metaparameters
Target version: 2.6.2
Affected version: 2.6.1rc4
Keywords: 
Branch: 


The special 'all' value that can be assigned to the meta parameter audit is not 
getting passed to lib/puppet/type.rb the way it expects.  Puppet is handing the 
value off as a string and type.rb is expecting a symbol.  This doesn't match 
the conditionals used in the newmetaparam block for audit and so never actually 
iterates through the type/provider to collect all the possible parameters that 
can be audited.  Instead it just exits on fail with 'Cannot audit all: no a 
valid attribute.'

I fix this at http://github.com/ody/puppet/tree/issue/4743 by simply changing 
the symbols to strings in the newmetaparam block for audit.


-- 
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