summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Plugins/Packages: backported get_new_packagesAlexander Sulfrian2013-03-122-1/+19
| | | | | | | | 1.3.0 uses get_new_packages to calculate the differencies between the configured packages and all packages with deps. This could be overwritten if some plugin for Packages needs to do something special (e.g. if the names of the packages are specialized during dependency calculation).
* Plugins/Packages: backported packages_form_entry/_to_entryAlexander Sulfrian2013-03-122-6/+37
| | | | | | | 1.3.0 adds an layer of abstraction to the Packages plugin, that makes it possible to change the method how Packages gets the name of a configured entry or how it build the Package object, send to the client. This backports these changes.
* Plugins/PkgVars: new plugin to set various vars per packageAlexander Sulfrian2013-03-123-2/+62
| | | | | | | This plugins allows the setting of varius flags per package. It should be used f.e. to specify pinnings for debian packages or use flags and keywords for gentoo packages (needs to be implemented by future Portage plugin).
* Packages/Apt: add name property to additional_dataAlexander Sulfrian2013-03-061-1/+2
|
* Packages/Apt: add pin attribute for extra pinning informationAlexander Sulfrian2013-03-061-1/+3
|
* Packages/Apt: add priority to additional_infoAlexander Sulfrian2013-03-061-1/+3
|
* Server/Plugins/TemplateHelper: backported TemplateHelper from 1.3Alexander Sulfrian2013-03-062-0/+155
|
* Bcfg2Py3Incompat: removed and ignored autogenerated fileAlexander Sulfrian2013-03-061-2/+0
|
* Client: always actions do not modify hostsAlexander Sulfrian2013-03-061-1/+2
| | | | | Actions that are executed always, does not set the host statistics to modified. (One always action would lead to always modified hosts)
* Client: allow pre-Actions and important-Paths to enable installsAlexander Sulfrian2013-03-062-8/+20
| | | | | | | This is used to first update the apt repositories and than install all current versions in one bcfg2-run. Also the installation of software from custom repositories (that are configured on the client via bcfg2) should be possible on the first run.
* Server/Plugin: keep text when using XMLMatchAlexander Sulfrian2013-03-061-0/+2
|
* Server/Plugin: backported XMLMatch from bcfg2-1.3Alexander Sulfrian2013-03-061-25/+58
|
* SSHBase: ignore events from hidden filesAlexander Sulfrian2013-03-061-1/+3
| | | | | The SSHBase folder contains a .keep file in the git repository, but we want no error message during initialization of this plugin.
* pingdata.xml: add new file for dynamic ping data of the clientsAlexander Sulfrian2013-03-063-5/+13
| | | | | | | bcfg2-ping-sweep saved the pingdata into clients.xml. This is problematic if the repository is tracked by a vcs. Now the dynamic data is saved into pingdata.xml and the DBStat plugin reads the data from there. So the pingdata.xml could be ignored by the vcs.
* reports: fix autoescaping of html entitiesAlexander Sulfrian2013-03-061-1/+1
|
* Packages: ability to overwrite recommended flag per packageAlexander Sulfrian2013-03-065-15/+62
|
* Packages: add src attribute to package definitionAlexander Sulfrian2013-01-303-8/+27
| | | | using the src attribute, you could pin a package to a named source
* Packages: add name to sourcesAlexander Sulfrian2013-01-301-0/+1
|
* Packages: add priority to sources and sort according to itAlexander Sulfrian2013-01-302-0/+2
|
* mark dependencies as automatic installedAlexander Sulfrian2013-01-301-0/+23
|
* plugin: ExtraGroupsAlexander Sulfrian2013-01-301-0/+42
|
* Version bump to 1.2.3v1.2.3Sol Jerome2012-07-031-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Cfg: Fix traceback for unicode templatesSol Jerome2012-07-022-4/+16
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* YUMng: Fix DBStats hooks for centos5Tim Laszlo2012-06-191-3/+3
| | | | | On centos5 the hooks raise a TypeError. Replacing the keys with attributes.
* Adding DB2 support for StatisticsJohn 'Skip' Reddy2012-06-191-0/+3
| | | | | Adding DB2 support for Statistics, following guidance from http://code.google.com/p/ibm-db/wiki/ibm_db_django_README
* Adding DBStats hooks into YUMngJohn 'Skip' Reddy2012-06-191-0/+7
| | | | | YUMng did not have any hooks to save data via the DBStats plugin, so no statistics have been saved.
* really fixed ProbeData initChris St. Pierre2012-06-151-1/+1
|
* fixed ProbeData.__new__ to actually return somethingChris St. Pierre2012-06-151-1/+1
|
* fix ProbeData inheritance from strChris St. Pierre2012-06-141-0/+3
|
* DBStats: watch for missing work queueTim Laszlo2012-06-141-2/+2
| | | | (cherry picked from commit d0555789f2af89817b4bf50a4d88e98ad6c20730)
* fixed ProbeData object to actually be a str, not just try (and fail) to ↵Chris St. Pierre2012-06-131-42/+8
| | | | imitate one
* improved SSLCA verification routines and loggingChris St. Pierre2012-06-131-13/+29
|
* removed extraneous debugging callsChris St. Pierre2012-06-121-2/+0
|
* fixed major security flaw in Trigger pluginChris St. Pierre2012-06-121-15/+25
|
* NagiosGen: Catch name resolution errorsSol Jerome2012-06-011-1/+6
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* DBStats: Fix missing sys importSol Jerome2012-05-251-0/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* backported option to make Packages plugin set version="any"Sol Jerome2012-05-241-3/+6
|
* added ability to specify arbitrary repository options to PackagesChris St. Pierre2012-05-232-1/+19
|
* Pkgmgr: Fix broken altsrcTim Laszlo2012-05-222-4/+9
| | | | | | Use __contains__ instead of has_key in Pkgmgr. Gone in Py3k. Fallback on __getitem__ in PrioDir. Handles cased with an override for __getitem__ is used.
* minor cleanupChris St. Pierre2012-05-221-4/+3
|
* use provided logger throughout POSIX driver, to make bcfg2-info builddir quieterChris St. Pierre2012-05-221-19/+29
|
* set type on Path entries handled by SSLCAChris St. Pierre2012-05-211-0/+2
|
* handle package sources without packages for an applicable client arch more ↵Chris St. Pierre2012-05-211-0/+4
| | | | gracefully
* made SSLCA respect info.xmlChris St. Pierre2012-05-212-41/+46
|
* random names for repos without obvious names breaks ability to use a single ↵Chris St. Pierre2012-05-162-8/+4
| | | | cache for multiple clients
* strip whitespace from one more XML parseChris St. Pierre2012-05-161-4/+3
|
* use whitespace-stripping XML parser in base pluginsChris St. Pierre2012-05-161-3/+7
|
* Packages: Fix URLError handling (Reported by dikim33 on IRC)Sol Jerome2012-05-152-1/+8
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* added len() to PackagesSources objectChris St. Pierre2012-05-151-0/+3
|
* use XML parser that strips whitespace to avoid xml concatenation ↵Chris St. Pierre2012-05-1511-24/+52
| | | | pretty_print issue