summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Mark entry as modified only if Install() succeededHolger Weiß2011-09-072-2/+4
| | | | | The client now makes sure that an entry won't be reported as modified if the Install() method which handled the entry returned False.
* fixed indentation bug in SSHbase introduced in ↵Chris St. Pierre2011-09-061-26/+24
| | | | cb8b988774c573bb8f6840aa60be0ced60323940
* Make database_port setting optionalHolger Weiß2011-09-041-1/+4
| | | | | | Make the database_port configuration parameter optional (as documented in doc/reports/dynamic.txt). The default port will now be used if the database_port is not explicitly set.
* Don't omit "important" entries from reportsHolger Weiß2011-09-041-0/+1
| | | | | Fix the problem that modified entries weren't included in the client statistics if their "important" attribute was set to "true".
* fix traceback when packages.conf doesn't exist or there is no [global]Joe Digilio2011-09-021-0/+2
| | | | | section. (cherry picked from commit 54e70421bd1aea5bdd495cf48767b88cfe82b3b1)
* Version bump to 1.2.0rc1v1.2.0rc1Sol Jerome2011-09-011-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Cfg : doesn't add a LineFeed after patching of filesKioob2011-09-021-3/+1
|
* Cfg : do not strip() end of lines before applying .diff filesKioob2011-09-011-2/+1
|
* fixed tracebacks introduced by 5360af9fe752850b1647Chris St. Pierre2011-09-011-1/+2
|
* fixed traceback introduced by 5360af9fe752850b1647Chris St. Pierre2011-09-011-2/+3
|
* Plugin.py: Add filename to error message (Reported by Kioob on IRC)Sol Jerome2011-08-311-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* anchor rules regexes at both ends to avoid bogus matchesChris St. Pierre2011-08-311-7/+3
|
* fixed logic with selecting correct rule from previous commitChris St. Pierre2011-08-311-2/+2
|
* added regex support to RulesChris St. Pierre2011-08-312-11/+56
|
* Metadata: Add missing sys import (Resolves #1032)Sol Jerome2011-08-281-0/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Cfg: Fix traceback in bcfg2-admin pullSol Jerome2011-08-271-3/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* POSIX: Unset umask (Resolves #1031)Sol Jerome2011-08-261-0/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed comparisons for probe dataChris St. Pierre2011-08-261-0/+18
|
* SSHbase: Create only requested key typesHolger Weiß2011-08-261-38/+41
| | | | | | | | | | Instead of always creating DSA, RSA, and RSA1 key pairs when any of them is missing, create only the key pair currently requested via Bcfg2. That is, the abstract configuration entries now determine which key types are generated (and therefore included in the ssh_known_hosts files). The rationale is that many sites don't use RSA1 keys anymore.
* Cfg: Fix traceback caused by previous commitSol Jerome2011-08-221-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Cfg: Log error when base file missing (reported by Ana Guerrero)Sol Jerome2011-08-211-5/+8
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Decisions: Add missing import (reported by Rob Lemley)Sol Jerome2011-08-201-0/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* set path in Ohai probeChris St. Pierre2011-08-191-0/+2
|
* fixed bug in previous commitChris St. Pierre2011-08-181-0/+1
|
* added --altsrc flag to bcfg2-info buildfileChris St. Pierre2011-08-181-3/+14
|
* APT: Add type='ignore' support (patch from tie on IRC)Sol Jerome2011-08-171-2/+11
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Plugin.py: Deal with more vim temporary filesSol Jerome2011-08-171-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Filter for ignored files earlier to eliminate traceback.Mike McCallister2011-08-171-5/+5
| | | | | | | | Ignored files (like Vim swap files) were being picked up by the File Monitor and were causing tracebacks because they are invalid XML. Now check for such ignored file patterns before doing any other processing. (cherry picked from commit c266631eb36e117bad0f297506dc301ee9cc0487)
* Action: Fix decision mode installation (resolves #1029)mkd2011-08-161-5/+21
| | | | | | | This fix is more complete than 8059a36 and also fixes issues relating to the use of wildcards in Decisions. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge branch 'reports-plusminus' of https://github.com/mkdfh/bcfg2Sol Jerome2011-08-123-10/+10
|\
| * Reports:unknown2011-08-123-10/+10
| | | | | | | | | | toggle "[+]" to "[-]" and back on expanding/collapsing lists make the whole header bar clickable
* | Metadata: Better handling of floating cert-authenticated clients (Ticket #1030)Sol Jerome2011-08-112-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the ticket: A floating, cert-authenticated client can be not recognized properly by hostname if it resolves to an arbitrary name in reverse DNS. Background: Metadata.resolve_client, called from @exposed Core's methods, falls back to reverse DNS lookup for client's name, because the name is not preserved thanks to bailing off early from Metadata.AuthenticateConnection. (This issue can be related to #936.) This patch enables caching of client names for cert-based floating clients. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | fix chmod in "bcfg2-admin init"Joe Digilio2011-08-101-1/+1
|/
* Action: Fix whitelist mode (Resolves #1029)Sol Jerome2011-08-101-1/+5
| | | | | | Don't run 'post' Action entries if they are unlisted in whitelist mode. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Be more patient for notifications about generated SSHkeys.Mike McCallister2011-08-091-8/+13
| | | | | | | Previously, we wanted one second for the FileMonitor to notify us about newly generated SSHkeys. Now, we wait up to ten seconds before logging a warning and giving up. (cherry picked from commit 204ddcddea55b1f8eed5f6dfe4dd2967bac5bad7)
* Be a little more conservative in handling "changed" events.Mike McCallister2011-08-091-17/+44
| | | | | | | | | Previously, if we got a "changed" event for a path we weren't monitoring, we would log a warning and ignore it. Now, we log the warning, but treat it like a "created" event so we know about the file/directory going forward. This situation shouldn't occur, but this new logic will handle it a little better. (cherry picked from commit 29701f299632ea343d7b58af4d3b7a143ced0078)
* Fix typo in "bcfg2-info buildbundle" usage outputHolger Weiß2011-08-091-1/+1
|
* fixed stupid typoChris St. Pierre2011-08-081-1/+1
|
* invoke dot in a way that works on all systemsChris St. Pierre2011-08-081-4/+14
|
* do not start/stop services with "-s disabled"Chris St. Pierre2011-08-081-3/+4
|
* got rid of blank line output when using bcfg2-admin viz with the -o optionChris St. Pierre2011-08-081-1/+2
|
* fixed backtrace if Packages downloads a bogus GPG keyChris St. Pierre2011-08-051-6/+13
|
* don't try to wrap bcfg2-lint output if it's not connected to a ttyChris St. Pierre2011-08-051-6/+15
|
* fixed typos in RequiredAttrs.check_packages()Chris St. Pierre2011-08-051-2/+2
|
* fixed more unescaped shell commandsChris St. Pierre2011-08-052-13/+24
|
* Merge branch 'work'Chris St. Pierre2011-08-051-4/+5
|\
| * fixed bcfg2-admin viz bug introduced by Popen fixesChris St. Pierre2011-08-051-4/+5
| |
| * made packages.conf optionalChris St. Pierre2011-08-051-1/+5
| |
* | made packages.conf optionalChris St. Pierre2011-08-051-1/+5
| |
* | Removed the explicit calls to AddEntry from SSHbase.py in favor ofMike McCallister2011-08-051-3/+7
|/ | | | | | | | | | | | | | | allowing the normal FileMonitor events to populate the data structures. We now call the File Monitor's handle_events_in_interval() method after generating new host keys, so that the normal code paths can populate the data structures used for binding to file data. We need the explicit call because we can't wait for the server's normal event queue processing to discover the changes; we need the newly-generated keys available immediately for binding during the current connection with the client. (cherry picked from commit 74a6e4707725710f6629b292902f2312710e4980)