[tutorial Rougail 3.0] a validator
OMOGEN configuration ==================== Ask the keystore filename. This file must has jks extension. --- env_omogen: keystore: filename.jks Examples of Ops inventory file ============================== 1/ INVALID: --- env_omogen: keystore: filename.txt
This commit is contained in:
parent
00a8e0fe00
commit
15f450a5ab
1 changed files with 15 additions and 0 deletions
15
Rougail/socle/05-omogen.yml
Normal file
15
Rougail/socle/05-omogen.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
version: '1.0'
|
||||
env_omogen:
|
||||
description: Configure OMOGEN
|
||||
keystore:
|
||||
description: Keystore filename to access to OMOGEN
|
||||
help: This filename must ends with "kjs" extension
|
||||
test:
|
||||
- java.jks
|
||||
validators:
|
||||
- type: jinja
|
||||
jinja: |
|
||||
{% if not socle.env_omogen.keystore.endswith('.jks') %}
|
||||
the extension must be "jks"
|
||||
{% endif %}
|
Loading…
Reference in a new issue