summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMohit Mehta <mohit@vyatta.com>2011-04-13 18:08:29 -0700
committerMohit Mehta <mohit@vyatta.com>2011-04-13 18:08:29 -0700
commit689c20391d8709b083d98be78527f4e96ed94a12 (patch)
treeee4dadfe7f318a6f71da391c1469fcbe0947c5a7 /templates
parente2abbdf11e5e007a6ac851072d1fd1d2e9ca9841 (diff)
downloadvyatta-cfg-vpn-689c20391d8709b083d98be78527f4e96ed94a12.tar.gz
vyatta-cfg-vpn-689c20391d8709b083d98be78527f4e96ed94a12.zip
* Add help and checks for IPsec x509 nodes to push
users towards putting scripts in /config/auth
Diffstat (limited to 'templates')
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/ca-cert-file/node.def2
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/cert-file/node.def2
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/crl-file/node.def2
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/key/file/node.def2
4 files changed, 8 insertions, 0 deletions
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/ca-cert-file/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/ca-cert-file/node.def
index 819e990..6374ecd 100644
--- a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/ca-cert-file/node.def
+++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/ca-cert-file/node.def
@@ -1,2 +1,4 @@
type: txt
help: File containing the X.509 certificate for the Certificate Authority (CA)
+syntax:expression: exec "/opt/vyatta/sbin/check_file_in_config_dir $VAR(@) '/config/auth'"
+val_help: File in /config/auth
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/cert-file/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/cert-file/node.def
index 9c3a5d4..0686cc2 100644
--- a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/cert-file/node.def
+++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/cert-file/node.def
@@ -1,2 +1,4 @@
type: txt
help: File containing the X.509 certificate for this host
+syntax:expression: exec "/opt/vyatta/sbin/check_file_in_config_dir $VAR(@) '/config/auth'"
+val_help: File in /config/auth
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/crl-file/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/crl-file/node.def
index ce49e36..3717601 100644
--- a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/crl-file/node.def
+++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/crl-file/node.def
@@ -1,2 +1,4 @@
type: txt
help: File containing the X.509 Certificate Revocation List (CRL)
+syntax:expression: exec "/opt/vyatta/sbin/check_file_in_config_dir $VAR(@) '/config/auth'"
+val_help: File in /config/auth
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/key/file/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/key/file/node.def
index 137ba43..06a1151 100644
--- a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/key/file/node.def
+++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/x509/key/file/node.def
@@ -1,2 +1,4 @@
type: txt
help: File containing the private key for the X.509 certificate for this host
+syntax:expression: exec "/opt/vyatta/sbin/check_file_in_config_dir $VAR(@) '/config/auth'"
+val_help: File in /config/auth