summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Admin
Commit message (Collapse)AuthorAgeFilesLines
* catch another exceptionChris St. Pierre2012-01-201-0/+5
|
* Client: Include xincluded files in listSol Jerome2011-11-181-0/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Cleaned up path handling in bcfg2-admin init.Kamil Kisiel2011-09-171-12/+13
| | | | | | | Now uses absolute paths so the config file works correctly if the user inputs relative paths. Also simplified the config file template a bit as a result.
* Simplified py3k compatibility in bcfg2-admin initKamil Kisiel2011-09-171-77/+26
|
* make it clear that default list of plugins is taken from ↵anatoly techtonik2011-09-101-7/+2
| | | | Options.SERVER_PLUGINS.default
* Admin: Fix traceback when missing section from bcfg2.confSol Jerome2011-09-101-1/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fix chmod in "bcfg2-admin init"Joe Digilio2011-08-101-1/+1
|
* invoke dot in a way that works on all systemsChris St. Pierre2011-08-081-4/+14
|
* got rid of blank line output when using bcfg2-admin viz with the -o optionChris St. Pierre2011-08-081-1/+2
|
* fixed bcfg2-admin viz bug introduced by Popen fixesChris St. Pierre2011-08-051-4/+5
|
* fixed security bugs with unescaped input to the shellChris St. Pierre2011-08-051-4/+3
|
* bcfg2-admin: Revert some changes that are not py3k compatibleSol Jerome2011-07-212-3/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Miscellaneous bcfg2-admin bug fixes:Chris St. Pierre2011-07-212-9/+5
| | | | | | * 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
* bcfg2-admin viz: Remove --raw from documentationHolger Weiß2011-07-061-3/+1
| | | | | | 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.
* Display bcfg2-admin viz parameter errors on stdout instead of syslog.Mike McCallister2011-07-051-1/+1
| | | | | Also switched to use __longhelp__ instead of __shorthelp__, as __shorthelp__ isn't actually very helpful.
* Enhanced bcfg2-admin viz to allow output to be limited to one client.Mike McCallister2011-07-051-9/+19
| | | | | | | | | | 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.
* bcfg2-admin compare: Another few print() cleanupsHolger Weiß2011-07-061-7/+9
| | | | Indent all output in a consistent way.
* bcfg2-admin compare -r: Check for removed filesHolger Weiß2011-07-051-0/+6
| | | | | 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).
* bcfg2-admin compare -r: Clean up the outputHolger Weiß2011-07-051-4/+4
| | | | Fix the messages which are spit out when the "-r" flag is used.
* bcfg2-admin compare: Some code cleanupsHolger Weiß2011-07-051-16/+12
| | | | ... in the compareSpecifications() method.
* bcfg2-admin compare: Check for removed bundlesHolger Weiß2011-07-051-0/+5
| | | | | Check for bundles specified in the old configuration but not in the new configuration (not just the other way round).
* bcfg2-admin compare: Handle all <Independent> tagsHolger Weiß2011-07-051-6/+5
| | | | | If the configuration specifications contain multiple <Independent> tags, compare all of them, not only the first one.
* bcfg2-admin compare: Straighten the outputHolger Weiß2011-07-051-44/+36
| | | | | Iterate only once over the entries of a bundle and print a single two-line message for each differing or missing entry.
* bcfg2-admin compare: Don't edit list in for loopHolger Weiß2011-07-051-4/+6
| | | | | Removing elements from a list while iterating over it (forwards) leads to unexpected results.
* bcfg2-admin compare: Fix check if tag is knownHolger Weiß2011-07-051-1/+1
| | | | | The if statement which checks whether a given tag is known was declared the wrong way round.
* bcfg2-admin compare: Handle POSIX <Path> entriesHolger Weiß2011-07-051-8/+14
| | | | | | | | 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.
* bcfg2-admin compare: Actually do somethingHolger Weiß2011-07-051-0/+1
| | | | | The __call__() method now calls self.compareSpecifications() instead of effectively doing nothing.
* bcfg2-admin: Fix traceback when help argument omittedSol Jerome2011-06-291-3/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Added auth attrib to list of valid attribs that the Client object can add/updateKristian Kostecky2011-06-211-2/+4
|
* Init: Remove Base from default plugins listSol Jerome2011-06-131-2/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Revert "Init: Remove Base from default plugin list"Sol Jerome2011-06-131-0/+1
| | | | This reverts commit 611ce16c8cef81a6fc754c46dcb5cbe618b20b67.
* Init: Remove Base from default plugin listSol Jerome2011-06-091-1/+0
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Accept non-ASCII diffsHolger Weiß2011-06-062-2/+9
| | | | | | | 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.
* added -t option to set client timeoutChris St. Pierre2011-06-012-3/+6
|
* Pass keypath to create_conf function.Raul Cuza2011-05-061-2/+2
|
* Add missing import.Raul Cuza2011-05-061-0/+1
|
* Fix some syntax issuesSol Jerome2011-04-271-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Admin: Add full PY3K compatibilitySol Jerome2011-04-267-15/+31
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Init: Fix SyntaxError (Reported by emias on IRC)Sol Jerome2011-04-121-10/+3
| | | | | | | | 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>
* Reports: delete orphaned Reasons after the purge command is runTim Laszlo2011-04-111-0/+2
|
* bcfg2-admin: PY3K + PEP8 fixesSol Jerome2011-04-0614-180/+296
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Fixed previous commit. Decorators are hard, let's go shopping.Chris St. Pierre2011-03-301-2/+2
|
* Use self.log.info() instead of 'print' to produce stats forChris St. Pierre2011-03-301-6/+10
| | | | 'bcfg2-admin reports purge' to make purge honor -q flag.
* Missing newline in helpTim Laszlo2011-02-101-1/+1
|
* bcfg2-admin: Fix multiple errorsSol Jerome2011-01-101-77/+85
| | | | | | | | * Handle keyboard interrupts (fixes a traceback) * Fix default plugin list (missing punctuation) * Various PEP8 fixes Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Small fixFabian Affolter2011-01-051-3/+3
| | | | | | (cherry picked from commit 0743aa20d0ee4c7b9cff50d814503e80efe6d433) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Check for country changedFabian Affolter2011-01-051-8/+13
| | | | | | (cherry picked from commit be721375800bf740a26b83291086e2504d128e98) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Country code check addedFabian Affolter2011-01-051-6/+17
| | | | | | (cherry picked from commit a8352dc470ce0b0fe3400e9818d5c58c7116adca) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Description changed to match the standard openssl namesFabian Affolter2011-01-051-5/+5
| | | | | | (cherry picked from commit 6047e808b2f0e09560442a05da870475bcd2b7ec) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Initial mistakes fixedYour name2011-01-051-7/+7
| | | | (cherry picked from commit 892e6251a65f772d2abfaecae17c4e950c6f6ac7)