Issue #7788 has been updated by Kelsey Hightower.
More than likely you will run into this bug:
Error: Could not autoload puppet/face/node_aws/bootstrap: "--tags=":
already defined in puppet
Error: Could not autoload puppet/face/node_aws/bootstrap: "--tags=":
already defined in puppet
Error: Try 'puppet help help help' for usage
This has something to do with the way we are trying to prevent plug-ins from
loading twice. I get the same issue without my patch. To get things working I
had to comment out a few lines, I'll file a bug in the morning:
diff --git a/lib/puppet/interface/option.rb b/lib/puppet/interface/option.rb
index 3d0a9c3..7c1455f 100644
--- a/lib/puppet/interface/option.rb
+++ b/lib/puppet/interface/option.rb
@@ -28,7 +28,7 @@ class Puppet::Interface::Option
# jeffweiss 17 april 2012
name = optparse_to_optionname(item)
if Puppet.settings.include? name then
- raise ArgumentError, "#{item.inspect}: already defined in puppet"
+ # raise ArgumentError, "#{item.inspect}: already defined in
puppet"
end
if dup = dups[name] then
raise ArgumentError, "#{item.inspect}: duplicates existing alias
#{dup.inspect} in #{@parent}"
diff --git a/lib/puppet/util/autoload.rb b/lib/puppet/util/autoload.rb
index a06b0fb..ecfaa3c 100644
--- a/lib/puppet/util/autoload.rb
+++ b/lib/puppet/util/autoload.rb
@@ -64,7 +64,7 @@ class Puppet::Util::Autoload
rescue Exception => detail
message = "Could not autoload #{name}: #{detail}"
Puppet.log_exception(detail, message)
- raise Puppet::Error, message
+ # raise Puppet::Error, message
end
end
----------------------------------------
Feature #7788: Puppet should allow rubygems to deliver new functionality
https://projects.puppetlabs.com/issues/7788#change-65569
Author: R.I. Pienaar
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Nigel Kersten
Category: plug-ins
Target version: 3.0.0
Affected Puppet version:
Keywords: rubygems autoloader
Branch: https://github.com/puppetlabs/puppet/pull/873
It would be desirable to use Rubygems to install things like parser functions.
There might be cases where you only want a function on the master, pluginsync
would copy it everywhere and everywhere might not have the dependencies needed
to run it.
If the autoloader considered the rubygem search path while autoloading this
should allow gems to extend puppet.
--
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.