summaryrefslogtreecommitdiff
path: root/spec/unit
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | fixes #4968 and only retrieves the latest version of packages from chocolateychoco_arMatt Wrock2016-05-271-15/+1
| | | | |
* | | | | break yum provider out into fileslcg/yum-readabilityLamont Granquist2016-05-251-0/+27
|/ / / /
* | | | * define exit codesSteven Murawski2016-05-233-4/+237
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * exit code functional specs * audit exit codes * reboot now/reboot failed/reboot pending exit codes * Deal with forked and unforked process and get the right exit code * Reboot Now should really be reboot scheduled * pass exception rather than exit code * updated with sigint and sigterm * support legacy fatal!("", 2) behavior * fixup all fatal! and exit! calls
* | | Merge pull request #4902 from MichaelPereira/handle-user-id-git-resourceThom May2016-05-181-0/+36
|\ \ \ | | | | | | | | Handle numeric id for the user value in the git resource
| * | | remove extra space from expected unit test outputMichael Pereira2016-05-101-1/+1
| | | |
| * | | try @thommay suggestion for resolving unit test issueMichael Pereira2016-05-101-1/+1
| | | |
| * | | Handle numeric id for the user value in the git resourceMichael Pereira2016-05-051-0/+36
| | | |
* | | | Load cookbook versions correctly for knifetm/fix_cb_showThom May2016-05-161-90/+89
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #4934 Signed-off-by: Thom May <thom@may.lt>
* | | | Ensure that legacy mode and local mode workThom May2016-05-161-90/+120
| | | | | | | | | | | | | | | | Signed-off-by: Thom May <thom@chef.io>
* | | | Ensure that solo specific code is run at the proper timeThom May2016-05-168-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | ie, only when we're in OG mode and not in local mode. Signed-off-by: Thom May <thom@chef.io>
* | | | Merge pull request #4933 from chef/lcg/better-handler-wiringLamont Granquist2016-05-141-0/+87
|\ \ \ \ | | | | | | | | | | wire up chef handlers directly from libraries
| * | | | wire up chef handlers directly from librarieslcg/better-handler-wiringLamont Granquist2016-05-131-0/+87
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | smear just a little bit of minimal DSL wiring into the Chef::Report class so that classes can wire themselves up automatically as handlers. this also extends the Chef::Config[*_handler] arrays to take classes as well as instances. in the case of passing a class that is not a singleton, a new instance will be created when the report is run. it will obviously be difficult to pass any state into this instance. if the class that is passed supports calling `#instance` we assume it is a Singleton and get the instance and use that. this is to support other chef code grabbing/creating the singleton instance and poking it with data (probably configuring where the reporter goes and what creds it needs to publish and other stuff).
* | | | reject malformed ini contentNathan Williams2016-05-131-1/+26
|/ / /
* | | Merge pull request #4760 from svmastersamurai/fix_choco_nil_chompPhil Dibowitz2016-05-051-0/+2
|\ \ \ | | | | | | | | Chocolatey Package Provider chomps nil object
| * | | updated code + specsDan Sedlacek2016-03-281-0/+2
| | | |
* | | | Merge pull request #4888 from chef/lcg/multipackage-apt-providerLamont Granquist2016-05-052-36/+109
|\ \ \ \ | | | | | | | | | | Make apt package provider use_multipackage_api aware
| * | | | add tests around purging and removing virtual packageslcg/multipackage-apt-providerLamont Granquist2016-05-031-8/+30
| | | | |
| * | | | add check for passing nil candidate_version to superclassLamont Granquist2016-05-031-0/+24
| | | | |
| * | | | lazier assembly of data, more multipackagingLamont Granquist2016-05-031-9/+18
| | | | |
| * | | | multipackage apt providerLamont Granquist2016-05-032-25/+43
| | | | |
* | | | | nuke some out of date teststm/r_rolesThom May2016-05-051-10/+8
| |_|_|/ |/| | |
* | | | Merge pull request #4869 from chef/lcg/package-lazy-monadsLamont Granquist2016-05-045-9/+285
|\ \ \ \ | |/ / / |/| | | Lazy'ing candidate_version in package provider
| * | | MOAR commentsLamont Granquist2016-05-021-0/+1
| | | |
| * | | WIPLamont Granquist2016-05-023-0/+239
| | | |
| * | | Update gem_package with version constraint on :upgrade actionWill Jordan2016-05-022-9/+45
| | |/ | |/| | | | | | | | | | | | | Add Package#version_requirement_satisfied? to separate fuzzy-match (:install) and exact-match (:upgrade) version checks when supported by the package subclass. Wrap Package#candidate_version in a lazy-initialization object to minimize unnecessary API queries when candidate_version is not needed. (fixes #3867)
* | | Merge pull request #4873 from joshburt/jb_git_hwrp_shell_out_cleanupThom May2016-05-031-18/+41
|\ \ \ | | | | | | | | Consolidate shell_out usage when calling git within it's HWRP.
| * | | address chefstyle offensesJoshua C. Burt2016-04-271-10/+10
| | | |
| * | | correct spacing in the testsJoshua C. Burt2016-04-271-2/+2
| | | |
| * | | merge of external updates from jgit repoJoshua C. Burt2016-04-271-13/+36
| | | |
* | | | Merge pull request #4886 from chef/ssl_check_winMatt Wrock2016-05-031-0/+16
|\ \ \ \ | | | | | | | | | | fixes knife ssl check on windows
| * | | | fixes knife ssl check on windowsssl_check_winMatt Wrock2016-05-021-0/+16
| | |/ / | |/| |
* | | | Merge pull request #4871 from chef/tm/chef_fs_unit_testsThom May2016-05-031-0/+129
|\ \ \ \ | |/ / / |/| | | add tests for ChefFS path formatting
| * | | add tests for path formattingtm/chef_fs_unit_testsThom May2016-04-281-0/+129
| | | |
* | | | Merge pull request #4700 from nathwill/features/systemd-unitThom May2016-05-012-0/+930
|\ \ \ \ | |/ / / |/| | | add systemd_unit resource
| * | | add systemd_unit resource/providerNathan Williams2016-04-162-0/+930
| | | |
* | | | Merge pull request #4855 from kbruner/mdadm_layoutThom May2016-04-262-2/+16
|\ \ \ \ | | | | | | | | | | Add layout option support for device creation to mdadm resource provider
| * | | | fix existing bitmap unit test in mdadm resourceKaren Bruner2016-04-211-2/+2
| | | | |
| * | | | add support for --layout option to mdadm resource providerKaren Bruner2016-04-212-0/+14
| | | | |
* | | | | Merge pull request #4642 from chef/ksubrama/fips_acceptanceKartik Null Cating-Subramanian2016-04-2613-26/+20
|\ \ \ \ \ | | | | | | | | | | | | Run the integration tests in FIPS mode
| * | | | | Too much log output and unnecessary warnings! Suppress that shit.Kartik Null Cating-Subramanian2016-04-2513-26/+20
| | |_|/ / | |/| | |
* | | | | Merge pull request #4866 from chef/fix_acceptanceMatt Wrock2016-04-251-0/+1
|\ \ \ \ \ | | | | | | | | | | | | fix fips acceptance failures
| * | | | | fix fips acceptance failuresMatt Wrock2016-04-251-0/+1
| | | | | |
* | | | | | Merge branch 'lcg/shell_out_syntax'Lamont Granquist2016-04-251-0/+4
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | make deprecation warnings actual deprecation warningsLamont Granquist2016-04-251-0/+4
| | | | | |
* | | | | | The easy_install provider (and resource) are deprecated and will be removed ↵Noah Kantrowitz2016-04-231-0/+6
| |/ / / / |/| | | | | | | | | | | | | | | | | | | in Chef 13. This is because easy_install itself is long-since deprecated by the Python community and has been de-facto unmaintained for around 5 years.
* | | | | Update rubygems provider to support local install of gems if so specifiedksubrama+praj/FLOW-298/local_gemPrajakta Purohit2016-04-211-4/+8
| |/ / / |/| | |
* | | | Extract common ChefFS file codeThom May2016-04-211-0/+128
| | | |
* | | | update to latest chefstyle - fix casecmptm/fix_casecmpThom May2016-04-201-1/+1
|/ / /
* | | ignore deprecation warning in testLamont Granquist2016-04-151-0/+1
| | |
* | | add better resource manipulation APILamont Granquist2016-04-152-0/+365
|/ / | | | | | | | | deprecates chef_rewind functionality completely and adds a few more features