summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/autoload.rb
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2011-04-07 14:06:18 -0700
committerJesse Wolfe <jes5199@gmail.com>2011-04-07 14:06:18 -0700
commit6be1eb89750593c63668827fcc6230747a03a3c0 (patch)
tree77eb2109e76272fdbd1ac54e38fbdb62a695ac0f /lib/puppet/util/autoload.rb
parente17cc651a9625576aa79af428bbaec702e216ac8 (diff)
downloadpuppet-6be1eb89750593c63668827fcc6230747a03a3c0.tar.gz
puppet-6be1eb89750593c63668827fcc6230747a03a3c0.tar.xz
puppet-6be1eb89750593c63668827fcc6230747a03a3c0.zip
Maint: fix a load order problem with type(:component)
Puppet's autoloader has an incompatibility with ruby's native 'require' statement that makes it possible to reach the same code multiple times, which can cause genclass to create multiple classes with the same name. This patch fixes the uses of some puppet types so that they are loaded using the autoloader instead of using 'require'. Paired-With: Jacob Helwig <jacob@puppetlabs.com>
Diffstat (limited to 'lib/puppet/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions