No worries. Your comment helped me to notice the dollar sign in front of the linkcase. That actually solved the issue. Now it works and yes, I have added a default case as well :)
Thanks On Wednesday, December 5, 2012 6:16:55 PM UTC-6, Jakov Sosic wrote: > > On 12/06/2012 12:58 AM, iamauser wrote: > > First of all, I didn't copy paste my code, rather typed it here, so > > indentation should be ignored. > > You are right, dollar sign shouldn't be there, and I think it was a typo > > on my part that I failed to notice. I disagree with your comment about > > singlequote or doublequote for "var". That shouldn't be an issue here as > > it will consider this as string of characters. > > Sorry if my comments sounded harsh, I didn't mean to offend you. Just > urge you to incorporate those tools into your daily practice, which > would save you a lot of time and nerves ;) > -- 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/-/I07DoBUDI_gJ. 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.