Issue #20818 has been updated by Charlie Sharpsteen.

Status changed from Unreviewed to Duplicate
Assignee set to Charlie Sharpsteen

Currently the puppet option parser is accepting partial matches, but silently 
discarding them. The best way to specify flags is to consult `puppet help` or 
the [configuration 
documentation](http://docs.puppetlabs.com/references/stable/configuration.html) 
and use the exact names specified therein. Marking as a duplicate of #19306.

----------------------------------------
Bug #20818: The short version of --environment argument (--env) is not working 
in puppet 3
https://projects.puppetlabs.com/issues/20818#change-91283

* Author: Marc Villacorta
* Status: Duplicate
* Priority: Normal
* Assignee: Charlie Sharpsteen
* Category: agent
* Target version: 
* Affected Puppet version: 3.1.1
* Keywords: environment
* Branch: 
----------------------------------------
I am used to invoke my environment like this:

<code>
puppet agent -t --env marc_villacorta
</code>

But after upgrading to puppet 3 it silently defaults to 'production' 
environment.
However, it works fine if I use:

<code>
puppet agent -t --environment marc_villacorta
</code>


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to