Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move the require up a level | Rob Redpath | 2015-01-25 | 1 | -0/+1 |
| | |||||
* | Drop the SSL warning now that we have a safe default | Phil Dibowitz | 2015-01-16 | 1 | -33/+0 |
| | |||||
* | Suppress SSL warnings if I know what I'm doing | Phil Dibowitz | 2015-01-15 | 1 | -1/+1 |
| | |||||
* | Unit tests for audit-mode in chef-solo. | Claire McQuin | 2014-12-17 | 1 | -1/+2 |
| | | | | | * Audits are disabled by default. * Also, updated spec file to use RSpec :let. | ||||
* | if in why_run, do not enter the audit phase - because people run why_run to ↵ | tyler-ball | 2014-12-17 | 1 | -2/+7 |
| | | | | see converge statistics | ||||
* | Failing an audit example will now raise an error and make chef exit with a ↵ | tyler-ball | 2014-12-17 | 1 | -1/+2 |
| | | | | non-zero code | ||||
* | Instructions on running audit mode examples. | Serdar Sutay | 2014-12-17 | 1 | -6/+2 |
| | |||||
* | Use a central runner | Claire McQuin | 2014-12-17 | 1 | -1/+1 |
| | |||||
* | Add a Chef::Audit::Controls object for 'controls' | Claire McQuin | 2014-12-17 | 1 | -2/+14 |
| | |||||
* | Adding audit mode JSON formatter | tyler-ball | 2014-12-17 | 1 | -5/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First pass at DSL additions Renaming DSL methods to match the spec Creating our own example group class to simplify adding examples to the spec runner Adding logic for exceptions from converge phase not interfering with audit phase and vice-versa Adding error handling so saving node doesn't prevent us from running audit mode - decouples converge phase and audit phase more Updating for github comments Add setup phase to audit-mode. Refactor runner into own class. Fix typo tie things together Adding first round of formatter integration - STDOUT doc formatter Preparing for demo - using rspec documentation formatter for output instead of the proxy Add serverspec types and matchers. add rspec/its Add gems as core dependencies Updating with changes from demo Updating with @mcquin and @lamont comments Getting rid of unused method Wiring audit event proxy to send events correctly to the audit_reporter removing old pry debugging statement Removing unecessary todo Sending to correct server URL Fixing TODOs Adding uncaught error information | ||||
* | Sending to correct server URL | tyler-ball | 2014-12-17 | 1 | -3/+5 |
| | |||||
* | Make sure we don't close the output_stream after running rspec. | Serdar Sutay | 2014-12-17 | 1 | -5/+3 |
| | |||||
* | Wiring audit event proxy to send events correctly to the audit_reporter | tyler-ball | 2014-12-17 | 1 | -7/+19 |
| | |||||
* | Adding first round of formatter integration - STDOUT doc formatter | tyler-ball | 2014-12-17 | 1 | -3/+3 |
| | |||||
* | Adding audit mode JSON formatter | tyler-ball | 2014-12-17 | 1 | -1/+3 |
| | |||||
* | Adding error handling so saving node doesn't prevent us from running audit ↵ | tyler-ball | 2014-12-17 | 1 | -2/+14 |
| | | | | mode - decouples converge phase and audit phase more | ||||
* | Adding logic for exceptions from converge phase not interfering with audit ↵ | tyler-ball | 2014-12-17 | 1 | -15/+10 |
| | | | | phase and vice-versa | ||||
* | Creating our own example group class to simplify adding examples to the spec ↵ | tyler-ball | 2014-12-17 | 1 | -14/+42 |
| | | | | runner | ||||
* | Use windows evt log by default on windows | Jay Mundrawala | 2014-10-22 | 1 | -1/+19 |
| | |||||
* | Don't autoload windows event logger | Jay Mundrawala | 2014-10-22 | 1 | -2/+0 |
| | |||||
* | Added windows event logging | Jay Mundrawala | 2014-10-22 | 1 | -0/+2 |
| | |||||
* | Merge pull request #1924 from justanshulsharma/patch-1 | Serdar Sutay | 2014-10-10 | 1 | -1/+1 |
|\ | | | | | Should use client_name instead of node_name | ||||
| * | Should use client_name instead of node_name | Anshul Sharma | 2014-08-27 | 1 | -1/+1 |
| | | |||||
* | | Remove space before paren (ruby warning) | danielsdeleo | 2014-10-06 | 1 | -1/+1 |
| | | |||||
* | | Disable unforked interval runs. | Claire McQuin | 2014-10-01 | 1 | -51/+3 |
| | | | | | | | | | | | | | | | | | | | | Clarify error message. Move fork and interval logic to application (specs pending). Clean code logic, fix specs. Allow unforked client runs with daemonize or splay | ||||
* | | Improve the action and throw-label names. | Chris Doherty | 2014-09-12 | 1 | -1/+1 |
| | | |||||
* | | Re-implement immediate reboot using throw/catch, so all the end-of-run | Chris Doherty | 2014-09-10 | 1 | -1/+3 |
| | | | | | | | | tasks (e.g. report handlers) still get to run. | ||||
* | | Chef::Rebooter -> Chef::Platform::Rebooter | Chris Doherty | 2014-09-10 | 1 | -2/+2 |
| | | |||||
* | | First-pass changes for a core reboot resource. Still uses run_state instead ↵ | Chris Doherty | 2014-09-10 | 1 | -0/+5 |
| | | | | | | | | of run_context. | ||||
* | | Move Chef::Config path functions to Chef::Util::PathHelper | John Keiser | 2014-08-30 | 1 | -1/+0 |
|/ | |||||
* | convert cli argument to int, tidy exception message | Claire McQuin | 2014-05-06 | 1 | -6/+1 |
| | |||||
* | add option to abandon chef run if blocked by another for too long | Claire McQuin | 2014-05-05 | 1 | -4/+8 |
| | |||||
* | Check SSL configuration once per client run. | danielsdeleo | 2014-03-24 | 1 | -4/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to ensure users see this. Also add a longer description of the risks of the verify_none setting and a pointer to `knife ssl check` for troubleshooting help. The warning message looks like this: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * SSL validation of HTTPS requests is disabled. HTTPS connections are still encrypted, but chef is not able to detect forged replies or man in the middle attacks. To fix this issue add an entry like this to your configuration file: ``` # Verify all HTTPS connections (recommended) ssl_verify_mode :verify_peer # OR, Verify only connections to chef-server verify_api_cert true ``` To check your SSL configuration, or troubleshoot errors, you can use the `knife ssl check` command like so: ``` knife ssl check -c /etc/chef/client.rb ``` * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** * * * * | ||||
* | use local config var in #register | Lamont Granquist | 2014-03-24 | 1 | -1/+1 |
| | |||||
* | CHEF-5134: Warn on no SSL verification | Lamont Granquist | 2014-03-24 | 1 | -0/+4 |
| | | | | | | | | | | only checking before we register the node to avoid spamming SSL verification errors on every single connection. because its in register it shouldn't warn in solo/apply use cases (you still can use remote_file in those so maybe we should also warn there? i decided that'd be more annoying than typically useful, YMMV...) | ||||
* | move exception message into object | Lamont Granquist | 2014-03-05 | 1 | -4/+1 |
| | |||||
* | add ohai[:machinename] | Lamont Granquist | 2014-03-05 | 1 | -1/+1 |
| | | | | | | | | | | | | this is an ohai 7 attribute that == the output of /bin/hostname - if the FQDN exists we still prefer that, but requires correct DNS - if the machinename exists then we use that, but requires ohai 7 - then we default to the hostname which should exist on ohai 6, (but sometimes doesn't on some distros?) machinename should always be set on ohai 7, so we should entirely stop seeing CannotDetermineNodeName after it rolls out. | ||||
* | Add permanent run list modification option to Chef::Client | danielsdeleo | 2014-02-20 | 1 | -11/+15 |
| | |||||
* | Modernize and organize Chef::Client specs | danielsdeleo | 2014-02-20 | 1 | -1/+9 |
| | |||||
* | - Adding X-Remote-Request-Id to the set of headers for every request from ↵ | PrajaktaPurohit | 2014-02-07 | 1 | -0/+6 |
| | | | | | | | | | | CCR and knife that will be sent to erchef - Each knife request has a different X-Remote-Request-Id, where as it remains the same for all requests originating from the same chef-client run. - Adding and fixing tests | ||||
* | [CHEF-3506] suppress final node save when using override run list | danielsdeleo | 2014-02-03 | 1 | -5/+5 |
| | |||||
* | Delegate sync_cookbooks to policy_builder, subclasses rely on it | danielsdeleo | 2014-02-03 | 1 | -0/+4 |
| | |||||
* | Add public API for expanding run_list in Chef::Client | danielsdeleo | 2014-01-23 | 1 | -0/+24 |
| | | | | | External projects like chefspec need to do this separately so they can inject custom behavior before/after. | ||||
* | Return node from Chef::Client#build_node | danielsdeleo | 2014-01-23 | 1 | -0/+1 |
| | |||||
* | Add indirection to allow switching policy builder implementations | danielsdeleo | 2014-01-21 | 1 | -1/+1 |
| | |||||
* | Extract policy building concerns from Chef::Client | danielsdeleo | 2014-01-14 | 1 | -152/+16 |
| | | | | | | Chef::Client has too many responsibilities that are difficult to test in isolation. Refactor them out to an implementation class. This is a prerequsite for providing alternative policy building strategies. | ||||
* | Add ability to run recipes directly from chef-client command line | John Keiser | 2013-12-06 | 1 | -0/+6 |
| | |||||
* | Modify a message when any cookbook is not found. | Ryota Arai | 2013-11-26 | 1 | -1/+1 |
| | |||||
* | Raise an error if any directory of `cookbook_path` contains no cookbook. | Ryota Arai | 2013-11-26 | 1 | -9/+6 |
| | |||||
* | Raise CookbookNotFound error if any directory of cookbook_path contains no ↵ | Ryota Arai | 2013-11-26 | 1 | -11/+8 |
| | | | | cookbook. |