summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man/bcfg2-admin.838
-rwxr-xr-xsrc/sbin/bcfg2-admin2
2 files changed, 35 insertions, 5 deletions
diff --git a/man/bcfg2-admin.8 b/man/bcfg2-admin.8
index f5a8241db..5762de59b 100644
--- a/man/bcfg2-admin.8
+++ b/man/bcfg2-admin.8
@@ -2,18 +2,46 @@
.SH NAME
bcfg2-admin \- Perform repository administration tasks
.SH SYNOPSIS
-.B bcfg2-server
+.B bcfg2-admin
.I init
.I compare <old> <new>
-.I mineentry <client> <entry type> <entry name>
.I minestruct <client>
+.I pull <client> <entry type> <entry name>
+.I tidy
.I viz [-h] [-b] [-k] [-o output.png] [-r]
.SH DESCRIPTION
.PP
-.B bcfg2-server
-This daemon serves configurations to clients based on the data in its
-repository.
+.B bcfg2-admin
+Perform bcfg2 repository administration
+.SH MODES
+.PP
+.B init
+.RS
+Initialize a new repository (interactive)
+.RE
+.B compare
+.RS
+Compare two client configurations. Can be used to verify consistent
+behavior between releases
+.RE
+.B minestruct
+.RS
+Build structure entries based on client statistics extra entries
+.RE
+.B pull
+.RS
+Install configuration information into repo based on client bad
+entries
+.RE
+.B tidy
+.RS
+Remove unused files from repository
+.RE
+.B viz
+.RS
+Create a graphviz diagram of client, group and bundle information
+.RE
.SH VIZ OPTIONS
.PP
.B \-h
diff --git a/src/sbin/bcfg2-admin b/src/sbin/bcfg2-admin
index cc0fff7b5..9a5c021d0 100755
--- a/src/sbin/bcfg2-admin
+++ b/src/sbin/bcfg2-admin
@@ -18,6 +18,8 @@ pull <client> <entry type> <entry name> - mine statistics for entry information
minestruct <client> - mine statistics for extra entries
viz [--includehosts] [--includebundles] [--includekey] [-o output.png] [--raw]
client add name= profile= uuid= password= secure= location=
+tidy - clean up unused files from repo
+compare <config1.xml> <config2.xml> - compare two configurations for differences
'''
config = '''