Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single

2014-05-05 Thread Sebastian Schmidt (JIRA)
Title: Message Title










 

 Sebastian Schmidt commented on an issue


















  Re: Double backslashes in single quote strings should be interpreted as single 










Good point, thanks!












   

 Add Comment

























 Puppet /  PUP-1814



  Double backslashes in single quote strings should be interpreted as single 







 Double backslashes in single quoted strings should be interpreted as single backslashes but aren't.   The following manifest:  {code}  notice('foo\\bar')  {code}  Gives:  {code}  notice: Scope(Class[main]): foo\\bar  {code}  This is not the behavior described at [http://docs.puppetlabs.com/guides/language_guide.html#quoting](http://docs.puppetlab...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-1814) Double backslashes in single quote strings should be interpreted as single

2014-05-03 Thread Sebastian Schmidt (JIRA)
Title: Message Title










 

 Sebastian Schmidt commented on an issue


















  Re: Double backslashes in single quote strings should be interpreted as single 










While I appreciate that the implementation follows the documentation, how would one deal with code like this where there are actually two backslashes needed? https://github.com/jfryman/puppet-nginx/blob/master/manifests/resource/location.pp#L246
My attempt to fix was https://github.com/jfryman/puppet-nginx/pull/301/files#diff-3bfa339c375e139166a7afc6cb8c5b62L246 but that's really more a hack.












   

 Add Comment

























 Puppet /  PUP-1814



  Double backslashes in single quote strings should be interpreted as single 







 Double backslashes in single quoted strings should be interpreted as single backslashes but aren't.   The following manifest:  {code}  notice('foo\\bar')  {code}  Gives:  {code}  notice: Scope(Class[main]): foo\\bar  {code}  This is not the behavior described at [http://docs.puppetlabs.com/guides/language_guide.html#quoting](http://docs.puppetlab...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups 

Jira (PUP-652) PR (2026): #19422: Deal with invalid arguments to nagios types - yath

2014-01-11 Thread Sebastian Schmidt (JIRA)
Title: Message Title










 

 Sebastian Schmidt commented on an issue


















  Re: PR (2026): #19422: Deal with invalid arguments to nagios types - yath 










Hi,
I don't understand what you mean by making the requested changes. I filed a pull request on github and have once signed the CLA. I can add more checks if you will, but what exactly are you referring to?
Thanks, Sebastian












   

 Add Comment

























 Puppet /  PUP-652



  PR (2026): #19422: Deal with invalid arguments to nagios types - yath 







 h2. #19422: Deal with invalid arguments to nagios types  * Author: Sebastian Schmidt y...@yath.de * Company:  * Github ID: [yath|https://github.com/yath] * [Pull Request 2026 Discussion|https://github.com/puppetlabs/puppet/pull/2026] * [Pull Request 2026 File Diff|https://github.com/puppetlabs/puppet/pull/2026/files]  h2. Pull Request Description -...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to