summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins
Commit message (Collapse)AuthorAgeFilesLines
* fixed duplicate group detection in MetadataChris St. Pierre2011-04-201-2/+1
|
* fixed PropertyFile.Index() to populate .data as a side effectChris St. Pierre2011-04-141-1/+37
|
* added Client tag to StructFile; made PropertyFile inherit from StructFileChris St. Pierre2011-04-141-8/+2
|
* Editor: Add missing comma (Reported by emias)Sol Jerome2011-04-121-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* PY3K + PEP8 fixes for remaining filesSol Jerome2011-04-071-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Hostbase: PY3K + PEP8 fixesSol Jerome2011-04-061-35/+44
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugins: PY3K + PEP8 fixesSol Jerome2011-04-0616-168/+259
| | | | 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>
* 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-101-55/+28
|
* 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
* 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
|
* Probes: Order stored items in probed.xml (Resolves Ticket #982)Narayan Desai2011-01-221-1/+1
|
* Packages: fix global package coalescing (Patch from Jeramey Crawford) ↵Narayan Desai2011-01-061-2/+2
| | | | (Resolves Ticket #973)
* Merge branch 'master' of git.mcs.anl.gov:bcfg2Narayan Desai2011-01-031-0/+102
|\
| * Svn2: Add files explicitly listed which arent under controlTim Laszlo2010-12-181-0/+12
| |
| * Svn2: Remove hardcoded svn root pathTim Laszlo2010-12-181-4/+2
| |
| * Plugin.Version: define parameters for commit_dataTim Laszlo2010-12-181-3/+5
| |
| * Svn2: Add commit supportTim Laszlo2010-12-181-2/+21
| |
| * Svn2: Native svn pluginTim Laszlo2010-12-181-0/+71
| |
* | NagiosGen: Dependency support (from Stéphane Graber <stgraber@ubuntu.com>)Narayan Desai2011-01-031-1/+36
|/ | | | | | | | | | | | | | | | | | | | | | From the patch description: As we have several hundred machines in Bcfg2 at work and are using NagiosGen to generate our Nagios configuration, the dependency tree was quite a mess. The following patch adds support for a 'parents.xml' file in the NagiosGen directory. This one contains a basic dependency tree like this: <Depends> <Depend name='something' on='something-else'> </Depends> The plugin will then use this file to add 'parents' tag to nagiosgen.cfg when possible. It's being added when generating nagiosgen.cfg instead of when generating the individual host entries for two reasons: - To avoid having to wait for a run of bcfg2 on all machines when changing parents.xml - To also support dynamic parents for manually added entries in NagiosGen (example: network equipement).
* Metadata: fix bcfg2-admin query (Resolves Ticket #959)Narayan Desai2010-12-081-3/+2
|
* SSLCA: PEP8 fixesSol Jerome2010-11-161-14/+14
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Packages: Pylint/PEP8 fixesSol Jerome2010-11-151-11/+14
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed needless syntax error bug i checked int ealier. Also ensured that the ↵root2010-11-051-3/+5
| | | | hostname gets added to any subjectAltNames so that the cert will work for the hostname as well as aliases
* Fixed verification of preexisting certificatesGraham Hagger2010-11-051-23/+11
|
* Merge branch 'master' of http://github.com/gdhagger/bcfg2 into gdhagger-masterSol Jerome2010-11-031-0/+249
|\
| * added verification of existing certsGraham Hagger2010-11-031-4/+9
| |
| * fixed lookup of ca options in bcfg2.conf, removing CA trees from SSLCA repoGraham Hagger2010-11-021-6/+9
| |