Issue #15186 has been updated by Chris Price.

Agreed re: UX.  I think we should solve this, now.  It's not entirely about 
"code elegance", though; I would have hacked something in last night if that 
were the only concern.  The larger issue is that the code that causes this 
problem is scattered through several different places and no single one of them 
currently has enough context to try to solve the whole problem, hack or no.  So 
there will probably be a less trivial refactor involved in order to pull this 
off.

That said, I agree that the end goal is extremely important, so I am not trying 
to punt this down the road.  I'll keep poking at it as I am able, if the 
platform team doesn't solve it before I do.
----------------------------------------
Bug #15186: Global arguments should be allowed before or after face name
https://projects.puppetlabs.com/issues/15186#change-65662

Author: Luke Kanies
Status: Accepted
Priority: High
Assignee: 
Category: 
Target version: 
Affected Puppet version: 3.0.0rc3
Keywords: 
Branch: 


This code works:

  puppet apply --config ~/.puppet/puppet.conf foo.pp

But this fails:

  puppet --config ~/.puppet/puppet.conf apply foo.pp

With this error:

  See 'puppet help' for help on available puppet subcommands

(Note the complete uselessness of that error.)

These should be fixed to work either side, or at least provide a useful error.


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