http://projects.puppetlabs.com/issues/5268
FYI: According to this bug-report, Ruby does not allow a dash in a class name, so neither does Puppet Try underscore instead: proxy_ring “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) ----- sateesh <bbalasate...@gmail.com> wrote: > Hi, > > I need to define the hostclass with special character for ex: > "swift::proxy-ring" > > I have tried following ways but not worked: > > 1) hostclass :swift::proxy-ring do > 2) hostclass 'swift::proxy-ring' do > 3) hostclass "swift::proxy-ring" do > > When I am using the 2 and 3 options it is giving following erroe: > > undefined method `[]' for Class:Class at line 1 on node puppet- > swproxy.persistent.co.in > > Thanks in advance, > Sateesh B. > > -- > 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. > -- 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.