Issue #9361 has been updated by Jacob Helwig.

Status changed from Unreviewed to Accepted
Target version set to 2.7.x

So, this comes from using URI.parse to handle most of the parsing of the source 
parameter for us.  We may be able to do away with the usage of URI in the 
source parameter, but I haven't checked to see if that will actually get us any 
further (though I suspect that it will be fine).  I did check to see if percent 
encoding would work, and it does get past the URI parsing, but fails to find 
the file in the fileserver (which is why I suspect that things will be fine 
once the parsing is sorted in the validation stage).
----------------------------------------
Bug #9361: puppet file resource could not contain square brackets
https://projects.puppetlabs.com/issues/9361

Author: hai wu
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 2.7.x
Affected Puppet version: 
Keywords: 
Branch: 


It seems this issue has been there quite long, someone already mentioned this 
here at: 
[http://pelin.lovedthanlost.net/puppet/%23puppet-2010-09-14.log.html](http://pelin.lovedthanlost.net/puppet/%23puppet-2010-09-14.log.html).

If there is any square bracket character (left or right), it would fail with 
message:

    err: Failed to apply catalog: Prameter source failed: Could not understand 
source puppet:/// ....: bad URI(is not URI?) ..

if using file resource like so:

    file { '/tmp/test':
      source => "puppet:///modules/test/test-[test]",
    ...
    }


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