Issue #7316 has been updated by Nick Lewis.
What's happening is that command_line simply looks in $LOAD_PATH, rather than using the autoloader. I've experimented with connecting it to the autoloader, which works great except for some interesting load order issues. Primarily around defaults.rb getting executed, which tries to set Puppet[:name] (which is read-only after that) to Puppet.application_name, which obviously hasn't been set yet. It may work to make Puppet[:name] not read-only, and set it in command_line after loading the application (or in Application during the 'run' sequence), possibly with a meaningless default. Or without a default at all, since it's not actually configurable. ---------------------------------------- Bug #7316: puppet applications delivered via pluginsync don't work. https://projects.puppetlabs.com/issues/7316 Author: Dan Bode Status: Accepted Priority: Urgent Assignee: Nick Lewis Category: Faces Target version: 2.7.x Affected Puppet version: 2.7.0rc1 Keywords: Branch: If you deliver a new face that consists of: * application * face * action for face via pluginsync, then the application isn't actually found, and worse, it taunts you by showing it to you in the list of available subcommands. -- 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.
