summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Rewrote NagiosGen config to use NagiosGen/config.xml, whichChris St. Pierre2011-05-061-0/+75
| | | | | | | | | | | | understands <Group> and <Client> tags, rather than the client-specific Properties/NagiosGen.xml and the group-specific but limited NagiosGen/parents.xml. Includes schema and bcfg2-lint updates necessary. Wrote conversion tool, nagiosgen-convert.py, which converts everything but the <default/> tag in the old NagiosGen.xml, which cannot be reasonably converted to StructFile format. Also removed a _lot_ of string modification in NagiosGen.py, which should make it a fair bit faster.
* Consolidate PY3K compatibility librariesSol Jerome2011-04-266-33/+9
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* tools: Add full PY3K compatibilitySol Jerome2011-04-267-22/+52
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* export: Fix version quoting in solaris packagingSol Jerome2011-04-251-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* tools: Fixes from a second 2to3 runSol Jerome2011-04-063-5/+14
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* tools: PY3K + PEP8 fixesSol Jerome2011-04-0613-364/+549
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* export.py: Update solaris package versionsSol Jerome2011-02-011-0/+8
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* export: Update version number for reportsSol Jerome2011-01-241-0/+5
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Remove some deprecated toolsSol Jerome2010-12-163-79/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge branch 'master' into docsSol Jerome2010-12-051-19/+15
|\
| * export.py: Fix archive creation bug in export scriptSol Jerome2010-11-151-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * export.py: Update export script for use with gitSol Jerome2010-11-151-19/+15
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Attempt to build a rpm pkg list with yumFabian Affolter2010-11-091-0/+124
|/
* export.py: Fix changelog formattingSol Jerome2010-09-271-1/+1
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6074 ce84e21b-d406-0410-9b95-82705330c041
* tools/export.py: Attempt to create a more portable export scriptSol Jerome2010-09-261-0/+84
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6069 ce84e21b-d406-0410-9b95-82705330c041
* tools/export.sh: Fix one more variable nameSol Jerome2010-06-091-1/+1
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5913 ce84e21b-d406-0410-9b95-82705330c041
* tools/export.sh: Fix bug in export scriptSol Jerome2010-06-091-5/+5
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5912 ce84e21b-d406-0410-9b95-82705330c041
* export.sh: Don't replace Source0 line in spec fileSol Jerome2010-06-091-1/+0
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5910 ce84e21b-d406-0410-9b95-82705330c041
* Version bump to 1.1.0rc2Sol Jerome2010-06-091-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5908 ce84e21b-d406-0410-9b95-82705330c041
* posixunified: Add support for subversion-backed repos (Patch from Tim Laszlo)Sol Jerome2010-05-171-4/+6
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5857 ce84e21b-d406-0410-9b95-82705330c041
* posixunified: Add note with reasoning for not updating Rules in placeSol Jerome2010-04-291-0/+9
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5848 ce84e21b-d406-0410-9b95-82705330c041
* posixunified: Add priority to generate proper xmlSol Jerome2010-03-061-0/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5751 ce84e21b-d406-0410-9b95-82705330c041
* posixunified: Add patch for BoundEntries from Eric McDonaldSol Jerome2010-03-051-0/+27
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5750 ce84e21b-d406-0410-9b95-82705330c041
* tools/posixunified.py: Add more improvements for converting old configurationSol Jerome2010-02-211-4/+22
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5735 ce84e21b-d406-0410-9b95-82705330c041
* tools/export.sh: Fix mktemp usage on OS XSol Jerome2010-01-231-2/+3
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5699 ce84e21b-d406-0410-9b95-82705330c041
* tools/export.sh: Add version bump to export scriptSol Jerome2010-01-131-2/+30
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5677 ce84e21b-d406-0410-9b95-82705330c041
* tools: Fix bcfg2-admin bash completionSol Jerome2009-12-211-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5628 ce84e21b-d406-0410-9b95-82705330c041
* POSIX: Add script to help automate conversion of old configsSol Jerome2009-11-211-0/+58
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5591 ce84e21b-d406-0410-9b95-82705330c041
* pkgmgr_gen: use sax to improve memory use (Patch from Gordon Messmer and Ian ↵Narayan Desai2009-11-171-29/+65
| | | | | | Dotson) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5579 ce84e21b-d406-0410-9b95-82705330c041
* create-debian-pkglist: support regex based filename matching (Patch from Leif)Narayan Desai2009-10-241-1/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5493 ce84e21b-d406-0410-9b95-82705330c041
* Pkgmgr generation script patch from David Strauss (fix for ticket #712)Sol Jerome2009-09-082-135/+176
| | | | | | | | | This patch forces the Pkgmgr generation/update scripts to parse the Yum urls in a way that is more compatible with the Yum repository spec. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5419 ce84e21b-d406-0410-9b95-82705330c041
* Version bump to 1.0pre5Narayan Desai2009-07-231-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5382 ce84e21b-d406-0410-9b95-82705330c041
* Include ignores for Pkgmgr updates (patch from zultron)Narayan Desai2009-05-211-0/+23
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5250 ce84e21b-d406-0410-9b95-82705330c041
* Add bash completion for bcfg2-adminSol Jerome2009-05-141-0/+21
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5230 ce84e21b-d406-0410-9b95-82705330c041
* Revert accidental svn keyword changes and add minor pylint fixesSol Jerome2009-01-151-4/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5027 ce84e21b-d406-0410-9b95-82705330c041
* Modification given by Stéphane Graber to support the debian architectureSteve Tousignant2009-01-131-95/+222
| | | | | | | | | | | | | | variant include : * support different package version on different package list and if the version is different on each architecture then it's placed on arch specific list * added new possible var as dev_$arch_urlX so that architecture specific list are treated correctly * Uses python-apt for better speed, about half-time gain git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5024 ce84e21b-d406-0410-9b95-82705330c041
* Update dictionary accesses to work with Python 3.0Sol Jerome2008-12-224-9/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4999 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-cron: perform existence checks after reading ↵Narayan Desai2008-07-141-3/+3
| | | | | | /etc/{sysconfig,default}/bcfg2 git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4783 ce84e21b-d406-0410-9b95-82705330c041
* switch to os.path.join (patch from SB)Narayan Desai2008-03-251-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4454 ce84e21b-d406-0410-9b95-82705330c041
* Smarten up create-debian-pkglist-gp.py (from Sebastien Barthlemy (sorry, ↵Narayan Desai2008-03-241-11/+11
| | | | | | LANG=C)) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4450 ce84e21b-d406-0410-9b95-82705330c041
* remove stale documentationNarayan Desai2008-01-161-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4247 ce84e21b-d406-0410-9b95-82705330c041
* fixed a bug with available revisions [bugfix]Rick Bradshow2008-01-081-14/+15
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4209 ce84e21b-d406-0410-9b95-82705330c041
* make pkgmgr_update selectively use lxml [bugfix]Narayan Desai2007-12-281-1/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4116 ce84e21b-d406-0410-9b95-82705330c041
* add GP's version of the debian pkglist creatorNarayan Desai2007-12-111-0/+219
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4077 ce84e21b-d406-0410-9b95-82705330c041
* Fix export.sh to perform tagging appropriately for non-trunk trees [bugfix]Narayan Desai2007-12-021-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4028 ce84e21b-d406-0410-9b95-82705330c041
* handle single available revisions [bugfix]Narayan Desai2007-12-021-1/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4024 ce84e21b-d406-0410-9b95-82705330c041
* Add stable-check script (for [bugfix] branch)Narayan Desai2007-12-021-0/+36
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4023 ce84e21b-d406-0410-9b95-82705330c041
* added an extra test in the if statement in the coelesing part to fix the Rick Bradshow2007-10-051-1/+1
| | | | | | | | problem that arch independant stuff wasn't actually getting built. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3779 ce84e21b-d406-0410-9b95-82705330c041
* rpmlisting patch from soljNarayan Desai2007-09-141-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3705 ce84e21b-d406-0410-9b95-82705330c041
* rpmlisting.py patch from soljNarayan Desai2007-08-281-4/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3652 ce84e21b-d406-0410-9b95-82705330c041