Issue #1417 has been reported by ctrlaltdel. ---------------------------------------- Bug #1417: ssh_autorized_key cannot parse lines which a command containing spaces http://reductivelabs.com/redmine/issues/show/1417
Author: ctrlaltdel Status: Accepted Priority: Normal Assigned to: ctrlaltdel Category: Target version: 0.24.5 Keywords: Complexity: Unknown Patch: None Affected version: 0.24.4 Parsing of the following line <pre> command="rsync --server -vlogDtprCz . /",no-pty,no-port-forwarding,no-X11-forwarding ssh-dss AAAAB Backup </pre> results in <pre> Puppet::Error in 'Puppet::Type::Ssh_authorized_key::ProviderParsed should be able to parse each example' Could not parse line "command=\"rsync --server -vlogDtprCz . /\",no-pty,no-port-forwarding,no-X11-forwarding ssh-dss AAAAB Backup" at /home/francois/dev/puppet/puppet/test/data/providers/ssh_authorized_key/parsed/long-command:2 /home/francois/dev/puppet/puppet/spec/../lib/puppet/util/fileparsing.rb:240:in `parse' /home/francois/dev/puppet/puppet/spec/../lib/puppet/util/fileparsing.rb:233:in `collect' /home/francois/dev/puppet/puppet/spec/../lib/puppet/util/fileparsing.rb:233:in `parse' /home/francois/dev/puppet/puppet/spec/../lib/puppet/provider/parsedfile.rb:236:in `retrieve' /home/francois/dev/puppet/puppet/spec/../lib/puppet/provider/parsedfile.rb:201:in `prefetch_target' /home/francois/dev/puppet/puppet/spec/../lib/puppet/provider/parsedfile.rb:176:in `prefetch' /home/francois/dev/puppet/puppet/spec/../lib/puppet/provider/parsedfile.rb:175:in `each' /home/francois/dev/puppet/puppet/spec/../lib/puppet/provider/parsedfile.rb:175:in `prefetch' /home/francois/dev/puppet/puppet/test/lib/puppettest/fileparsing.rb:7:in `fakedataparse' /home/francois/dev/puppet/puppet/test/lib/puppettest/fileparsing.rb:4:in `each' /home/francois/dev/puppet/puppet/test/lib/puppettest/fileparsing.rb:4:in `fakedataparse' ./parsed.rb:47: ./parsed.rb:45:in `each' ./parsed.rb:45: /home/francois/dev/puppet/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:19:in `run' /home/francois/dev/puppet/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' /home/francois/dev/puppet/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' ./parsed.rb:11: </pre> ---------------------------------------- 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://reductivelabs.com/redmine/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 -~----------~----~----~----~------~----~------~--~---
