Re: [Puppet Users] Single and Double Quotes

2011-06-05 Thread Larry Ludwig
Bruce is correct. If you don't need double quotes, don't use them. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/TVNhOGVjTE9wSEFK. To post to this group,

Re: [Puppet Users] Single and Double Quotes

2011-06-05 Thread Bruce Richardson
On Sun, Jun 05, 2011 at 09:36:59AM -0700, Douglas Garstang wrote: > Hmmm Ok then. I'll change my question to, why doesn't the style > guide say to stick with double quotes for all strings and keep it > consistent? Most languages honour the convention that variables are not expanded within

Re: [Puppet Users] Single and Double Quotes

2011-06-05 Thread R.I.Pienaar
- Original Message - > Hmmm Ok then. I'll change my question to, why doesn't the > style guide say to stick with double quotes for all strings and keep > it consistent? > i dont like it either but its probably to make you think about your strings and when you specifically want v

Re: [Puppet Users] Single and Double Quotes

2011-06-05 Thread Douglas Garstang
Hmmm Ok then. I'll change my question to, why doesn't the style guide say to stick with double quotes for all strings and keep it consistent? On Sun, Jun 5, 2011 at 9:30 AM, R.I.Pienaar wrote: > > > - Original Message - > > The style guide says to use single quotes, except when v

Re: [Puppet Users] Single and Double Quotes

2011-06-05 Thread R.I.Pienaar
- Original Message - > The style guide says to use single quotes, except when variables are > present in the string, and then double quotes should be used. > > > That bothers me. It means your using two different types of quotes, > when just one could be used. I mistakingly used single