From de8b643eb1ff7c056f4e5e9c920387ed2d2d2a11 Mon Sep 17 00:00:00 2001
From: Stig Thormodsrud <stig@vyatta.com>
Date: Tue, 26 Oct 2010 16:58:08 -0700
Subject: Create vyatta-config-mgmt repo.

---
 templates-cfg/system/config-mgmt/commit-revisions/node.def | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 templates-cfg/system/config-mgmt/commit-revisions/node.def

(limited to 'templates-cfg/system/config-mgmt/commit-revisions/node.def')

diff --git a/templates-cfg/system/config-mgmt/commit-revisions/node.def b/templates-cfg/system/config-mgmt/commit-revisions/node.def
new file mode 100644
index 0000000..e5da66a
--- /dev/null
+++ b/templates-cfg/system/config-mgmt/commit-revisions/node.def
@@ -0,0 +1,12 @@
+type: u32
+priority: 400
+help: Commit revisions
+
+update: sudo ${vyatta_sbindir}/vyatta-config-mgmt.pl \
+                 --action=update-revs                \
+                 --revs="$VAR(@)"
+
+val_help: u32:0-65535 ; Number of config backups to keep
+
+syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 65535 ; \
+	"Commit revisions must be in range 0 to 65535"
-- 
cgit v1.2.3

