summaryrefslogtreecommitdiff
path: root/lib/puppet
diff options
context:
space:
mode:
authorJeff McCune <jeff@puppetlabs.com>2013-04-10 14:35:42 -0700
committerJeff McCune <jeff@puppetlabs.com>2013-04-10 14:35:42 -0700
commite81a45ee0085597dad5067cada94b05cf11c6c0c (patch)
treed16e812759ffb19855c8bb13cffdf15104c41f07 /lib/puppet
parent435226abfdf001bf2475be56d77027c638e93b70 (diff)
downloadpuppet-stdlib-e81a45ee0085597dad5067cada94b05cf11c6c0c.tar.gz
puppet-stdlib-e81a45ee0085597dad5067cada94b05cf11c6c0c.tar.bz2
(maint) Make stdlib usable as a Ruby GEM
Without this patch it is inconvenient to use the functions included in stdlib in a development setting. The Puppet modulepath must be explicitly set for the functions to be automatically loaded. This patch addresses the problem by adding a gem specification and dependency Gemfile. This makes it possible to directly use stdlib and all of the components it depends upon, like so: $ bundle install --path .bundle/gems/ $ bundle exec puppet apply -e 'notice count([1, 2, 3])' The first command will install all of the dependencies, including Puppet and Facter, into the local project directory. The second command will make stdlib avaialable as a Gem, which will be picked up by Puppet since (#7788) was merged into Puppet in the 3.0 release.
Diffstat (limited to 'lib/puppet')
0 files changed, 0 insertions, 0 deletions