Issue #13513 has been reported by Matt Robinson.

----------------------------------------
Bug #13513: If you have a module with metadata, but the metadata doesn't 
include dependency info, puppet module doesn't work
https://projects.puppetlabs.com/issues/13513

Author: Matt Robinson
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


If your metadata.json file for a module exists but doesn't have an entry for 
dependencies, puppet module commands blow up.

    % puppet module uninstall tdfischer-rsyslog
    Preparing to uninstall 'tdfischer-rsyslog' ...
    Error: No dependencies module metadata provided for rsyslog
    /Users/matthewrobinson/work/puppet/lib/puppet/module.rb:119:in 
`load_metadata'
    /Users/matthewrobinson/work/puppet/lib/puppet/module.rb:116:in `each'
    /Users/matthewrobinson/work/puppet/lib/puppet/module.rb:116:in 
`load_metadata'
    /Users/matthewrobinson/work/puppet/lib/puppet/module.rb:61:in `initialize'
    /Users/matthewrobinson/work/puppet/lib/puppet/node/environment.rb:134:in 
`new'
    /Users/matthewrobinson/work/puppet/lib/puppet/node/environment.rb:134:in 
`modules_by_path'
    /Users/matthewrobinson/work/puppet/lib/puppet/node/environment.rb:133:in 
`map'
    /Users/matthewrobinson/work/puppet/lib/puppet/node/environment.rb:133:in 
`modules_by_path'
    /Users/matthewrobinson/work/puppet/lib/puppet/node/environment.rb:129:in 
`chdir'
    /Users/matthewrobinson/work/puppet/lib/puppet/node/environment.rb:129:in 
`modules_by_path'
    /Users/matthewrobinson/work/puppet/lib/puppet/node/environment.rb:128:in 
`each'
    /Users/matthewrobinson/work/puppet/lib/puppet/node/environment.rb:128:in 
`modules_by_path'
    
/Users/matthewrobinson/work/puppet/lib/puppet/module_tool/applications/uninstaller.rb:49:in
 `find_installed_module'
    
/Users/matthewrobinson/work/puppet/lib/puppet/module_tool/applications/uninstaller.rb:23:in
 `run'
    
/Users/matthewrobinson/work/puppet/lib/puppet/module_tool/applications/application.rb:11:in
 `run'
    
/Users/matthewrobinson/work/puppet/lib/puppet/face/module/uninstall.rb:71:in 
`uninstall implementation, required on Ruby 1.8'
    
/Users/matthewrobinson/work/puppet/lib/puppet/interface/action.rb+eval[wrapper]:207:in
 `__send__'
    
/Users/matthewrobinson/work/puppet/lib/puppet/interface/action.rb+eval[wrapper]:207:in
 `uninstall'
    
/Users/matthewrobinson/work/puppet/lib/puppet/application/face_base.rb:242:in 
`send'
    
/Users/matthewrobinson/work/puppet/lib/puppet/application/face_base.rb:242:in 
`main'
    /Users/matthewrobinson/work/puppet/lib/puppet/application.rb:317:in 
`run_command'
    /Users/matthewrobinson/work/puppet/lib/puppet/application.rb:309:in `run'
    /Users/matthewrobinson/work/puppet/lib/puppet/application.rb:416:in `hook'
    /Users/matthewrobinson/work/puppet/lib/puppet/application.rb:309:in `run'
    /Users/matthewrobinson/work/puppet/lib/puppet/application.rb:407:in 
`exit_on_fail'
    /Users/matthewrobinson/work/puppet/lib/puppet/application.rb:309:in `run'
    /Users/matthewrobinson/work/puppet/lib/puppet/util/command_line.rb:69:in 
`execute'
    /Users/matthewrobinson/work/puppet/bin/puppet:4


-- 
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.

Reply via email to