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 <r...@devco.net> wrote:

>
>
> ----- 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 quotes around
> > a string with a ${variable} in it, and it seemed to work fine. Any
> > reason we can't just stick to single quotes?
>
> you're confused.
>
> notice('${fqdn}')
>
> notice: Scope(Class[main]): ${fqdn}
>
> variables are not expanded in single quotes.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>


-- 
Regards,

Douglas Garstang
http://www.linkedin.com/in/garstang
Email: doug.garst...@gmail.com
Cell: +1-805-340-5627

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to