summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* YUMng: Sync Joe Digilio's patch over from svnSol Jerome2010-11-021-0/+7
| | | | | | | | | | | | | | Jack Neely's commit message: Add a patch from Joe Digilio to include a verify_flags knob. I've added a line to also load this from the config file, and log in debug mode. Specifying 'verify_flags' with an Instance will override the values from the config file. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2: implement -Q option (bundle-quick mode)Narayan Desai2010-11-022-2/+17
| | | | | | | | Implement the -Q option for the bcfg2 client. This option only verifies and installs the entries in bundles specified with -b. Considerably improves runtime performance when package checksums are being checked. This option prevents the client from sending statistics to the server, and is incompatible with -r.
* Reports: Don't set TIME_ZONE unless it's supportedSol Jerome2010-11-021-1/+2
| | | | | | | Django added the TIME_ZONE = None bit in 1.2 and we are still supporting distros with 1.0 installed by default. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Pacman: Fix traceback for exception handlerSol Jerome2010-11-021-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reports: Fix default time zone settings (Resolves Ticket #957)Sol Jerome2010-11-022-3/+6
| | | | | | | | | | | We were previously defaulting to America/Chicago instead of leaving this option up to the user. Setting the default to None will cause Django to go by the system time. Note also that Django sets the os.environ['TZ'] variable when this is not none, so we want to be careful not to set that if we don't have to. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Pacman: Use logging infrastructure for printing messagesSol Jerome2010-11-021-13/+9
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugin.py: Reverted broken regexTim Laszlo2010-11-021-2/+2
|
* web_reports: Moved location of reports.wsgi to a more stable locationTim Laszlo2010-11-021-4/+0
|
* web_reports: determine static prefix automaticallyTim Laszlo2010-11-022-7/+44
|
* YUMng: syntax errorTim Laszlo2010-11-021-1/+1
|
* Reports: Fix typoSol Jerome2010-11-021-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* web_reports: more PATH_INFO fixesTim Laszlo2010-11-021-2/+2
|
* POSIX: Remove client-side support for old POSIX typesSol Jerome2010-11-029-384/+355
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* web_reports: use PATH_INFO instead of path in the resolver. fixes prefix ↵Tim Laszlo2010-11-021-3/+3
| | | | problems.
* web_reports: remove commentsTim Laszlo2010-11-021-4/+0
|
* web_reports: remove web_prefix, add wsgi handlerTim Laszlo2010-11-022-17/+13
|
* Client Tools: Pylint/PEP8 fixesSol Jerome2010-11-0215-78/+133
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* changed package type to 'pacman', if request package version is 'auto' and ↵Asaf2010-11-022-9/+14
| | | | its installed dont re-install
* Packages plugin / Client tools : add support for pacman based distros(arch, ↵asaf2010-11-022-0/+193
| | | | parabola), needs some more work
* reports: Remove svn merge conflictsSol Jerome2010-11-022-345/+0
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* reports: Point to the bcfg2.org URLsSol Jerome2010-11-021-3/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Keep interpreter specifications consistentSol Jerome2010-11-022-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* web reports: fix quotes in base-timeview.htmlTim Laszlo2010-11-021-1/+1
|
* web reports: tweaks and updatesTim Laszlo2010-11-021-21/+21
|
* web reports: new skinTim Laszlo2010-11-0234-1079/+1773
|
* reports: fix bcfg2-admin reports init when db is nonexistentTim Laszlo2010-11-021-2/+6
|
* bcfg2-info: showentries matches argument length incorrectlyTim Laszlo2010-11-021-1/+1
| | | | (cherry picked from commit d7ce5d6926dffab8c167d41f4068d0f71c9beda7)
* 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)
* APT: Install missing configuration files (Fixes Ticket #622)Sol Jerome2010-10-121-1/+3
| | | | | | | | | We used to not do this because the user may have removed the configuration file in question on purpose. However, now that we have support for nonexistent entries, we can afford to add this option without any consequences. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Pull: Fix help message formattingSol Jerome2010-10-111-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-admin: explicitly shutdown the core at exit. fixes thread hangs.Tim Laszlo2010-10-071-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6084 ce84e21b-d406-0410-9b95-82705330c041
* 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
* Group paths to prune as an elementTim Laszlo2010-09-261-1/+4
| | | | | | | Avoids a potential problem where paths with a : in the name are not removed. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6071 ce84e21b-d406-0410-9b95-82705330c041
* DBStats: Purge historic data and expired clientsTim Laszlo2010-09-262-1/+199
| | | | | | | Adds a purge command to bcfg2-admin reports to permanently remove interactions and clients. Extends bcfg2-admin scrub to remove orphaned Reason and Entries objects. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6070 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-repo-validate: Remove non-required attributes (Reported by fearitself ↵Sol Jerome2010-09-261-3/+3
| | | | | | | | on IRC) Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6068 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: correct the __req__Jack Neely2010-09-261-14/+6
| | | | | | | | Catch possible traceback if we are handed an instance not in our list. (This seems to be a bug with duplicate instances.) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6065 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
* Init: fix cosmetic display for hostname prompt (fix from m4z) (Resolves ↵Narayan Desai2010-09-261-1/+1
| | | | | | Ticket #906) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6063 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2: fix fatal_error on 2.5+ (approach from ↵Narayan Desai2010-09-261-1/+1
| | | | | | https://me.yahoo.com/a/2SlxL.p_rsQD.KxOt3q32tWWsQ--#39bec) (Resolves #915) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6061 ce84e21b-d406-0410-9b95-82705330c041
* DebInit: implement support for dependency-based boot in Squeeze and beyondNarayan Desai2010-09-261-2/+18
| | | | | | (patch from https://www.google.com/accounts/o8/id?id=AItOawlG5aiZZ6D7CrCtcInFhXmj7TC9AOKTyb8) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6060 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-repo-validate: Patch from Joe Digilio to fix tb in Ticket #939Sol Jerome2010-09-131-1/+2
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6055 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: Deal with any possible Yum verify exceptionsJack Neely2010-09-131-1/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6054 ce84e21b-d406-0410-9b95-82705330c041
* Client/Tools: Remove debsums.py client tool (accidentally committed)Sol Jerome2010-09-121-11/+0
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6053 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
* YUMng: patch from Tim Laszlo to handle verifying broken symlinksJack Neely2010-09-041-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6049 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
* YUMng: fix bug #931Jack Neely2010-09-041-1/+0
| | | | | | | getinstalledgpg() is an RPMng method and is no longer needed in YUMng. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6047 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: Fix Path type='ignore' traceback (Reported by Thomas Ackermann)Sol Jerome2010-08-301-3/+8
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6046 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: speed improvements, multilib verify bug fixes, configuration knobsJack Neely2010-08-301-43/+97
| | | | | | | | | | | The pkg_checks, pkg_verify, installed_action, version_fail_action, and verify_fail_action configuration knobs are all wired back up. Caching implemented to help speed up the package verify routine. Work arounds for Yum bug: http://yum.baseurl.org/ticket/573 git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6045 ce84e21b-d406-0410-9b95-82705330c041