summaryrefslogtreecommitdiff
path: root/spec/unit/resource
Commit message (Collapse)AuthorAgeFilesLines
* Raise error when running 32-bit scripts on Windows Nano.mcquin/nano/disable-32-bitClaire McQuin2015-10-051-13/+17
|
* Merge pull request #3806 from gh2k/subversion-shelloutThom May2015-09-021-0/+4
|\ | | | | Replace output_of_command with shell_out! in subversion provider
| * Replace output_of_command with shell_out! in subversion providerSimon Detheridge2015-08-241-0/+4
| | | | | | | | output_of_command doesn't work properly on Windows (see chef/chef#1533)
* | Make file verification deprecation print the proper source locjk/dedup-messagesJohn Keiser2015-09-011-1/+1
| |
* | Merge pull request #3772 from chef/jdm/dsc-script-ps-credJay Mundrawala2015-08-251-0/+4
|\ \ | | | | | | Add ps_credential dsl method to dsc_script
| * | Test to make sure dsc_script has ps_credential helperJay Mundrawala2015-08-251-0/+4
| |/
* | fix supports hash issues in service providersLamont Granquist2015-08-251-4/+4
|/ | | | | | | - redhat provider now allows the user to override :status - gentoo provider now allows the user to override :status and :restart - service providers now dup the status hash and mutate their private copy instead of mutating the new_resource
* fixes from code reviewLamont Granquist2015-08-201-11/+1
|
* add spec for resource sideLamont Granquist2015-08-201-1/+20
|
* Add support for override depth and adding test in overriding depthGomes da Silva2015-08-121-1/+7
|
* Warn about deprecation `%{file}` interpolation in verify commandmarguerite2015-07-221-0/+18
| | | | See chef/chef#3232
* Interpolate `%{path}` in verify commandmarguerite2015-07-211-5/+15
| | | | See chef/chef#3232
* Merge pull request #3608 from chef/adamedx/powershell_script_spec_renameTyler Ball2015-06-301-0/+0
|\ | | | | Rename powershell spec files to match Ruby conventions
| * Rename powershell spec files to match Ruby conventionsadamedx/powershell_script_spec_renameadamedx2015-06-271-0/+0
| |
* | Test updates for the changes to default actions.Noah Kantrowitz2015-06-2917-19/+19
| |
* | Fix ancillary tests.Noah Kantrowitz2015-06-292-2/+2
|/
* Fix up comments and default priority (when nothing matches)John Keiser2015-06-021-3/+9
|
* Fix ifconfig platform version filterJohn Keiser2015-06-021-3/+1
|
* Make resource deprecation warnings once-only; fix recipe DSL tests back upJohn Keiser2015-06-021-1/+1
|
* Use the central priority map for `provides`John Keiser2015-06-021-1/+1
|
* Add default_action and allowed_actions to Resource class, remove from LWRPJohn Keiser2015-06-016-7/+7
|
* Move resource_name up to Resource, and figure out its value automaticallyJohn Keiser2015-06-011-2/+1
|
* Purge pending specscleanup-pendingdanielsdeleo2015-05-231-1/+1
| | | | RSpec isn't a bug database
* Update specs for remote local file + spacesJay Mundrawala2015-05-211-0/+5
|
* Use canonical_path in windows_package resource for sourcejdm/msi-uri-sourceJay Mundrawala2015-05-151-2/+2
|
* Surface checksum attributeJay Mundrawala2015-05-151-0/+5
|
* Added spec to make sure urls are not modified when creating a ↵Jay Mundrawala2015-05-151-0/+9
| | | | windows_package resource
* Move LWRP class deprecation warning to const_missingJohn Keiser2015-05-132-0/+2
|
* Add specs for remote_file resource + windows network shareJay Mundrawala2015-05-051-0/+10
|
* Ensure link's path attribute works with delayedThom May2015-03-271-0/+15
| | | | Closes #1769, closes #1767
* Revert "Merge pull request #2956 from chef/lcg/deploy-fixes"Jay Mundrawala2015-03-251-27/+0
| | | | | | | | This reverts commit 2603e2153d6ab50179d2278025a51579edb9033f, reversing changes made to a7f5c92960aedf8d5bfc71abbce430ab075e016a. Conflicts: CHANGELOG.md
* Use correct minimum powershell version in specJay Mundrawala2015-03-201-1/+1
|
* Added module_name to dsc_resourceJay Mundrawala2015-03-201-1/+6
|
* Add spec to check that powershell dsl methods are usable inside dsc_resourceJay Mundrawala2015-03-201-0/+6
|
* Fix dsc_resource specJay Mundrawala2015-03-201-4/+4
|
* spec for delayed evaluator in dsc_resourceJay Mundrawala2015-03-201-0/+10
|
* Added test for ensuring property_name is a Symbol in DscResourceJay Mundrawala2015-03-201-4/+12
|
* Added spec for dsc_resource providerJay Mundrawala2015-03-201-0/+56
|
* nillable deploy resource + nillable LWRP argsLamont Granquist2015-02-231-0/+27
| | | | | | | | | | | | | introduced nillable_set_or_return so that we can actually set a nil value on a resource from the DSL. this fixes the case where you want to do (and we document) setting symlink_before_migrate to nil on the deploy resource. to implement this better also moved up the attribute DSL method to the base Chef::Resource class. all LWRP resources are now nillable as well.
* Fix Chef::Resource::File::Verification tests on WindowsSteven Danna2015-02-171-1/+5
|
* Use Chef::Mixin::DescendantsTracker to track registered verificationsSteven Danna2015-02-171-2/+2
|
* Fix typo in test descriptionSteven Danna2015-02-171-1/+1
|
* Implement RFC 027 File VerificationSteven Danna2015-02-173-1/+121
| | | | | | | | This implements usable-suppliable file content verification per RFC 027. Users can supplie a block, string, or symbol to the `verify` resource attribute. Blocks will be called, string will be executed as shell commands (respecing the same options as not_if and only_if), and symbols can be used to access built-in registered validations.
* Merge pull request #2779 from chef/jdm/dsc_script_importsJay Mundrawala2015-02-121-0/+32
|\ | | | | Allow dsc_script to import dsc resources
| * Added spec to make sure a resource can be added to an existing moudle import ↵Jay Mundrawala2015-02-091-0/+7
| | | | | | | | for dsc_script imports
| * Added spec to make sure dsc_script imports can have multiple modulesJay Mundrawala2015-02-091-0/+8
| |
| * Added test for dsc_script resource's import propertyJay Mundrawala2015-02-081-0/+17
| |
* | allow_downgrade in rpm_packagesonots2015-02-121-0/+12
| |
* | patch chef_gem to use Chef::Log.deprecationlcg/chef-gem-config-optionLamont Granquist2015-02-091-6/+6
| |
* | add Chef::Config[:chef_gem_compile_time] plus RELNOTESLamont Granquist2015-02-091-1/+61
| | | | | | | | | | | | | | * added a config flag to force chef_gem to behave like Chef-10/11 or to behave like Chef-13. * added a bunch of release notes to explain the warnings and what to do about them in quite a bit of detail.