Issue #16651 has been updated by Josh Cooper.

And the trace:

<pre>
Error: Could not autoload puppet/face/node_aws/bootstrap: "--tags=": already 
defined in puppet
/Users/josh/work/puppet/lib/puppet/interface/option.rb:31:in `initialize'
/Users/josh/work/puppet/lib/puppet/interface/option.rb:13:in `each'
/Users/josh/work/puppet/lib/puppet/interface/option.rb:13:in `initialize'
/Users/josh/work/puppet/lib/puppet/interface/option_builder.rb:13:in `new'
/Users/josh/work/puppet/lib/puppet/interface/option_builder.rb:13:in 
`initialize'
/Users/josh/work/puppet/lib/puppet/interface/option_builder.rb:7:in `new'
/Users/josh/work/puppet/lib/puppet/interface/option_builder.rb:7:in `build'
/Users/josh/work/puppet/lib/puppet/interface/action_builder.rb:30:in `option'
/private/tmp/modules/user/cloud_provisioner/lib/puppet/cloudpack.rb:109:in 
`add_tags_option'
/private/tmp/modules/user/cloud_provisioner/lib/puppet/cloudpack.rb:100:in 
`add_create_options'
/private/tmp/modules/user/cloud_provisioner/lib/puppet/cloudpack.rb:256:in 
`add_bootstrap_options'
/private/tmp/modules/user/cloud_provisioner/lib/puppet/face/node_aws/bootstrap.rb:12
/Users/josh/work/puppet/lib/puppet/interface/action_builder.rb:76:in 
`instance_eval'
/Users/josh/work/puppet/lib/puppet/interface/action_builder.rb:76:in 
`initialize'
/Users/josh/work/puppet/lib/puppet/interface/action_builder.rb:9:in `new'
/Users/josh/work/puppet/lib/puppet/interface/action_builder.rb:9:in `build'
/Users/josh/work/puppet/lib/puppet/interface/action_manager.rb:11:in `action'
/private/tmp/modules/user/cloud_provisioner/lib/puppet/face/node_aws/bootstrap.rb:5
/Users/josh/work/puppet/lib/puppet/interface.rb:48:in `instance_eval'
/Users/josh/work/puppet/lib/puppet/interface.rb:48:in `define'
/private/tmp/modules/user/cloud_provisioner/lib/puppet/face/node_aws/bootstrap.rb:4
/Users/josh/work/puppet/lib/puppet/util/autoload.rb:68:in `load'
/Users/josh/work/puppet/lib/puppet/util/autoload.rb:68:in `load_file'
/Users/josh/work/puppet/lib/puppet/util/autoload.rb:83:in `loadall'
/Users/josh/work/puppet/lib/puppet/util/autoload.rb:81:in `each'
/Users/josh/work/puppet/lib/puppet/util/autoload.rb:81:in `loadall'
/Users/josh/work/puppet/lib/puppet/util/autoload.rb:214:in `loadall'
/Users/josh/work/puppet/lib/puppet/interface.rb:109:in `load_actions'
/Users/josh/work/puppet/lib/puppet/interface.rb:45:in `define'
/private/tmp/modules/user/cloud_provisioner/lib/puppet/face/node_aws.rb:3
...
</pre>
----------------------------------------
Bug #16651: Installing the cloud provisioner module breaks the node subcommand
https://projects.puppetlabs.com/issues/16651#change-78368

Author: Jeff McCune
Status: Accepted
Priority: Normal
Assignee: 
Category: Faces
Target version: 3.0.x
Affected Puppet version: 3.0.0
Keywords: faces node face subcommand cloud_provisioner
Branch: 


# Overview

In Puppet 3.0.0, installing the official `puppetlabs-cloud_provisioner` module 
from the forge breaks the `puppet node` subcommand.

# Expected behavior

Installing the cloud_provisioner module should not breaking any existing 
functionality of Puppet core.

# Actual Behavior

<pre>
root@pe-centos6:~# puppet help node
Error: Could not autoload puppet/face/node/classify: no such file to load -- 
puppet/cloudpack
Error: Could not load help for the face node.
Please check the error logs for more information.

Detail: "Could not autoload puppet/face/node/classify: no such file to load -- 
puppet/cloudpack"

Error: Try 'puppet help help help' for usage
</pre>

# Steps to reproduce

 1. Install Puppet 3.0.0 from official release RPM's on CentOS 6.3: `yum 
install --enablerepo=puppetlabs-devel puppet puppet-server`
 1. Install the cloud provisoner module: `puppet module install 
puppetlabs-cloud_provisioner`

At this point, the node subcommand shows up as having errors in `puppet help`.  
 `puppet help node` is totally broken as well.


-- 
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to