Issue #7266 has been updated by Daniel Pittman.

Category set to Faces
Status changed from Unreviewed to Accepted
Target version set to 2.7.1
Affected Puppet version set to 2.7.0rc1

I think this works, albeit in an ugly way, so we can schedule it for 2.7.1.
----------------------------------------
Bug #7266: Certificate application stub should leave option validation to the 
option declaration
https://projects.puppetlabs.com/issues/7266

Author: Nick Fagerlund
Status: Accepted
Priority: Normal
Assignee: 
Category: Faces
Target version: 2.7.1
Affected Puppet version: 2.7.0rc1
Keywords: 
Branch: 


lib/puppet/application/certificate.rb sez:

    unless options[:ca_location]
      raise ArgumentError, "You must have a CA location specified;\n" +
        "use --ca-location to specify the location (remote, local, only)"
    end

Instead, the option declaration in lib/puppet/face/certificate.rb should set 
required and do the validation. 


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