Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Creation of the new DataCollector reporter | Adam Leff | 2016-06-02 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | The DataCollector reporter is a new method for exporting data about your Chef run. The details of this new feature can be found in [RFC 077](https://github.com/chef/chef-rfc/blob/master/rfc077-mode-agnostic-data-collection.md). Using the existing `EventDispatch` mechanics, the DataCollector reporter collects data about a Chef run (when it starts, when it ends, what resources were modified, etc.) and then POSTs them to a Data Collector server URL that can be specified in your Chef configuration. While similar functionality exists using the `ResourceReporter` and Chef Reporting, a new implementation was done to decouple the reporting of this data from requiring the use of a Chef Server (in the case of Chef Reporting), opening the door to users being able to implement their own webhook-style receiver to receive these messages and analyze them accordingly. | ||||
* | Ensure that solo specific code is run at the proper time | Thom May | 2016-05-16 | 1 | -3/+3 |
| | | | | | | ie, only when we're in OG mode and not in local mode. Signed-off-by: Thom May <thom@chef.io> | ||||
* | Log platform along with client version and pid. | Chris Doherty | 2016-03-17 | 1 | -0/+1 |
| | |||||
* | fix some UselessAssignment caseslcg/useless-assignment | Lamont Granquist | 2016-03-14 | 1 | -2/+0 |
| | |||||
* | autofixing whitespace cops | Lamont Granquist | 2016-02-05 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment | ||||
* | Update all auth email address from opscode.com and getchef.com to chef.io. | Noah Kantrowitz | 2016-02-02 | 1 | -4/+4 |
| | | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi" | ||||
* | Copyright year update for 2016 and massive cleanup. | Noah Kantrowitz | 2016-02-02 | 1 | -1/+1 |
| | | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g" | ||||
* | fix typo in comment | Lamont Granquist | 2016-01-27 | 1 | -1/+1 |
| | |||||
* | suppress reporter failures by using validate_utf8=falselcg/suppress-reporter-failures | Lamont Granquist | 2016-01-26 | 1 | -2/+22 |
| | | | | | | | - doesn't turn off the utf8 validation in the rest of the rest API - has to use a different rest object because we have to pass options in the constructor - the handling of Chef::Config in Chef::Client is just awful | ||||
* | Autofixing Style/PercentLiteralDelimeterslcg/percentliteraldelimeters | Lamont Granquist | 2016-01-18 | 1 | -1/+1 |
| | | | | | | See chef/chefstyle#11 for analysis and discussion. We select '{}' since audit of our source code shows that is the most common, and that used to be the dominant learning paradigm (e.g. in ruby 1.9 pickaxe book. | ||||
* | Use double quotes by default | Thom May | 2016-01-14 | 1 | -40/+40 |
| | | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing. | ||||
* | autocorrecting Style/TrailingCommalcg/trailing_comma | Lamont Granquist | 2016-01-13 | 1 | -1/+1 |
| | | | | chefstyle -a fixed 1044 occurrances | ||||
* | really fix copslcg/really-fix-cops | Lamont Granquist | 2016-01-12 | 1 | -4/+4 |
| | |||||
* | Convert all uses of Chef::REST to Chef::ServerAPItm/no_more_rest | Thom May | 2016-01-11 | 1 | -4/+5 |
| | | | | | | | In the process, stop auto-expanding JSON in the HTTP client, and let individual classes control that themselves. Fixes #2737, Fixes #3518 | ||||
* | Use signing protocol 1.1 by defaultjdm/default-auth-1.1 | Jay Mundrawala | 2015-12-10 | 1 | -12/+0 |
| | | | | | | | | | | | All supported Chef servers support the 1.1 signing protocol. There is no reason to continue using 1.0, and removing it as the default allows us to remove a bunch of code that tries to upgrade 1.0 to 1.1 when the node name is too long. If the user specifies 1.0 as the auth protocol version from this point on, they will have to guarantee that the node name is not too long. | ||||
* | Use why-run vs. why_run or whyrun | Tim Smith | 2015-10-18 | 1 | -1/+1 |
| | |||||
* | fix PR feedbacklcg/ruby-profiling | Lamont Granquist | 2015-10-13 | 1 | -5/+3 |
| | |||||
* | lazy load ruby-prof | Lamont Granquist | 2015-10-06 | 1 | -6/+3 |
| | |||||
* | add optional ruby-profiling with --profile-ruby | Lamont Granquist | 2015-10-05 | 1 | -0/+32 |
| | | | | dumps a large call graph into /var/chef/cache/graph_profile.out | ||||
* | Use the dynamic policy builder everywhere | danielsdeleo | 2015-09-17 | 1 | -1/+1 |
| | |||||
* | remove now-useless GC | Lamont Granquist | 2015-08-24 | 1 | -2/+1 |
| | |||||
* | Exceptions for audits should only get wrapped if audit mode is enabled | Jay Mundrawala | 2015-06-16 | 1 | -6/+12 |
| | |||||
* | Use the central priority map for `provides` | John Keiser | 2015-06-02 | 1 | -7/+0 |
| | |||||
* | Minor updates for PR comments.sd/CI-31 | Serdar Sutay | 2015-05-29 | 1 | -1/+1 |
| | |||||
* | Make sure the audit mode output is reflected both in the logs and in the ↵ | Serdar Sutay | 2015-05-29 | 1 | -2/+2 |
| | | | | formatter output. | ||||
* | Make audit comments nicer! | John Keiser | 2015-05-28 | 1 | -9/+23 |
| | |||||
* | Move notification methods back to Client | John Keiser | 2015-05-28 | 1 | -2/+83 |
| | |||||
* | Don't use deprecated "runner" in RunContext itself | John Keiser | 2015-05-28 | 1 | -1/+1 |
| | |||||
* | Un-deprecate node writing | John Keiser | 2015-05-28 | 1 | -2/+4 |
| | |||||
* | Deprecate some things that don't seem to be needed outside | John Keiser | 2015-05-28 | 1 | -31/+44 |
| | |||||
* | Move public APIs first, private second | John Keiser | 2015-05-28 | 1 | -274/+201 |
| | |||||
* | Comment the heck out of Chef::Client | John Keiser | 2015-05-28 | 1 | -44/+384 |
| | |||||
* | remove cruft | Claire McQuin | 2015-05-27 | 1 | -2/+0 |
| | |||||
* | Raise errors at the end of the client run, for proper exiting. | Claire McQuin | 2015-05-27 | 1 | -24/+25 |
| | |||||
* | remove configuration option | Claire McQuin | 2015-05-27 | 1 | -8/+5 |
| | |||||
* | Mark run failed on failed audits unless configured to audit as warning. | Claire McQuin | 2015-05-27 | 1 | -7/+21 |
| | | | | Remove unnecessary newline from RunFailedWrappingError backtrace | ||||
* | Merge pull request #3207 from Igorshp/exception_handlers | Thom May | 2015-04-30 | 1 | -2/+2 |
|\ | | | | | patch to always run exception handlers | ||||
| * | updated based on @lamont-granquist comments | Igor Shpakov | 2015-04-13 | 1 | -1/+0 |
| | | |||||
| * | do not overwrite whole @run_status in #build_node | Igor Shpakov | 2015-04-11 | 1 | -1/+2 |
| | | |||||
| * | patch to always run exception handlers | Igor Shpakov | 2015-04-09 | 1 | -1/+1 |
| | | | | | | | | | | | | exception handlers require @run_status to be set. This patch moves @run_status declaration higher up so exception handlers report on all problems inside do_run begin block | ||||
* | | move where we dep inject the priority maps | Lamont Granquist | 2015-04-15 | 1 | -0/+7 |
| | | | | | | | | | | fixes the priority maps on chef-apply by wiring it up in the constructor of the client | ||||
* | | add resource_resolver and resource_priority_map | Lamont Granquist | 2015-04-15 | 1 | -6/+6 |
|/ | | | | also wire them up through the Chef class. | ||||
* | Add minimal ohai mode option flagminimal-ohai-mode | danielsdeleo | 2015-03-27 | 1 | -1/+2 |
| | |||||
* | We should not change how exceptions are raised if audit mode is disabled | Jay Mundrawala | 2015-03-17 | 1 | -1/+2 |
| | |||||
* | Fix more incorrect terminology | Julian C. Dunn | 2015-03-11 | 1 | -1/+1 |
| | |||||
* | 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 |