tomcat module fails when war file like name some###app.war

asked 2016-04-07 05:46:59 -0500

My war file name is someapp###service.war Puppet is giving this error Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, invalid byte sequence in UTF-8 at //file.pp:29:20 at war.pp:75

I tried renaming the war file without ## , did not help . How to fix this problem

edit retag flag offensive close merge delete


share your manifests what you tried

Chutki gravatar imageChutki ( 2016-04-08 01:42:29 -0500 )edit

Also, what version of puppet are you using? 3.x? 4.x?

DarylW gravatar imageDarylW ( 2016-04-09 12:46:44 -0500 )edit

I am using PE 4.x Using puppetlabs tomcat module from forge class { 'tomcat': } tomcat::war { 'someapp###service.war': catalina_home => '/apps/tomcat/tomcat', war_source => 'puppet:///modules/tomcat/someapp###service.war', war_ensure => present,}

ramkrishnayadav gravatar imageramkrishnayadav ( 2016-04-10 21:54:51 -0500 )edit