summaryrefslogtreecommitdiff
path: root/ext/envpuppet
AgeCommit message (Collapse)AuthorFilesLines
2013-01-30Make envpuppet run under shPatrick Carlisle1-4/+4
2012-09-19Merge remote-tracking branch 'upstream/3.x'Josh Cooper1-0/+4
* upstream/3.x: (maint) add hiera to ext/envpuppet path and libpath (maint) use described_class.new for getting the provider instance. (maint) convert user_role_add_spec to the new format of writing test cases. Implement `Fixnum#ord` for Ruby 1.8.5 tagging: use a static regexp rather than rebuilding it file_serving: avoid rewriting paths if possible. log_paths: memoize the entire value, not just part of it. zaml: speed micro-optimization for Time output whit: cache the `to_s` result. zaml: don't sort object attributes for output util: don't rebuild regexp every time we invoke absolute_file? parser/files: use a cheaper test for "is this path absolute?" Eliminate remaining uses of FileCollection. FileCollection is a memory loss, not a memory win. type: support implicit "identity" transformation monkey_patch: cache Symbol to_proc result. lexer: remove some unused stats collection tagging: document why fixing this horror is hard. type: memoize key_attributes for types. Avoid object creation/destruction when possible.
2012-09-19(maint) add hiera to ext/envpuppet path and libpathrahul1-0/+4
Adding hiera to ext/envpuppet path and libpath so that it wont complain.
2012-09-06Make envpuppet print warning to stderrPeter Eisentraut1-0/+2
Otherwise eval $(envpuppet) will fail strangely if the warning is printed.
2011-05-19(#6395) Add extpuppet help, eval, and interfacesJeff McCune1-3/+56
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>
2010-10-25(#5062) Add envpuppet helper script to ext/Jeff McCune1-0/+80
This script helps people quickly test different branches of various puppet related projects like facter, puppet-scaffold, puppet-dashboard, etc... It allows the user to simply clone puppet and start running different puppet version without installing puppet or any other setup costs.