Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Action: Fix decision mode installation (resolves #1029) | mkd | 2011-08-16 | 1 | -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/bcfg2 | Sol Jerome | 2011-08-12 | 5 | -14/+20 |
|\ | |||||
| * | Reports: | unknown | 2011-08-12 | 5 | -14/+20 |
| | | | | | | | | | | 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 Jerome | 2011-08-11 | 2 | -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 Digilio | 2011-08-10 | 1 | -1/+1 |
|/ | |||||
* | Action: Fix whitelist mode (Resolves #1029) | Sol Jerome | 2011-08-10 | 1 | -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 McCallister | 2011-08-09 | 1 | -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 McCallister | 2011-08-09 | 1 | -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 output | Holger Weiß | 2011-08-09 | 1 | -1/+1 |
| | |||||
* | Document "bcfg2-info buildbundle" in the manpage | Holger Weiß | 2011-08-09 | 1 | -0/+5 |
| | | | | Mention the "buildbundle" command in the bcfg2-info(8) manpage. | ||||
* | fixed stupid typo | Chris St. Pierre | 2011-08-08 | 1 | -1/+1 |
| | |||||
* | invoke dot in a way that works on all systems | Chris St. Pierre | 2011-08-08 | 1 | -4/+14 |
| | |||||
* | fixed attribute form of genshi keywords | Chris St. Pierre | 2011-08-08 | 1 | -12/+12 |
| | |||||
* | do not start/stop services with "-s disabled" | Chris St. Pierre | 2011-08-08 | 1 | -3/+4 |
| | |||||
* | got rid of blank line output when using bcfg2-admin viz with the -o option | Chris St. Pierre | 2011-08-08 | 1 | -1/+2 |
| | |||||
* | fixed backtrace if Packages downloads a bogus GPG key | Chris St. Pierre | 2011-08-05 | 1 | -6/+13 |
| | |||||
* | don't try to wrap bcfg2-lint output if it's not connected to a tty | Chris St. Pierre | 2011-08-05 | 1 | -6/+15 |
| | |||||
* | fixed typos in RequiredAttrs.check_packages() | Chris St. Pierre | 2011-08-05 | 1 | -2/+2 |
| | |||||
* | fixed more unescaped shell commands | Chris St. Pierre | 2011-08-05 | 2 | -13/+24 |
| | |||||
* | Merge branch 'work' | Chris St. Pierre | 2011-08-05 | 1 | -4/+5 |
|\ | |||||
| * | fixed bcfg2-admin viz bug introduced by Popen fixes | Chris St. Pierre | 2011-08-05 | 1 | -4/+5 |
| | | |||||
| * | made packages.conf optional | Chris St. Pierre | 2011-08-05 | 1 | -1/+5 |
| | | |||||
* | | made packages.conf optional | Chris St. Pierre | 2011-08-05 | 1 | -1/+5 |
| | | |||||
* | | Removed the explicit calls to AddEntry from SSHbase.py in favor of | Mike McCallister | 2011-08-05 | 1 | -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) | ||||
* | fixed security bugs with unescaped input to the shell | Chris St. Pierre | 2011-08-05 | 5 | -28/+21 |
| | |||||
* | fixed regex in reports_client_history view; made all reports hostname ↵ | Chris St. Pierre | 2011-08-05 | 1 | -3/+3 |
| | | | | regexes consistent | ||||
* | fixed traceback from unknown-path-type errors | Chris St. Pierre | 2011-08-03 | 1 | -0/+1 |
| | |||||
* | added buildbundle command to bcfg2-info to render a bundle template | Chris St. Pierre | 2011-08-03 | 4 | -15/+38 |
| | |||||
* | Merge branch 'master' of https://github.com/jdigilio/bcfg2 | Sol Jerome | 2011-08-03 | 1 | -1/+1 |
|\ | |||||
| * | fix broken assembling of yum repo url | Joe Digilio | 2011-08-03 | 1 | -1/+1 |
| | | |||||
* | | doc: Fix versionadded | Sol Jerome | 2011-08-03 | 1 | -2/+2 |
|/ | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | fixed info.xml XMLSrc fix | Chris St. Pierre | 2011-08-03 | 1 | -1/+1 |
| | |||||
* | doc: Fix some typos | Sol Jerome | 2011-08-02 | 2 | -2/+2 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Merge branch 'master' of https://github.com/mikemccllstr/bcfg2 | Sol Jerome | 2011-08-02 | 1 | -13/+16 |
|\ | |||||
| * | Fix error that occurs when deleting and re-creating the same directory. | Mike McCallister | 2011-07-29 | 1 | -13/+16 |
| | | | | | | | | | | | | | | FileMonitor never forgets about directories you've asked it to watch, so we should never remove them from self.handles. Otherwise, once deleted and readded, events will arrive with a requestID we don't have a handle for. | ||||
* | | don't add gpg-pubkey package unless there are instances to install | Chris St. Pierre | 2011-08-02 | 1 | -35/+36 |
| | | |||||
* | | split up XMLSrc parsers used for Rules and info.xml | Chris St. Pierre | 2011-08-01 | 1 | -5/+18 |
| | | |||||
* | | bcfg2-lint should read both bcfg2.conf and bcfg2-lint.conf | Chris St. Pierre | 2011-08-01 | 1 | -15/+6 |
| | | |||||
* | | fixed path to Packages config in Lint/Validate.py | Chris St. Pierre | 2011-08-01 | 1 | -1/+1 |
| | | |||||
* | | fixed error message to avoid traceback | Chris St. Pierre | 2011-08-01 | 1 | -1/+1 |
| | | |||||
* | | doc: Fix sphinx build warnings | Sol Jerome | 2011-08-01 | 1 | -11/+11 |
| | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | | Lots of improvements to Packages plugin: | Chris St. Pierre | 2011-08-01 | 6 | -404/+1012 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. | ||||
* | | bcfg2-lint: Update schema with new vcs values | Sol Jerome | 2011-07-31 | 3 | -1/+6 |
|/ | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | bcfg2-lint RequiredAttrs plugin checks for text content of "file" Paths | Chris St. Pierre | 2011-07-28 | 1 | -0/+7 |
| | |||||
* | doc: Provide examples of abstract and literal specifications | Sol Jerome | 2011-07-27 | 2 | -1/+14 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Updated information about disabling per-package checks | Brent Bloxam | 2011-07-27 | 1 | -4/+15 |
| | |||||
* | added write() method to Properties to write back persistent changes | Chris St. Pierre | 2011-07-27 | 2 | -5/+59 |
| | |||||
* | Merge branch 'master' of https://github.com/mikemccllstr/bcfg2 | Sol Jerome | 2011-07-26 | 1 | -3/+12 |
|\ | |||||
| * | Fixed problem with recent DirectoryBacked changes that caused a traceback on ↵ | Mike McCallister | 2011-07-26 | 1 | -3/+12 |
| | | | | | | | | Properties initialization. | ||||
* | | Merge branch 'master' of https://github.com/mikemccllstr/bcfg2 | Sol Jerome | 2011-07-26 | 5 | -108/+230 |
|\| |