{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/24990","labels_url":"https://api.github.com/repos/saltstack/salt/issues/24990/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/24990/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/24990/events","html_url":"https://github.com/saltstack/salt/issues/24990","id":91218413,"number":24990,"title":"tomcat.deploy_war without WAR version","user":{"login":"danielgblanco","id":4158734,"avatar_url":"https://avatars.githubusercontent.com/u/4158734?v=3","gravatar_id":"","url":"https://api.github.com/users/danielgblanco","html_url":"https://github.com/danielgblanco","followers_url":"https://api.github.com/users/danielgblanco/followers","following_url":"https://api.github.com/users/danielgblanco/following{/other_user}","gists_url":"https://api.github.com/users/danielgblanco/gists{/gist_id}","starred_url":"https://api.github.com/users/danielgblanco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielgblanco/subscriptions","organizations_url":"https://api.github.com/users/danielgblanco/orgs","repos_url":"https://api.github.com/users/danielgblanco/repos","events_url":"https://api.github.com/users/danielgblanco/events{/privacy}","received_events_url":"https://api.github.com/users/danielgblanco/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Feature","name":"Feature","color":"009800"},{"url":"https://api.github.com/repos/saltstack/salt/labels/P3","name":"P3","color":"0a3d77"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Platform","name":"Platform","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":2376,"closed_issues":2235,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-06-29T19:13:32Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-06-26T10:34:11Z","updated_at":"2015-06-29T19:13:58Z","closed_at":null,"body":"Hi,\r\n\r\nI've been using the Tomcat module without a problem so far, and deploying WAR files that have a version in the file name (i.e. myapp-1.0.1.war) generates the following files in the webapps directory when deployed in the root context:\r\n```\r\nROOT##1.0.1.war\r\nROOT##1.0.1\r\n```\r\nThis is the desired behaviour. But if I have a WAR file without a version (i.e. myapp.war), it cannot find the version number and generates the following files in the webapps directory:\r\n```\r\nROOT##None.war\r\nROOT##None\r\n```\r\nIs there a way to avoid the version number being appended to the WAR files that is copied to the webapps directory? If there is not version number, I'd expect ROOT.war to be copied to the webapps directory, not ROOT##None.war\r\n\r\nMany thanks.\r\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/116800631","html_url":"https://github.com/saltstack/salt/issues/24990#issuecomment-116800631","issue_url":"https://api.github.com/repos/saltstack/salt/issues/24990","id":116800631,"user":{"login":"arroyoc","id":11435200,"avatar_url":"https://avatars.githubusercontent.com/u/11435200?v=3","gravatar_id":"","url":"https://api.github.com/users/arroyoc","html_url":"https://github.com/arroyoc","followers_url":"https://api.github.com/users/arroyoc/followers","following_url":"https://api.github.com/users/arroyoc/following{/other_user}","gists_url":"https://api.github.com/users/arroyoc/gists{/gist_id}","starred_url":"https://api.github.com/users/arroyoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arroyoc/subscriptions","organizations_url":"https://api.github.com/users/arroyoc/orgs","repos_url":"https://api.github.com/users/arroyoc/repos","events_url":"https://api.github.com/users/arroyoc/events{/privacy}","received_events_url":"https://api.github.com/users/arroyoc/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T19:13:58Z","updated_at":"2015-06-29T19:13:58Z","body":"@danielgblanco Thanks for you report. "}}