summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-26 11:24:24 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-26 11:24:24 +0200
commitbdda118c4573ba6e42376f9391d4ab16e73eb4bd (patch)
tree0f3bab7d189b2c34157c980b8224a7bcc40a317c
parent52817fc97de3e5a5af4a43f2a2acfe05509f6258 (diff)
downloadvyos-1x-bdda118c4573ba6e42376f9391d4ab16e73eb4bd.tar.gz
vyos-1x-bdda118c4573ba6e42376f9391d4ab16e73eb4bd.zip
salt: T2385: XML: improve completion helpers on hash_type
-rw-r--r--interface-definitions/salt-minion.xml.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/interface-definitions/salt-minion.xml.in b/interface-definitions/salt-minion.xml.in
index f62465a64..1c1dee2fb 100644
--- a/interface-definitions/salt-minion.xml.in
+++ b/interface-definitions/salt-minion.xml.in
@@ -10,7 +10,13 @@
<children>
<leafNode name="hash_type">
<properties>
- <help>The hash_type is the hash to use when discovering the hash of a file on the master server.</help>
+ <help>Hash used when discovering file on master server (default: sha256)</help>
+ <completionHelp>
+ <list>md5 sha1 sha224 sha256 sha384 sha512</list>
+ </completionHelp>
+ <constraint>
+ <regex>(md5|sha1|sha224|sha256|sha384|sha512)</regex>
+ </constraint>
</properties>
</leafNode>
<leafNode name="master">