summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
Commit message (Collapse)AuthorAgeFilesLines
* Convert hostbase/reports files to unix file formatsSol Jerome2011-03-173-75/+75
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* In TGenshi templates, the "name" variable is set to the destination path of ↵Chris St. Pierre2011-03-161-4/+5
| | | | the file. If an altsrc attribute was used, then "name" is set to the altsrc value; otherwise, it is set to the "name" attribute of the original <Path> tag used to declare the file. In the new Genshi handler functionality of Cfg, this had not been ported over; "name" was always the original name of the file, even if altsrc was specified. Fixed that bug.
* Cfg: Fix unicode traceback (Resolves #993)Sol Jerome2011-03-071-7/+25
| | | | | | | | If the Cfg plugin handled a file containing a character which isn't contained in the encoding specified, it resulted in a traceback. This now fails gracefully and suggests use of an alternate encoding. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed handling of group- and host-specific .genshi templates in Cfg ↵Chris St. Pierre2011-03-041-1/+1
| | | | (non-greedy matching)
* Bundler: Add support for genshi .xml bundlesSol Jerome2011-02-261-3/+20
| | | | | | | This commit modifies the Bundler plugin to allow for genshi templates with .xml file extensions via the xml namespace (Resolves ticket #861). Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Cfg: Create info.xml files by default with bcfg2-admin pullSol Jerome2011-02-211-17/+9
| | | | | | | Using info.xml files allows the user to validate permissions with the info schema. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reports: Disable template loading from Python eggsSol Jerome2011-02-211-1/+0
| | | | | | | | | | | | This does not appear to work with the default settings for some distributions. Here is what happens on Ubuntu: [error] /usr/lib/pymodules/python2.6/django/template/loader.py:64: UserWarning: Your TEMPLATE_LOADERS setting includes 'django.template.loaders.eggs.load_template_source', but your Python installation doesn't support that type of template loading. Consider removing that line from TEMPLATE_LOADERS. This appears to be disabled in django by default as per http://docs.djangoproject.com/en/dev/ref/templates/api/#loading-templates. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* DBStats: use clients_xml classTim Laszlo2011-02-101-1/+1
|
* Metadata: Move group routines to new classTim Laszlo2011-02-101-6/+6
|
* Missing newline in helpTim Laszlo2011-02-102-56/+29
|
* Metadata: Move client routines to new classTim Laszlo2011-02-101-36/+18
|
* Metadata: Add xml source classTim Laszlo2011-02-101-138/+160
|
* Probes: Patch to sort nested items from faceted.wordpress.com (Resolves #987)Sol Jerome2011-02-051-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* SSHbase: Fix hang when file not present on clientSol Jerome2011-01-311-3/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Properties: Catch exception when missing Properties directorySol Jerome2011-01-281-1/+6
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Metadata: Handle writes to XInclude files in bootstrap modeTim Laszlo2011-01-281-3/+19
|
* Metadata: Handle writes to XInclude files within clients.xml (Resolves #841)Tim Laszlo2011-01-281-12/+28
|
* added verification of cert against key, and ensured plugins entries get ↵Graham Hagger2011-01-261-2/+27
| | | | updated correctly if cert is requested before key, thus key was getting genned, then cert, then key again because the plugin didnt know it already had the key - doh
* export: Update version number for reportsSol Jerome2011-01-241-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Metadata: Reload clients.xml before writing if the Pseudo file monitor is usedTim Laszlo2011-01-241-0/+17
|
* Metadata: Typo in XIncludeErrorTim Laszlo2011-01-241-1/+1
|
* Metadata: Stop stripping comments from clients.xml (Resolves #929)Tim Laszlo2011-01-241-10/+2
|
* Metadata: Raise MetadataConsistencyError when set_profile failsTim Laszlo2011-01-231-0/+1
|
* Metadata: Gracefully handle failed profile updates to clients.xml using ↵Tim Laszlo2011-01-231-1/+5
| | | | xinclude files
* Cfg: Handle empty genshi templates (Ticket #948)Tim Laszlo2011-01-231-0/+2
|
* TGenshi: Handle empty files (Resolves #948)Tim Laszlo2011-01-231-0/+2
|
* Cfg: Add support for .genshi filesTim Laszlo2011-01-221-7/+48
|
* Ldap: New server ldap pluginTorsten Rehn2011-01-221-0/+229
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Metadata: report multiple group definitions (Resolves Ticket #784)Narayan Desai2011-01-221-0/+5
|
* EntrySet: Add generic ignore support for files named \*.genshi_include, ↵Narayan Desai2011-01-221-1/+1
| | | | enabling splitting of genshi templates (Resolves Ticket #897)
* Cfg: pull file permissions defaults uniformly (Resolves Ticket #958) (Patch ↵Narayan Desai2011-01-221-4/+4
| | | | from unidentified openid user)
* Probes: Order stored items in probed.xml (Resolves Ticket #982)Narayan Desai2011-01-221-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>
* Merge branch 'master' of git.mcs.anl.gov:bcfg2Narayan Desai2011-01-0613-53/+121
|\
| * 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)