Hi all, I''m noticing that puppet does not support any class name and it gives some error like: err: Could not parse for environment production: Syntax error at ''VO_tune'' at /etc/puppet/manifests/services ... I''ve changed VO_tune by site_tune and puppet stop complaining. now I have this: err: Could not parse for environment production: Syntax error at ''PICwnglite32'' at /etc/puppet/manifests/serv ... I don''t mind changing class name, but I''m trying to figure out what class name limitaton puppet has. Is there any problem if I have many classes like: yaimSER1 yaimSER2 yaimSER3 yaimCONF1 yaimCONF1 .... may I know why PICwnglite32 is not a valida name for puppet? I see no class name limitation ref at: http://docs.puppetlabs.com/guides/language_tutorial.html#classes Puppet 2.6.1. TIA, Arnau -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Thu, 7 Oct 2010 16:35:42 +0200 Arnau Bria wrote: Hi again,> I''m noticing that puppet does not support any class name and it gives > some error like:It happens when using capital letters at the beginning. [...] anyway, is there any problem when naming classes like:> yaimSER1 > yaimSER2 > yaimSER3 > yaimCONF1 > yaimCONF1Cheers, Arnau -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 10/07/2010 04:59 PM, Arnau Bria wrote:> On Thu, 7 Oct 2010 16:35:42 +0200 > Arnau Bria wrote: > > Hi again, > >> I''m noticing that puppet does not support any class name and it gives >> some error like: > It happens when using capital letters at the beginning.That''s right. Now that you mention it, capitalization is for references. See http://projects.puppetlabs.com/projects/1/wiki/Frequently_Asked_Questions#Syntax+error+at+%27:%27;+expected+%27]%27+at+manifest.pp:nnn (which is another issue, but illustrates this)> [...] > > anyway, is there any problem when naming classes like: > >> yaimSER1 >> yaimSER2 >> yaimSER3 >> yaimCONF1 >> yaimCONF1I guess it''s common to name classes like yaim_ser1 yaim_ser2 ... Personally, I like my class names to be as verbose as possible. No need to abbreviate them. yaim_server1 Cheers, Felix -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.