summaryrefslogtreecommitdiffstats
path: root/lib/puppet/interface/documentation.rb
diff options
context:
space:
mode:
authorJeff McCune <jeff@puppetlabs.com>2011-02-21 15:34:31 -0500
committerJeff McCune <jeff@puppetlabs.com>2011-05-19 16:49:49 -0700
commitf037662edfd35a9b0f17cab45ba30753c3959a0c (patch)
treeb92934ab74973dd352a48996263f0305cc30464b /lib/puppet/interface/documentation.rb
parent0c9439d1ff0534edd69ff8581ad2085ca6a41b11 (diff)
downloadpuppet-f037662edfd35a9b0f17cab45ba30753c3959a0c.tar.gz
puppet-f037662edfd35a9b0f17cab45ba30753c3959a0c.tar.xz
puppet-f037662edfd35a9b0f17cab45ba30753c3959a0c.zip
(#6395) Add extpuppet help, eval, and interfaces
This patch add three features to the envpuppet helper script. First, if --help is passed as the first argument, a helpful message is printed. Second, if ENVPUPPET_BLEEDING=true when envpuppet is executed, additional repositories are enabled. The only addition at this time is puppet-interfaces, which heavily modifies the behavior of Puppet itself and may or may not be desired. Third, if no arguments are passed to the script, bourne compatible shell statements are printed to STDOUT which may be directly evaluated in the current shell. This is to help people who prefer to directly set RUBYLIB and PATH in their development workflows, which I've noticed to be the case for many people. For example: eval $(envpuppet) Signed-off-by: Jeff McCune <jeff@puppetlabs.com> Reviewed-by: Jacob Helwig <jacob@puppetlabs.com>
Diffstat (limited to 'lib/puppet/interface/documentation.rb')
0 files changed, 0 insertions, 0 deletions