summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bcfg2-admin compare: Another few print() cleanupsHolger Weiß2011-07-061-7/+9
| | | | Indent all output in a consistent way.
* bcfg2-admin compare -r: Check for removed filesHolger Weiß2011-07-051-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 outputHolger Weiß2011-07-051-4/+4
| | | | Fix the messages which are spit out when the "-r" flag is used.
* bcfg2-admin compare: Some code cleanupsHolger Weiß2011-07-051-16/+12
| | | | ... in the compareSpecifications() method.
* bcfg2-admin compare: Check for removed bundlesHolger Weiß2011-07-051-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> tagsHolger Weiß2011-07-051-6/+5
| | | | | If the configuration specifications contain multiple <Independent> tags, compare all of them, not only the first one.
* bcfg2-admin compare: Straighten the outputHolger Weiß2011-07-051-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 loopHolger Weiß2011-07-051-4/+6
| | | | | Removing elements from a list while iterating over it (forwards) leads to unexpected results.
* bcfg2-admin compare: Fix check if tag is knownHolger Weiß2011-07-051-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> entriesHolger Weiß2011-07-051-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 somethingHolger Weiß2011-07-051-0/+1
| | | | | The __call__() method now calls self.compareSpecifications() instead of effectively doing nothing.
* Remove <Package> attribute "reloc" from the docsHolger Weiß2011-07-052-3/+0
| | | | | Remove the "reloc" <Package> attribute from the documentation and from the XML Schema, as it is no longer supported (since commit 7beb2f08d8).
* Merge branch 'allow-nested-bundle-tags' of https://github.com/weiss/bcfg2Sol Jerome2011-07-041-98/+115
|\
| * Allow nested Bundle tags in XML SchemaHolger Weiß2011-07-041-98/+115
| | | | | | | | | | Nesting Bundle tags is now allowed in order to support XInclude within Bundles.
* | Merge branch 'rsync-fam-fix' of https://github.com/trehn/bcfg2Sol Jerome2011-07-041-1/+1
|\ \
| * | prevent KeyErrors when directories get changed by rsyncTorsten Rehn2011-07-041-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.
* | Merge branch 'systemd' of https://github.com/fabaff/bcfg2Sol Jerome2011-07-042-0/+26
|\ \ | |/ |/|
| * Initial .service files addedFabian Affolter2011-07-032-0/+26
| |
* | Remove useless parenthesesHolger Weiß2011-06-301-4/+4
| |
* | Statistics: Abort if "sensitive" files are pulledHolger Weiß2011-06-301-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 versionHolger Weiß2011-06-301-0/+4
| | | | | The internal database version must be incremented due to the new "is_sensitive" column.
* bcfg2-admin: Fix traceback when help argument omittedSol Jerome2011-06-292-3/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge branch 'catch-exceptions' of https://github.com/weiss/bcfg2Sol Jerome2011-06-291-74/+99
|\
| * bcfg2-reports: Catch "--badentry=/tmp/nonexistent"Holger Weiß2011-06-301-36/+48
| | | | | | | | | | Catch I/O errors which might occur while reading a file specified as argument to --badentry, --extraentry, or --modifiedentry.
| * bcfg2-reports: Catch getopt exceptionsHolger Weiß2011-06-291-38/+51
| | | | | | | | | | On getopt errors, print a proper usage message instead of spitting out a traceback.
* | New database field: "is_sensitive"Holger Weiß2011-06-295-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-297-9/+29
|/ | | | | | 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.
* doc: Fix documentation on Info attributesHolger Weiß2011-06-291-2/+2
| | | | | The possible and default values of the "important" and "paranoid" attributes weren't listed correctly.
* doc: Add information about Package plugin errors (#1018)Sol Jerome2011-06-281-0/+10
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge branch 'master' of git.mcs.anl.gov:/bcfg2Sol Jerome2011-06-262-7/+8
|\
| * Merge branch 'master' of git.mcs.anl.gov:bcfg2Narayan Desai2011-06-2280-486/+1369
| |\
| * | added dev symlink to ignoresNarayan Desai2011-06-221-0/+2
| | |
| * | Merge branch 'master' of git.mcs.anl.gov:bcfg2Narayan Desai2011-05-119-15/+291
| |\ \
| * \ \ Merge branch 'master' of git.mcs.anl.gov:bcfg2Narayan Desai2011-05-10185-3214/+14729
| |\ \ \
| * | | | GroupPatterns: add support for multiple group targets in a single clauseNarayan Desai2011-05-101-7/+6
| | | | |
* | | | | Handle :info file removalHolger Weiß2011-06-261-1/+1
| |_|_|/ |/| | | | | | | | | | | | | | | Handle the removal of :info files in the same way as the removal of info files (without leading colon) is handled.
* | | | doc: Fix another typoSol Jerome2011-06-221-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | | doc: Fix unknown directiveSol Jerome2011-06-221-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | | | YUMng: arch may not be specifiedJack Neely2011-06-221-1/+6
| | | | | | | | | | | | | | | | | | | | If the arch is specified use it to select the package in VerifyPackage() otherwise just work with the default arch.
* | | | YUMng: correct syntax in list compJack Neely2011-06-221-1/+1
| | | |
* | | | Packages are uniquely identified by both name and archJack Neely2011-06-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | So a package is not "installed" if a package of the same name but different arch is. This will enable YUMng to handle multilib package installs.
* | | | Merge branch 'master' into yumngJack Neely2011-06-2251-203/+514
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Client/Tools/YUMng.py
| * | | | doc: Move Deps to the Structure pluginsHolger Weiß2011-06-221-0/+0
| | | | | | | | | | | | | | | | | | | | Deps is a Structure plugin, not a Generator.
| * | | | doc: Sort list of Generators alphabeticallyHolger Weiß2011-06-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | In the Server/Plugins overview, move TGenshi to the end of the list of Generators, so that this list is sorted alphabetically.
| * | | | Added auth attrib to list of valid attribs that the Client object can add/updateKristian Kostecky2011-06-211-2/+4
| | | | |
| * | | | bcfg2: Catch tracebacks (Tickets #1016 and #1017)Sol Jerome2011-06-212-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also moves the exception handling added in #1012 to the bcfg2 code for consistency (as per Holger Weiß's suggestion). Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * | | | Merge branch 'fix-z-description' of https://github.com/weiss/bcfg2Sol Jerome2011-06-213-2/+23
| |\ \ \ \
| | * | | | Correct the description of bcfg2(1)'s "-z" optionHolger Weiß2011-06-212-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "-z" option is for use with Independent collections instead of Bundles.
| | * | | | Document serverCommonNames in bcfg2.conf(5)Holger Weiß2011-06-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Describe the serverCommonNames option which can be specified in the [communication] section of the bcfg2.conf(5) file.
| | * | | | Add missing options to the bcfg2(1) manpageHolger Weiß2011-06-201-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | A few of the existing bcfg2(1) options were missing from the manpage.