Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bcfg2-admin: Revert some changes that are not py3k compatible | Sol Jerome | 2011-07-21 | 2 | -3/+7 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Miscellaneous bcfg2-admin bug fixes: | Chris St. Pierre | 2011-07-21 | 2 | -9/+5 |
| | | | | | | * Fixed mode argument parsing when a config file is supplied * Fixed loading help messages when Reports is not configured * Improved option parsing; used Bcfg2.Options.OptionParser | ||||
* | made info.xml files understand <Path> tags to better set permissions on ↵ | Chris St. Pierre | 2011-07-19 | 1 | -11/+14 |
| | | | | altsrc'd files | ||||
* | fixed output from ohai plugin when ohai not installed | Chris St. Pierre | 2011-07-15 | 1 | -1/+0 |
| | |||||
* | added Genshi template syntax checker, other misc. bcfg2-lint cleanup | Chris St. Pierre | 2011-07-14 | 10 | -16/+62 |
| | |||||
* | made ohai plugin fail gracefully on machines without ohai installed | Chris St. Pierre | 2011-07-11 | 1 | -2/+12 |
| | |||||
* | bcfg2-admin viz: Remove --raw from documentation | Holger Weiß | 2011-07-06 | 1 | -3/+1 |
| | | | | | | Remove the --raw option from the "bcfg2-admin viz" documentation. The option has been superseeded by the --outfile option which allows for specifying arbitrary output types since commit 476cb9ac76. | ||||
* | Display bcfg2-admin viz parameter errors on stdout instead of syslog. | Mike McCallister | 2011-07-05 | 1 | -1/+1 |
| | | | | | Also switched to use __longhelp__ instead of __shorthelp__, as __shorthelp__ isn't actually very helpful. | ||||
* | Enhanced bcfg2-admin viz to allow output to be limited to one client. | Mike McCallister | 2011-07-05 | 2 | -21/+48 |
| | | | | | | | | | | By default, bcfg2-admin viz creates a diagram that shows the complete contents of the repository: all Groups, Bundles, and (optionally) Hosts/Clients. In a complicated configuration, this can be an overwhelming amount of information. This change adds an --only-client option that can be used to limit the elements on the diagram to those that apply to the named host. | ||||
* | bcfg2-admin compare: Another few print() cleanups | Holger Weiß | 2011-07-06 | 1 | -7/+9 |
| | | | | Indent all output in a consistent way. | ||||
* | bcfg2-admin compare -r: Check for removed files | Holger Weiß | 2011-07-05 | 1 | -0/+6 |
| | | | | | When the "-r" flag is used, check for files which are present in the old directory but not in the new directory (not just the other way round). | ||||
* | bcfg2-admin compare -r: Clean up the output | Holger Weiß | 2011-07-05 | 1 | -4/+4 |
| | | | | Fix the messages which are spit out when the "-r" flag is used. | ||||
* | bcfg2-admin compare: Some code cleanups | Holger Weiß | 2011-07-05 | 1 | -16/+12 |
| | | | | ... in the compareSpecifications() method. | ||||
* | bcfg2-admin compare: Check for removed bundles | Holger Weiß | 2011-07-05 | 1 | -0/+5 |
| | | | | | Check for bundles specified in the old configuration but not in the new configuration (not just the other way round). | ||||
* | bcfg2-admin compare: Handle all <Independent> tags | Holger Weiß | 2011-07-05 | 1 | -6/+5 |
| | | | | | If the configuration specifications contain multiple <Independent> tags, compare all of them, not only the first one. | ||||
* | bcfg2-admin compare: Straighten the output | Holger Weiß | 2011-07-05 | 1 | -44/+36 |
| | | | | | Iterate only once over the entries of a bundle and print a single two-line message for each differing or missing entry. | ||||
* | bcfg2-admin compare: Don't edit list in for loop | Holger Weiß | 2011-07-05 | 1 | -4/+6 |
| | | | | | Removing elements from a list while iterating over it (forwards) leads to unexpected results. | ||||
* | bcfg2-admin compare: Fix check if tag is known | Holger Weiß | 2011-07-05 | 1 | -1/+1 |
| | | | | | The if statement which checks whether a given tag is known was declared the wrong way round. | ||||
* | bcfg2-admin compare: Handle POSIX <Path> entries | Holger Weiß | 2011-07-05 | 1 | -8/+14 |
| | | | | | | | | Let "bcfg2-admin compare" handle POSIX <Path> tags instead of the old-style entries. While at it, add support for all attributes which might show up in configuration specifications. | ||||
* | bcfg2-admin compare: Actually do something | Holger Weiß | 2011-07-05 | 1 | -0/+1 |
| | | | | | The __call__() method now calls self.compareSpecifications() instead of effectively doing nothing. | ||||
* | prevent KeyErrors when directories get changed by rsync | Torsten Rehn | 2011-07-04 | 1 | -1/+1 |
| | | | | This wasn't originally anticipated, but if a repository is updated via rsync, HandleEvent() receives 'changed' actions for directories as well. Directories aren't present in self.entries and consequently caused KeyErrors. | ||||
* | Statistics: Abort if "sensitive" files are pulled | Holger Weiß | 2011-06-30 | 1 | -1/+3 |
| | | | | | | Let the Statistics plugin raise a PluginExecutionError if a "sensitive" entry is requested by "bcfg2-admin pull". This is how the DBStats plugin behaves already. | ||||
* | DBStats: Bump internal database version | Holger Weiß | 2011-06-30 | 1 | -0/+4 |
| | | | | | The internal database version must be incremented due to the new "is_sensitive" column. | ||||
* | bcfg2-admin: Fix traceback when help argument omitted | Sol Jerome | 2011-06-29 | 1 | -3/+1 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | New database field: "is_sensitive" | Holger Weiß | 2011-06-29 | 5 | -12/+26 |
| | | | | | | The new "entry.reason.is_sensitive" flag indicates whether the file contents/diffs were omitted from the database due to the "sensitive" <Path> attribute. | ||||
* | New Info attribute: "sensitive" | Holger Weiß | 2011-06-29 | 2 | -4/+8 |
| | | | | | | The contents/diffs of <Path>s which are marked as "sensitive" are now omitted from the reports transmitted to the server, so that they won't end up in the statistics database. | ||||
* | Merge branch 'master' of git.mcs.anl.gov:/bcfg2 | Sol Jerome | 2011-06-26 | 1 | -7/+6 |
|\ | |||||
| * | Merge branch 'master' of git.mcs.anl.gov:bcfg2 | Narayan Desai | 2011-06-22 | 27 | -152/+373 |
| |\ | |||||
| * \ | Merge branch 'master' of git.mcs.anl.gov:bcfg2 | Narayan Desai | 2011-05-11 | 5 | -11/+190 |
| |\ \ | |||||
| | * | | Cfg: Fix PluginExecutionError | Tim Laszlo | 2011-05-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Replaces PluginExecutionError with Bcfg2.Server.Plugin.PluginExecutionError. Reported by emias. | ||||
| | * | | Added FileProbes plugin. | Chris St. Pierre | 2011-05-11 | 2 | -1/+180 |
| | | | | |||||
| | * | | Fixed error messages from info.xml bcfg2-lint check | Chris St. Pierre | 2011-05-11 | 1 | -5/+5 |
| | | | | |||||
| | * | | Improved Svn2 error handling -- ClientError may not have a message attribute. | Chris St. Pierre | 2011-05-11 | 1 | -4/+4 |
| | | | | |||||
| * | | | Merge branch 'master' of git.mcs.anl.gov:bcfg2 | Narayan Desai | 2011-05-10 | 71 | -1074/+2534 |
| |\| | | |||||
| | * | | SSHbase: Fix PY3K tracebacks for known_hosts file | Sol Jerome | 2011-05-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
| | * | | Merge pull request #30 from trehn/master | Sol Jerome | 2011-05-09 | 2 | -0/+2 |
| | |\ \ | | | | | | | | | | | import sys for SGenshi and Bundler | ||||
| | | * | | add yet another missing sys import | Torsten Rehn | 2011-05-09 | 1 | -0/+1 |
| | | | | | |||||
| | | * | | add another missing sys import | Torsten Rehn | 2011-05-09 | 1 | -0/+1 |
| | | | | | |||||
| | * | | | Merge pull request #29 from trehn/plugin-ldap-dev-trehn | Sol Jerome | 2011-05-09 | 1 | -1/+10 |
| | |\ \ \ | | | |/ / | | |/| | | Two small fixes for Ldap plugin | ||||
| | | * | | log more useful error message if python-ldap is not installed | Torsten Rehn | 2011-05-09 | 1 | -1/+9 |
| | | | | | |||||
| | | * | | add missing sys import | Torsten Rehn | 2011-05-09 | 1 | -0/+1 |
| | | | | | |||||
| | * | | | DBStats: Stop duplicating data in reports_reason | Tim Laszlo | 2011-05-09 | 1 | -6/+3 |
| | |/ / | |||||
| | * | | Add missing import sys. | Raul Cuza | 2011-05-06 | 1 | -0/+1 |
| | | | | |||||
| | * | | Pass keypath to create_conf function. | Raul Cuza | 2011-05-06 | 1 | -2/+2 |
| | | | | |||||
| | * | | Add missing import. | Raul Cuza | 2011-05-06 | 1 | -0/+1 |
| | | | | |||||
| | * | | TCheetah: Fix local variable bug reported by trehn on IRC | Sol Jerome | 2011-05-06 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
| | * | | TGenshi: Fix local variable bug reported by trehn on IRC | Sol Jerome | 2011-05-06 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> (cherry picked from commit 071ef1a1fbe6368b1abb81855e1ab95e316e6911) | ||||
| * | | | GroupPatterns: add support for multiple group targets in a single clause | Narayan Desai | 2011-05-10 | 1 | -7/+6 |
| | | | | |||||
* | | | | Handle :info file removal | Holger Weiß | 2011-06-26 | 1 | -1/+1 |
| |_|/ |/| | | | | | | | | | | | Handle the removal of :info files in the same way as the removal of info files (without leading colon) is handled. | ||||
* | | | Added auth attrib to list of valid attribs that the Client object can add/update | Kristian Kostecky | 2011-06-21 | 1 | -2/+4 |
| | | |