Issue #6684 has been updated by Matt Robinson. Status changed from Accepted to Available In Testing Branch
commit:92c84971228fe81b803ec1b3c99cf35f0b5d5846 Also found that config/plugins needed to be automatically created if it didn't exist. ---------------------------------------- Bug #6684: puppet:plugin:install should sanitize plug-in names when creating migrations https://projects.puppetlabs.com/issues/6684 Author: Paul Berry Status: Available In Testing Branch Priority: Normal Assignee: Category: Target version: Keywords: Branch: Affected URL: Affected Dashboard version: In order to make sure migrations due to plug-ins don't have name conflicts with each other, the puppet:plugin:install rake task inserts the plug-in name into the filename of the migration. If the name of the plug-in contains a hyphen (e.g. "puppet-baseline"), the migration filename winds up containing a hyphen. However, for some reason Rails only allows migration names to contain lower case letters, numbers, and underscores. I think we should address this by modifying puppet:plugin:install so that when it constructs migration names, it makes sure to replace disallowed characters with allowed ones. (For example, it could translate everything to lower case and change characters like hyphens to underscores). -- 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.
