Re: [Puppet Users] having an issue with keyword end

2014-07-01 Thread Realmailer
Could it be due to an extra end? On 02-Jul-2014, at 1:07, Supriya Uppalapati wrote: > Hi, > > I changed the code now, but still giving me the error. > > Help me > > Warning: Could not load fact file > /var/opt/lib/pe-puppet/lib/facter/application_type.rb: > application_type.rb:50: synt

Re: [Puppet Users] having an issue with keyword end

2014-07-01 Thread Realmailer
On 02-Jul-2014, at 1:07, Supriya Uppalapati wrote: > elsif (application_installed.slice(4,1) =~ /a|m|q/) > # Get the 6th & 7th char using slice method to identify between > Application/Database > if(application_installed.slice(5,2)=="db") > puts "Database" Doesn't this b