mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
states.tomcat: _extract_war_version parses path
This commit is contained in:
parent
8dd3b6dfe9
commit
6deecdca0f
1 changed files with 1 additions and 2 deletions
|
@ -100,9 +100,8 @@ def war_deployed(name,
|
|||
'result': True,
|
||||
'changes': {},
|
||||
'comment': ''}
|
||||
basename = war.split('/')[-1]
|
||||
|
||||
version = _extract_version(basename)
|
||||
version = _extract_version(war)
|
||||
|
||||
webapps = __salt__['tomcat.ls'](url, timeout)
|
||||
deploy = False
|
||||
|
|
Loading…
Add table
Reference in a new issue