| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
| |
* Fixed mode argument parsing when a config file is supplied
* Fixed loading help messages when Reports is not configured
* Improved option parsing; used Bcfg2.Options.OptionParser
|
|
|
|
|
|
| |
Remove the --raw option from the "bcfg2-admin viz" documentation. The
option has been superseeded by the --outfile option which allows for
specifying arbitrary output types since commit 476cb9ac76.
|
|
|
|
|
| |
Also switched to use __longhelp__ instead of __shorthelp__, as
__shorthelp__ isn't actually very helpful.
|
|
|
|
|
|
|
|
|
|
| |
By default, bcfg2-admin viz creates a diagram that shows the complete
contents of the repository: all Groups, Bundles, and (optionally)
Hosts/Clients. In a complicated configuration, this can be an
overwhelming amount of information.
This change adds an --only-client option that can be used to limit the
elements on the diagram to those that apply to the named host.
|
|
|
|
| |
Indent all output in a consistent way.
|
|
|
|
|
| |
When the "-r" flag is used, check for files which are present in the old
directory but not in the new directory (not just the other way round).
|
|
|
|
| |
Fix the messages which are spit out when the "-r" flag is used.
|
|
|
|
| |
... in the compareSpecifications() method.
|
|
|
|
|
| |
Check for bundles specified in the old configuration but not in the new
configuration (not just the other way round).
|
|
|
|
|
| |
If the configuration specifications contain multiple <Independent> tags,
compare all of them, not only the first one.
|
|
|
|
|
| |
Iterate only once over the entries of a bundle and print a single
two-line message for each differing or missing entry.
|
|
|
|
|
| |
Removing elements from a list while iterating over it (forwards) leads
to unexpected results.
|
|
|
|
|
| |
The if statement which checks whether a given tag is known was declared
the wrong way round.
|
|
|
|
|
|
|
|
| |
Let "bcfg2-admin compare" handle POSIX <Path> tags instead of the
old-style entries.
While at it, add support for all attributes which might show up in
configuration specifications.
|
|
|
|
|
| |
The __call__() method now calls self.compareSpecifications() instead of
effectively doing nothing.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
This reverts commit 611ce16c8cef81a6fc754c46dcb5cbe618b20b67.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
| |
Currently, client reports don't include diffs of files which aren't
US-ASCII encoded. The client transmits such files as Base64 blobs. As
we'd like to change that, this commit teaches the server to properly
handle non-ASCII diffs.
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
| |
Python < 2.6 uses the '0600' format for specifying the mode while 2.6
and later allow the use of '0o600'. Since python 3 forces the latter, we
can use the stat module to maintain compatibility with both.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
|
|
|
| |
'bcfg2-admin reports purge' to make purge honor -q flag.
|
| |
|
|
|
|
|
|
|
|
| |
* Handle keyboard interrupts (fixes a traceback)
* Fix default plugin list (missing punctuation)
* Various PEP8 fixes
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
| |
(cherry picked from commit 0743aa20d0ee4c7b9cff50d814503e80efe6d433)
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
| |
(cherry picked from commit be721375800bf740a26b83291086e2504d128e98)
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
| |
(cherry picked from commit a8352dc470ce0b0fe3400e9818d5c58c7116adca)
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
| |
(cherry picked from commit 6047e808b2f0e09560442a05da870475bcd2b7ec)
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
(cherry picked from commit 892e6251a65f772d2abfaecae17c4e950c6f6ac7)
|
|
|
|
| |
(cherry picked from commit fbabad08f4dbe98c74e55f5b6fa4a4e371fcea56)
|
|
|
|
| |
(cherry picked from commit be37ebbe4d98f025bd54ab03dc5289e43889e521)
|
|
|
|
| |
(cherry picked from commit de689dcca60543d6f3841afd11c05ce320df9da9)
|
|
|
|
| |
(cherry picked from commit e64dd5fc75ac7510e2cb43d53b9ecd23ee9ed405)
|
|
|
|
| |
(cherry picked from commit 21fa57fc48e90c96849918fd7059d04daa01f123)
|
|
|
|
| |
(cherry picked from commit 17eda76a2ca5d464b05a97e7e5e7356f221c390f)
|
|
|
|
| |
(cherry picked from commit 027abccc723a0985afa9096c31b1e071914583dc)
|
|
|
|
| |
(cherry picked from commit 96f3dc03d08b1322587971cd327c213834892aae)
|
|
|
|
| |
(cherry picked from commit 860352cc111fc01c42a86d1f648c9acad3a055c9)
|
|
|
|
| |
(cherry picked from commit 54b6e4a1a79bace39de2ac542d132de2fc57682d)
|
|
|
|
| |
(cherry picked from commit 4f7fedd6cb1c5a6c82f6bc28da6052e0c0f47312)
|