summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Admin
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Ask for details about the keyYour name2011-01-051-6/+27
| | | | (cherry picked from commit fbabad08f4dbe98c74e55f5b6fa4a4e371fcea56)
* Line brake addedFabian Affolter2011-01-051-1/+1
| | | | (cherry picked from commit be37ebbe4d98f025bd54ab03dc5289e43889e521)
* Help layout changedFabian Affolter2011-01-051-1/+1
| | | | (cherry picked from commit de689dcca60543d6f3841afd11c05ce320df9da9)
* Longhelp addedFabian Affolter2011-01-051-7/+8
| | | | (cherry picked from commit e64dd5fc75ac7510e2cb43d53b9ecd23ee9ed405)
* Help layout fixedFabian Affolter2011-01-051-3/+3
| | | | (cherry picked from commit 21fa57fc48e90c96849918fd7059d04daa01f123)
* Help layout fixedFabian Affolter2011-01-051-1/+1
| | | | (cherry picked from commit 17eda76a2ca5d464b05a97e7e5e7356f221c390f)
* Help layout fixedFabian Affolter2011-01-051-1/+2
| | | | (cherry picked from commit 027abccc723a0985afa9096c31b1e071914583dc)
* Help layout fixedFabian Affolter2011-01-051-1/+1
| | | | (cherry picked from commit 96f3dc03d08b1322587971cd327c213834892aae)
* Help layout fixedFabian Affolter2011-01-051-1/+1
| | | | (cherry picked from commit 860352cc111fc01c42a86d1f648c9acad3a055c9)
* Help layout fixedFabian Affolter2011-01-051-5/+5
| | | | (cherry picked from commit 54b6e4a1a79bace39de2ac542d132de2fc57682d)
* Help layout fixedFabian Affolter2011-01-051-5/+5
| | | | (cherry picked from commit 4f7fedd6cb1c5a6c82f6bc28da6052e0c0f47312)
* Description fixedFabian Affolter2011-01-051-1/+1
| | | | (cherry picked from commit 8acbe8220c4fec09073933a5e461a06c00d99b81)
* CommentFabian Affolter2011-01-051-1/+1
| | | | (cherry picked from commit 6dfdbbeb9b10694845ed0e246902e77c525f0e8c)
* Line break addedFabian Affolter2011-01-051-1/+1
| | | | (cherry picked from commit d20f2afc2d44c844b8e196647424e1ff72a27d64)
* MergeFabian Affolter2011-01-051-4/+4
| | | | (cherry picked from commit 841dbffb1802716cfb820759dab1120e4f7857d4)
* Plugins: Ordered defaults pluginsFabian Affolter2011-01-051-4/+11
| | | | (cherry picked from commit 99bbe3f9d130bf9939489c4cd959373b1f3ce43f)