summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* More meaningful audit_mode configuration values.sersut/basic-audit-testsSerdar Sutay2014-11-205-8/+22
|
* Fix the failing specs on Mac 10.10. (Not necessarily related to audit-mode ↵Serdar Sutay2014-11-202-2/+2
| | | | but came across when passing all specs on my box)
* Instructions on running audit mode examples.Serdar Sutay2014-11-201-2/+8
|
* Disable audit phase during specs in order not to break the existing rspec ↵Serdar Sutay2014-11-202-0/+7
| | | | configuration.
* * Some primitive recipes that check basic functionality of audit mode.Serdar Sutay2014-11-208-3/+116
| | | | * Fix a minor issue where the exception class was not being found correctly.
* Merge pull request #2453 from opscode/sersut/audit-integSerdar Sutay2014-11-201-3/+2
|\ | | | | Remove compression since the server doesn't support it yet.
| * Remove compression since the server doesn't support it yet.sersut/audit-integSerdar Sutay2014-11-191-3/+2
|/
* Merge pull request #2428 from opscode/sersut/basic-audit-testSerdar Sutay2014-11-1715-36/+308
|\ | | | | Fix "log writing failed. closed stream" errors after audit phase
| * Move the dev-repo cookbooks to kitchen-tests directory based on PR comments.Serdar Sutay2014-11-1712-33/+7
| |
| * Updates based on PR comments.Serdar Sutay2014-11-172-3/+2
| |
| * Make sure we don't close the output_stream after running rspec.sersut/basic-audit-testSerdar Sutay2014-11-147-35/+76
| |
| * Basic test for audit mode.Serdar Sutay2014-11-1412-0/+258
|/
* Merge branch 'audit-mode' into tball/audit-teststball/audit-teststyler-ball2014-11-1399-619/+4416
|\
| * Merge pull request #2415 from opscode/audit-mode-rebaseClaire McQuin2014-11-1399-619/+4416
| |\ | | | | | | Audit mode rebase
| | * Merge branch 'audit-mode' into audit-mode-rebaseaudit-mode-rebaseClaire McQuin2014-11-130-0/+0
| | |\ | | |/ | |/| | | | | | | Conflicts: lib/chef/run_context.rb
| | * Adding audit mode JSON formattertyler-ball2014-11-1315-25/+740
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * Merge pull request #2407 from opscode/sersut/ci-fix-sparcSerdar Sutay2014-11-121-1/+7
| | |\ | | | | | | | | Fix unit specs on Sparc.
| | | * Fix unit specs on Sparc.Serdar Sutay2014-11-121-1/+7
| | |/
| | * Merge pull request #2395 from opscode/jdmundrawala/chef-shell-windowsJay Mundrawala2014-11-111-2/+10
| | |\ | | | | | | | | chef-shell checks platform when looking for client.rb and solo.rb.
| | | * chef-shell checks platform when looking for client.rb and solo.rb.jdmundrawala/chef-shell-windowsJay Mundrawala2014-11-101-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/opscode/chef/issues/2380 pointed out that on windows, -c is required with the -z flag because it would assume nix and look in /etc/chef for client.rb
| | * | Merge pull request #2394 from opscode/jdmundrawala/win-cookbook-ns-colJay Mundrawala2014-11-101-6/+5
| | |\ \ | | | |/ | | |/| Windows event logger no longer imports into the global namespace.
| | | * Windows event logger no longer imports into the global namespace.Jay Mundrawala2014-11-101-6/+5
| | |/ | | | | | | | | | | | | | | | This was causing problems with the windows cookbook trying to redefine one of those constants. This patch solves https://github.com/opscode-cookbooks/windows/issues/141
| | * Merge pull request #2336 from opscode/lcg/12-systemd-fixesjdm/fooSerdar Sutay2014-11-0822-286/+566
| | |\ | | | | | | | | fix systemd for Ubuntu 14.10
| | | * Update md files.Serdar Sutay2014-11-081-1/+7
| | | |
| | | * rspec 3 fixeslcg/12-systemd-fixesLamont Granquist2014-11-081-4/+4
| | | |
| | | * spec fixesLamont Granquist2014-11-083-6/+36
| | | |
| | | * syntax fixes for grepping outputLamont Granquist2014-11-081-2/+6
| | | |
| | | * polishing provider_resolverLamont Granquist2014-11-0816-72/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * makes provides? more correct for linux services * makes supports? more targetted for linux services * remove provider_resolver from the run_context * fix timestamped deploy spec * add more specs
| | | * add some more debug output and commentsLamont Granquist2014-11-081-2/+7
| | | |
| | | * systemctl path fixes, rspec modernization, etcLamont Granquist2014-11-082-188/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - systemd provider uses `which` mixin to determine systemctl path - let-ification of spec tests for system provider - fix some stubbing and mocking of current_resource that was confusing and useless
| | | * extract which to a mixin, use for systemctlLamont Granquist2014-11-083-13/+51
| | | |
| | | * correct list-unit-files + refactoringLamont Granquist2014-11-081-3/+6
| | | |
| | | * fix systemd for Ubuntu 14.10Lamont Granquist2014-11-081-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It has systemctl installed on the system but does not have systemd wired up as init by default and trying to use systemctl throws exceptions that breaks everything. Also add a big banner warning because I'm sure someone is going to think that the shortest past to fixing priority bugs is hacking up what gets reported from these modules, rather than fixing the bugs in the downstream logic.
| | * | Merge pull request #2387 from opscode/sersut/revert-attr-nil-overrideSerdar Sutay2014-11-082-20/+3
| | |\ \ | | | | | | | | | | Revert "CHEF-4101: DeepMerge - support overwriting hash values with nil"
| | | * | Revert "CHEF-4101: DeepMerge - support overwriting hash values with nil"sersut/revert-attr-nil-overrideSerdar Sutay2014-11-082-20/+3
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 972bc2f61685979e5b76f5481e3b1af2bd010d0e. Conflicts: spec/unit/mixin/deep_merge_spec.rb
| | * | Merge pull request #2097 from opscode/lcg/chef-12-attrLamont Granquist2014-11-087-50/+546
| | |\ \ | | | |/ | | |/| Lcg/chef 12 attr
| | | * add md files for chef-12 attr syntaxLamont Granquist2014-11-082-0/+9
| | | |
| | | * fix rspec truthy thingsLamont Granquist2014-11-081-6/+6
| | | |
| | | * fix autovivificationLamont Granquist2014-11-083-33/+88
| | | |
| | | * chef-12 attribute changesLamont Granquist2014-11-085-44/+476
| | |/ | | | | | | | | | | | | | | | - adding rm, rm_default, rm_normal, rm_override APIs - adding default!, normal! and override! APIs - changing force_default! and force_override! APIs
| | * Merge pull request #2370 from opscode/ryan/follow_symlinksSerdar Sutay2014-11-073-1/+25
| | |\ | | | | | | | | Make client.pem being a symlink a configurable option
| | | * Fix rspec 3 specs.ryan/follow_symlinksSerdar Sutay2014-11-071-2/+2
| | | |
| | | * Add spec for making client.pem a symlink a config optionRyan Cragun2014-11-071-0/+16
| | | |
| | | * Make client.pem being a symlink a configurable optionRyan Cragun2014-11-072-1/+9
| | | |
| | * | Add CLA_ARCHIVE -- List of CLAs from pre-supermarket timesdanielsdeleo2014-11-071-0/+2510
| | |/
| | * Merge pull request #2368 from opscode/sersut/knife-cloud-bootstrap-optionsSerdar Sutay2014-11-073-9/+36
| | |\ | | | | | | | | Knife cloud plugins bootstrap problem with Chef 12 when using custom templates.
| | | * Rspec 3 compat.Serdar Sutay2014-11-071-3/+3
| | | |
| | | * Make sure that :distro is evaluated later than :bootstrap_template and ↵Serdar Sutay2014-11-073-9/+36
| | |/ | | | | | | | | | :template_file in order for knife cloud plugins to work corectly with Chef 12.
| | * Merge pull request #2324 from opscode/mcquin/rspec-3Claire McQuin2014-11-07321-7488/+7505
| | |\ | | | | | | | | Update to RSpec 3
| | | * Don't populate X-Chef-Version.mcquin/rspec-3Claire McQuin2014-11-071-0/+7
| | | |