[Puppet - Bug #17305] puppet module build fails with Error: undefined method `downcase' for nil:NilClass
Issue #17305 has been updated by Josh Cooper. I'm not able to reproduce this with 3.0.0 or later. I think it is a dup of #13070, but Jeff can you confirm? Bug #17305: puppet module build fails with Error: undefined method `downcase' for nil:NilClass https://projects.puppetlabs.com/issues/17305#change-78362 Author: Jeff McCune Status: Needs More Information Priority: Normal Assignee: Jeff McCune Category: module tool Target version: 3.1.0 Affected Puppet version: 3.0.0 Keywords: module Branch: mccune # Overview This appears to be a regression of #13070 and [GH-677](https://github.com/puppetlabs/puppet/pull/677) and [GH-950](https://github.com/puppetlabs/puppet/pull/950). Trying to build the [mount_providers]() module, the following exception is raised: pre $ git describe 3.0.0-37-g38f975f $ puppet module build --trace Error: undefined method `downcase' for nil:NilClass /workspace/puppet-3.x/src/puppet/lib/puppet/type.rb:1353:in `block in providify' /workspace/puppet-3.x/src/puppet/lib/puppet/util/classgen.rb:117:in `class_eval' /workspace/puppet-3.x/src/puppet/lib/puppet/util/classgen.rb:117:in `genthing' /workspace/puppet-3.x/src/puppet/lib/puppet/util/classgen.rb:28:in `genclass' /workspace/puppet-3.x/src/puppet/lib/puppet/type.rb:226:in `newparam' /workspace/puppet-3.x/src/puppet/lib/puppet/type.rb:1347:in `providify' /workspace/puppet-3.x/src/puppet/lib/puppet/metatype/manager.rb:94:in `newtype' /workspace/puppet-3.x/modules/mount_providers/lib/puppet/type/mountpoint.rb:1:in `top (required)' /Users/jeff/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' /Users/jeff/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/contents_description.rb:34:in `block in data' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/contents_description.rb:33:in `each' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/contents_description.rb:33:in `data' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/contents_description.rb:15:in `annotate' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/applications/application.rb:44:in `metadata' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/applications/application.rb:59:in `load_modulefile!' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/applications/builder.rb:14:in `run' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/applications/application.rb:11:in `run' /workspace/puppet-3.x/src/puppet/lib/puppet/face/module/build.rb:55:in `block (3 levels) in top (required)' /workspace/puppet-3.x/src/puppet/lib/puppet/interface/action.rb+eval[wrapper]:210:in `build' /workspace/puppet-3.x/src/puppet/lib/puppet/application/face_base.rb:229:in `main' /workspace/puppet-3.x/src/puppet/lib/puppet/application.rb:354:in `run_command' /workspace/puppet-3.x/src/puppet/lib/puppet/application.rb:346:in `block (2 levels) in run' /workspace/puppet-3.x/src/puppet/lib/puppet/application.rb:438:in `plugin_hook' /workspace/puppet-3.x/src/puppet/lib/puppet/application.rb:346:in `block in run' /workspace/puppet-3.x/src/puppet/lib/puppet/util.rb:500:in `exit_on_fail' /workspace/puppet-3.x/src/puppet/lib/puppet/application.rb:346:in `run' /workspace/puppet-3.x/src/puppet/lib/puppet/util/command_line.rb:87:in `execute' /workspace/puppet-3.x/src/puppet/bin/puppet:4:in `main' /pre # Steps to reproduce pre $ rake voltron * puppet 3.0.x 3.0.1-27-gf9d70b5 f9d70b5 * facter fix/2.x/cleanup_ec2_facts 1.6.14-rc1-306-g1034b82 1034b82 * hiera1.x 1.0.0rc4-6-g3b89fbe 3b89fbe * rspec-puppet masterv0.1.5 695b9a4 * puppetlabs_spec_helper master0.3.0-3-gdf3b021 df3b021 * fog 0.7.2 v0.7.2 c7ec7c9 * rbvmomi masterN/A 5dc0ca3 * stdlib 3.x 3.1.1-7-g6f0c1e2 6f0c1e2 * hiera_puppet v0.3.0v0.3.0 06e70f3 * mount_providers master0.0.2 233e3f6 * pe_mcollective master0.0.45-2-g64c6523 64c6523 * pe_accounts master1.0.3 0725c16 * pe_compliancemaster0.0.5 dddc001 * cloud_provisionermaster1.0.5-6-gd69f962 d69f962 * cloud_provisioner_vmware masterv1.0.0-5-g6eaab64 6eaab64 * hiera_puppet v0.3.0v0.3.0 06e70f3 * json gem 1.5.4 N
[Puppet - Bug #17305] puppet module build fails with Error: undefined method `downcase' for nil:NilClass
Issue #17305 has been updated by Jeff McCune. Subject changed from mccune to puppet module build fails with Error: undefined method `downcase' for nil:NilClass Bug #17305: puppet module build fails with Error: undefined method `downcase' for nil:NilClass https://projects.puppetlabs.com/issues/17305#change-75393 Author: Jeff McCune Status: Unreviewed Priority: Normal Assignee: Category: module tool Target version: 3.0.x Affected Puppet version: 3.0.0 Keywords: module Branch: mccune # Overview This appears to be a regression of #13070 and [GH-677](https://github.com/puppetlabs/puppet/pull/677) and [GH-950](https://github.com/puppetlabs/puppet/pull/950). Trying to build the [mount_providers]() module, the following exception is raised: pre $ git describe 3.0.0-37-g38f975f $ puppet module build --trace Error: undefined method `downcase' for nil:NilClass /workspace/puppet-3.x/src/puppet/lib/puppet/type.rb:1353:in `block in providify' /workspace/puppet-3.x/src/puppet/lib/puppet/util/classgen.rb:117:in `class_eval' /workspace/puppet-3.x/src/puppet/lib/puppet/util/classgen.rb:117:in `genthing' /workspace/puppet-3.x/src/puppet/lib/puppet/util/classgen.rb:28:in `genclass' /workspace/puppet-3.x/src/puppet/lib/puppet/type.rb:226:in `newparam' /workspace/puppet-3.x/src/puppet/lib/puppet/type.rb:1347:in `providify' /workspace/puppet-3.x/src/puppet/lib/puppet/metatype/manager.rb:94:in `newtype' /workspace/puppet-3.x/modules/mount_providers/lib/puppet/type/mountpoint.rb:1:in `top (required)' /Users/jeff/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' /Users/jeff/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/contents_description.rb:34:in `block in data' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/contents_description.rb:33:in `each' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/contents_description.rb:33:in `data' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/contents_description.rb:15:in `annotate' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/applications/application.rb:44:in `metadata' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/applications/application.rb:59:in `load_modulefile!' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/applications/builder.rb:14:in `run' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/applications/application.rb:11:in `run' /workspace/puppet-3.x/src/puppet/lib/puppet/face/module/build.rb:55:in `block (3 levels) in top (required)' /workspace/puppet-3.x/src/puppet/lib/puppet/interface/action.rb+eval[wrapper]:210:in `build' /workspace/puppet-3.x/src/puppet/lib/puppet/application/face_base.rb:229:in `main' /workspace/puppet-3.x/src/puppet/lib/puppet/application.rb:354:in `run_command' /workspace/puppet-3.x/src/puppet/lib/puppet/application.rb:346:in `block (2 levels) in run' /workspace/puppet-3.x/src/puppet/lib/puppet/application.rb:438:in `plugin_hook' /workspace/puppet-3.x/src/puppet/lib/puppet/application.rb:346:in `block in run' /workspace/puppet-3.x/src/puppet/lib/puppet/util.rb:500:in `exit_on_fail' /workspace/puppet-3.x/src/puppet/lib/puppet/application.rb:346:in `run' /workspace/puppet-3.x/src/puppet/lib/puppet/util/command_line.rb:87:in `execute' /workspace/puppet-3.x/src/puppet/bin/puppet:4:in `main' /pre? # Steps to reproduce pre $ rake voltron * puppet 3.0.x 3.0.1-27-gf9d70b5 f9d70b5 * facter fix/2.x/cleanup_ec2_facts 1.6.14-rc1-306-g1034b82 1034b82 * hiera1.x 1.0.0rc4-6-g3b89fbe 3b89fbe * rspec-puppet masterv0.1.5 695b9a4 * puppetlabs_spec_helper master0.3.0-3-gdf3b021 df3b021 * fog 0.7.2 v0.7.2 c7ec7c9 * rbvmomi masterN/A 5dc0ca3 * stdlib 3.x 3.1.1-7-g6f0c1e2 6f0c1e2 * hiera_puppet v0.3.0v0.3.0 06e70f3 * mount_providers master0.0.2 233e3f6 * pe_mcollective master0.0.45-2-g64c6523 64c6523 * pe_accounts master1.0.3 0725c16 * pe_compliancemaster0.0.5 dddc001 * cloud_provisionermaster1.0.5-6-gd69f962 d69f962 * cloud_provisioner_vmware masterv1.0.0-5-g6eaab64 6eaab64 * hiera_puppet v0.3.0v0.3.0 06e70f3 * json gem 1.5.4 N/A * mochagem
[Puppet - Bug #17305] puppet module build fails with Error: undefined method `downcase' for nil:NilClass
Issue #17305 has been updated by Jeff McCune. Description updated Bug #17305: puppet module build fails with Error: undefined method `downcase' for nil:NilClass https://projects.puppetlabs.com/issues/17305#change-75394 Author: Jeff McCune Status: Unreviewed Priority: Normal Assignee: Category: module tool Target version: 3.0.x Affected Puppet version: 3.0.0 Keywords: module Branch: mccune # Overview This appears to be a regression of #13070 and [GH-677](https://github.com/puppetlabs/puppet/pull/677) and [GH-950](https://github.com/puppetlabs/puppet/pull/950). Trying to build the [mount_providers]() module, the following exception is raised: pre $ git describe 3.0.0-37-g38f975f $ puppet module build --trace Error: undefined method `downcase' for nil:NilClass /workspace/puppet-3.x/src/puppet/lib/puppet/type.rb:1353:in `block in providify' /workspace/puppet-3.x/src/puppet/lib/puppet/util/classgen.rb:117:in `class_eval' /workspace/puppet-3.x/src/puppet/lib/puppet/util/classgen.rb:117:in `genthing' /workspace/puppet-3.x/src/puppet/lib/puppet/util/classgen.rb:28:in `genclass' /workspace/puppet-3.x/src/puppet/lib/puppet/type.rb:226:in `newparam' /workspace/puppet-3.x/src/puppet/lib/puppet/type.rb:1347:in `providify' /workspace/puppet-3.x/src/puppet/lib/puppet/metatype/manager.rb:94:in `newtype' /workspace/puppet-3.x/modules/mount_providers/lib/puppet/type/mountpoint.rb:1:in `top (required)' /Users/jeff/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' /Users/jeff/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/contents_description.rb:34:in `block in data' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/contents_description.rb:33:in `each' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/contents_description.rb:33:in `data' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/contents_description.rb:15:in `annotate' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/applications/application.rb:44:in `metadata' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/applications/application.rb:59:in `load_modulefile!' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/applications/builder.rb:14:in `run' /workspace/puppet-3.x/src/puppet/lib/puppet/module_tool/applications/application.rb:11:in `run' /workspace/puppet-3.x/src/puppet/lib/puppet/face/module/build.rb:55:in `block (3 levels) in top (required)' /workspace/puppet-3.x/src/puppet/lib/puppet/interface/action.rb+eval[wrapper]:210:in `build' /workspace/puppet-3.x/src/puppet/lib/puppet/application/face_base.rb:229:in `main' /workspace/puppet-3.x/src/puppet/lib/puppet/application.rb:354:in `run_command' /workspace/puppet-3.x/src/puppet/lib/puppet/application.rb:346:in `block (2 levels) in run' /workspace/puppet-3.x/src/puppet/lib/puppet/application.rb:438:in `plugin_hook' /workspace/puppet-3.x/src/puppet/lib/puppet/application.rb:346:in `block in run' /workspace/puppet-3.x/src/puppet/lib/puppet/util.rb:500:in `exit_on_fail' /workspace/puppet-3.x/src/puppet/lib/puppet/application.rb:346:in `run' /workspace/puppet-3.x/src/puppet/lib/puppet/util/command_line.rb:87:in `execute' /workspace/puppet-3.x/src/puppet/bin/puppet:4:in `main' /pre # Steps to reproduce pre $ rake voltron * puppet 3.0.x 3.0.1-27-gf9d70b5 f9d70b5 * facter fix/2.x/cleanup_ec2_facts 1.6.14-rc1-306-g1034b82 1034b82 * hiera1.x 1.0.0rc4-6-g3b89fbe 3b89fbe * rspec-puppet masterv0.1.5 695b9a4 * puppetlabs_spec_helper master0.3.0-3-gdf3b021 df3b021 * fog 0.7.2 v0.7.2 c7ec7c9 * rbvmomi masterN/A 5dc0ca3 * stdlib 3.x 3.1.1-7-g6f0c1e2 6f0c1e2 * hiera_puppet v0.3.0v0.3.0 06e70f3 * mount_providers master0.0.2 233e3f6 * pe_mcollective master0.0.45-2-g64c6523 64c6523 * pe_accounts master1.0.3 0725c16 * pe_compliancemaster0.0.5 dddc001 * cloud_provisionermaster1.0.5-6-gd69f962 d69f962 * cloud_provisioner_vmware masterv1.0.0-5-g6eaab64 6eaab64 * hiera_puppet v0.3.0v0.3.0 06e70f3 * json gem 1.5.4 N/A * mochagem 0.10.5 N/A * rack