comments in line..
On Monday, October 8, 2012 9:38:05 AM UTC-5, jcbollinger wrote:
>
>
>
> On Thursday, October 4, 2012 8:42:39 AM UTC-5, Carlos Tapia wrote:
>>
>> Hi Guys!
>>
>> I want to clean warning messages: "*warning: Deprecation notice: 
>>  Resource references should now be capitalized*... "
>> It is related to following line:
>>
>> *  -> appcmd::32Bit['32BitappPool']*
>>
>> If I try to change any piece of the code using caps. for the fisrt 
>> letter, a syntax error is displayed.
>>
>> *   err: Could not parse for environment production: Syntax error at 
>> ':'; expected '}' *
>>
>> Any suggestion?
>>
>
>
"32Bit" isn't a legal name.. the regex is [a-z][a-z0-9_]* for classes and 
defines. Variables are a little more relaxed, but it is recommended that 
you stick to that same pattern for forwards compatibility.


 

> What is the actual name of the definition?  It probably should be 
> appcmd::32bit (not appcmd::32Bit; type names should not contain capital 
> letters).  If you are using an all-lowercase name, I would expect 
> references to it to require the form:
>
> Appcmd::32bit[<resource name>]
>
> If Puppet raises a syntax error on that then I'll need to see a more 
> complete piece of code to guess at why.
>
>
> John
>
>

-- 
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/-/ebTlLGbC48wJ.
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