summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * Now reads ca key passphrases from bcfg2.confGraham Hagger2010-11-011-22/+65
| | | | | | | | Corrected handling of modifications to xml files
| * SSLCA.py rewritten to use openssl binaryGraham Hagger2010-10-291-409/+122
| |
| * starting to establish the way sslca will truly workGraham Hagger2010-10-271-152/+471
| |
| * ok, so i should have renamed the class to SSLCA a long time ago... dohGraham Hagger2010-10-221-1/+1
| |
| * moved some sslca docs aroundGraham Hagger2010-10-221-43/+0
| |
| * initial add of SSLCA pluginGraham Hagger2010-10-221-0/+209
| |
| * POSIX: Remove client-side support for old POSIX typesSol Jerome2010-10-182-39/+0
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | POSIX: Remove client-side support for old POSIX typesSol Jerome2010-11-022-39/+0
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | changed package type to 'pacman', if request package version is 'auto' and ↵Asaf2010-11-021-1/+1
| | | | | | | | its installed dont re-install
* | Packages plugin / Client tools : add support for pacman based distros(arch, ↵asaf2010-11-021-0/+112
| | | | | | | | parabola), needs some more work
* | Guppy.py: New plugin to help trace memory leaksTim Laszlo2010-10-271-0/+63
| | | | | | | | (cherry picked from commit 4be21b7fbb93c3552713ab9914114fbe0068b93d)
* | Extend client metadata to include group category informationTim Laszlo2010-10-271-2/+16
|/ | | | (cherry picked from commit cc1d65d91aa00cdc91637c2e9afa36e11b5cc6a0)
* Packages: fix is_pkg breakageNarayan Desai2010-09-271-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6077 ce84e21b-d406-0410-9b95-82705330c041
* Packages: restore whitelist functionality (patch from Richard Connon) ↵Narayan Desai2010-09-261-22/+20
| | | | | | (Resolves #944) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6064 ce84e21b-d406-0410-9b95-82705330c041
* Metadata: Add error message when file monitor failsSol Jerome2010-09-121-0/+1
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6052 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Assign the deps variable before resolution.Tim Laszlo2010-09-041-0/+1
| | | | | | If no dependencies are found a trace is thrown in the validation phase. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6048 ce84e21b-d406-0410-9b95-82705330c041
* Packages: fix type conflictNarayan Desai2010-08-301-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6044 ce84e21b-d406-0410-9b95-82705330c041
* Packages: fix type conflictNarayan Desai2010-08-301-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6043 ce84e21b-d406-0410-9b95-82705330c041
* Packages: invalidate virt_pkgs cache when source data is reloadedNarayan Desai2010-08-281-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6041 ce84e21b-d406-0410-9b95-82705330c041
* Packages: dep resolver rewriteNarayan Desai2010-08-271-154/+150
| | | | | | | | | Fix dep resolver to take all providers of a dependency into consideration. Rewrite resolver to be simpler at the same time. Added support for "apt" and "yum" as non-distro specific magic groups git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6040 ce84e21b-d406-0410-9b95-82705330c041
* BB: Deprecate BB plugin (Resolves Ticket #923)Sol Jerome2010-08-231-1/+1
| | | | | | | | | | The BB plugin is no longer in use. It has been replaced at Argonne by Heckle (https://trac.mcs.anl.gov/projects/Heckle). More information about Heckle should be available soon. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6032 ce84e21b-d406-0410-9b95-82705330c041
* Fix typosSol Jerome2010-08-141-1/+1
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6014 ce84e21b-d406-0410-9b95-82705330c041
* Don't assume python2.5 is being used on successful hashlib importSol Jerome2010-08-111-2/+4
| | | | | | | | | | | | The hashlib module has been backported to earlier versions of python. If we assume that 2.5 is in use, then python will go crazy looking for stuff that doesn't exist in earlier versions. This patch will allow older versions of python installed alongside a standalone hashlib module to work properly. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6004 ce84e21b-d406-0410-9b95-82705330c041
* Probes: Fix name collapse in case of group specific probes (arch.G20_foo -> ↵Narayan Desai2010-08-111-1/+1
| | | | | | arch) (Resolves Ticket #904) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6003 ce84e21b-d406-0410-9b95-82705330c041
* TGenshi/TCheetah: Add base64 encoding support for files handled by non-Cfg ↵Sol Jerome2010-08-052-2/+12
| | | | | | | | | | | | | | plugins Reported by Chris Brinker in IRC. We should now have the ability to use encoding=base64 in info/info.xml files for paths that are handled by the TGenshi and TCheetah plugins. I think this common code for the three plugins can be merged once we implement Kisielk's idea for having a single Cfg/TGenshi/TCheetah tree. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6002 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Move knobs to config.xmlTim Laszlo2010-08-041-26/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5999 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Resolver/Metadata optionsTim Laszlo2010-08-041-1/+32
| | | | | | | Patch from Jack Neely to add enable/disable options to the resolver and metadata pareser. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5998 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Allow soft relaods and use a checksum for cache file.Tim Laszlo2010-08-041-41/+41
| | | | | | | | Use checksum for cache file. Allow reloads of config.xml and sources without downloading everything. Merged config.xml and source processing into a single function. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5997 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Expose repo data as a ConnectorTim Laszlo2010-08-041-4/+24
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5996 ce84e21b-d406-0410-9b95-82705330c041
* DBStats: Fix random mysql errorsTim Laszlo2010-07-301-6/+15
| | | | | | | | | Occasionally importing ping data would fail with "Commands out of sync; you can't run this command now". Improved logging and error handling for imports. Fixed indentation error in GetCurrentEntry git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5992 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Allow xinclude and add XML error handlingTim Laszlo2010-07-301-6/+18
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5990 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Remove log line from black/whitelist testTim Laszlo2010-07-301-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5989 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Allow for whitelistingTim Laszlo2010-07-301-7/+11
| | | | | | | Patch from IRConan to allow for whitelisted packages in sources. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5988 ce84e21b-d406-0410-9b95-82705330c041
* Packages: Treat blacklisted packages as if they don't existTim Laszlo2010-07-301-2/+2
| | | | | | | Currently a blacklisted package stops further source processing. This prevents any other sources from defining a good package. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5987 ce84e21b-d406-0410-9b95-82705330c041