summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Merge https://github.com/dikim33/bcfg2Sol Jerome2012-07-121-1/+0
|\
| * Should remove the "extra_groups" attribute from the "<UnixGroup ... >"DongInn Kim2012-07-121-1/+0
| | | | | | | | tag.
| * Store group="name" rather than gid="GID" at the attribute of UnixUser.DongInn Kim2012-05-141-2/+7
| | | | | | | | | | This fixes the wrong behavior of creating the usergroup data. Thanks emias for helping me out this problem.
* | added selinux supportChris St. Pierre2012-07-031-0/+51
| |
* | added support for encrypting different elements in a single Properties file ↵Chris St. Pierre2012-06-151-18/+34
| | | | | | | | with different passphrases
* | service_modes upgrade script upgrades Rules and Defaults pluginsChris St. Pierre2012-06-061-1/+5
| |
* | added properties element encryptionChris St. Pierre2012-06-061-0/+92
| | | | | | | | added bcfg2-crypt utility for encrypting Properties and Cfg files
* | re-rationalized service modes to make them more consistent and granularChris St. Pierre2012-06-051-0/+46
| |
* | man: Clean up man pagesSol Jerome2012-06-0311-0/+1412
| | | | | | | | | | | | | | Created new rst files with man page information so that generating man pages is easier and more consistent throughout bcfg2. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Store group="name" rather than gid="GID" at the attribute of UnixUser.DongInn Kim2012-05-141-2/+7
|/ | | | | This fixes the wrong behavior of creating the usergroup data. Thanks emias for helping me out this problem.
* Better approach to get /etc/group updated with the exisitng accountDongInn Kim2012-05-141-12/+34
| | | | data.
* Add a script to generate accounts.xml from the existing /etc/passwd file.DongInn Kim2012-05-131-0/+120
|
* moved plugin-specific configs to main config file; propagate "setup" object ↵Chris St. Pierre2012-05-115-11/+59
| | | | to server Core
* Remove svn keywordsSol Jerome2012-02-198-9/+0
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* added --client argument to bcfg2-profile-templates.pyChris St. Pierre2011-12-281-12/+23
|
* fixed bug when no templates are specified to bcfg2-profile-templates.pyChris St. Pierre2011-12-211-0/+2
|
* added tools for SVN postcommit log message, template render benchmarking; ↵Chris St. Pierre2011-12-154-13/+698
| | | | improved tools README
* Lots of improvements to Packages plugin:Chris St. Pierre2011-08-011-0/+117
| | | | | | | | | | | | | | | | | | | | | | | * Better config handling: Split into packages.conf (which contains one-time configuration directives) and sources.xml (which contains the actual package sources.) The config file looks like a StructFile, and supports <Client> tags and negated Client and Group tags. Packages.Reload (_not_ Refresh) is run on changes to the sources config. tools/packages-convert.py is provided to convert to the new format. * Automagic handling of GPG keys. The new config format handles association of GPG keys go with repos; Packages then Does The Right Thing and gets them to the clients, gets them installed properly, and handles them in the specification. At the moment this only works for yum repos, not APT (see below). * Automatic generation of yum configs using the sources and GPG keys supplied. APT configs are not done yet (see below). * The early vestiges of integration with Pulp (pulpproject.org). Yet to do: * Better support for Pulp; documentation on Pulp integration. * APT support for key handling and config generation.
* export.py: Pylint/PEP8 fixesSol Jerome2011-07-071-78/+109
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Check length of version['micro'] instead of value.Raul Cuza2011-07-071-1/+1
|
* Add verification that version_info['micro'] is a single digit.Raul Cuza2011-07-071-11/+14
| | | | | | | | | | Because of restrictions in Mac OS X packaging, Bcfg2's Micro and Minor version numbers must be combined into an integer in the OS X package (IFMinorVersion attribute). In order for this to work, the micro version must be an integer, otherwise we'll run into cases where the· IFMinorVersion will not be in sequence with the Bcfg2 Micro and Minor versions.
* Move export2.py ontop of export.py. One export script to rule them all.Raul Cuza2011-07-072-318/+207
|
* Remove extra whitespace from the debian/changelog entry.Raul Cuza2011-07-071-4/+4
|
* Add code to modify osx/Makefile directly so version is no longer discovered.Raul Cuza2011-07-061-1/+9
| | | | osx/Makefile will now have the version variables set when the repo is tagged like other package directories.
* Remove unused veriables.Raul Cuza2011-07-061-4/+0
|
* Replace minorver with dictionary call.Raul Cuza2011-07-061-3/+3
|
* Replace majorver[0:3] with dictionary call.Raul Cuza2011-07-061-2/+2
|
* Replace majorver with version_release.Raul Cuza2011-07-061-4/+4
|
* Derive majorver and minorver from dictionary; Add debug check.Raul Cuza2011-07-061-8/+24
|
* Group verpose output in a more logical way.Raul Cuza2011-07-061-1/+1
|
* Made verbose mode for commands a little more verbose.Raul Cuza2011-07-061-0/+1
|
* Create verbose option for running commands.Raul Cuza2011-07-061-0/+2
| | | | If export2.py -P -v is run, then the diff will be shown.
* Create paranoid mode for export script.Raul Cuza2011-07-061-1/+14
| | | | | | Paranoid mode does not modify the git repository, but does modify the files. This allows git-diff to be used to see what will change when run in regular mode.
* Finish converting find_and_replace calls to use dryrun argument.Raul Cuza2011-07-061-9/+22
| | | | | Set default value to false. Made the find_and_replace calls multilined.
* Extend dry-run mode to file replacementRaul Cuza2011-07-061-19/+35
|
* Add command line options to export tool.Raul Cuza2011-07-061-31/+74
| | | | Run with -h to see all the options.
* Add new version variables to export scriptRaul Cuza2011-07-061-3/+14
|
* Refactor export.py to use main() clause.Raul Cuza2011-07-061-0/+125
| | | | Minimal testing has been done to compare export.py and export2.py.
* export.py: Fix version in debian changelog and docsSol Jerome2011-06-181-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* export.py: Allow to run export from machine with no Bcfg2Sol Jerome2011-06-181-2/+5
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* export.py: Refactor find and replace bitsSol Jerome2011-05-311-33/+28
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* export.py: Update documentation version numbersSol Jerome2011-05-311-0/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* 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>