summaryrefslogtreecommitdiff
path: root/spec/unit/provider
Commit message (Collapse)AuthorAgeFilesLines
* Fix AppVeyorsalam/template-fixSalim Alam2015-10-011-1/+1
|
* Clean up tests, fix bug in tempfile_openSalim Alam2015-09-301-8/+12
|
* Get rid of truthy/falseySalim Alam2015-09-301-8/+8
|
* Use Chef::FileContentManagement::Tempfile to create temp fileSalim Alam2015-09-291-0/+46
|
* Remove pesky whitespacemcquin/remove-constClaire McQuin2015-09-211-1/+0
|
* Remove should from spec textClaire McQuin2015-09-211-28/+28
|
* Use letClaire McQuin2015-09-211-169/+170
|
* Safely clean up Win32 namespace after specsClaire McQuin2015-09-211-3/+14
|
* Rename refresh_mode_disabled? to dsc_refresh_mode_disabled?mcquin/dsc_resource_specClaire McQuin2015-09-081-3/+3
|
* Skip tests unless RefreshMode is DisabledClaire McQuin2015-09-081-10/+3
|
* refactor remote_directory providerLamont Granquist2015-09-021-2/+1
| | | | | | | | | | | | | | | | | | | - Huge speed and memory perf boost. In the prior code if you were copying 10 dotfiles to a home directory with a million files in it, would slurp all million files into a ruby Set object even if you were not ultimately going to purge the unmanaged files. This code inverts the logic and tracks managed files and then iterates through the filesystem without slurping a list into memory. - Only do file purging logic if purging is set. - Fixes mutation of new_resource.overwrite. - Fixes mutation of new_resource.rights (subtle). - Adds helper delegators to the new_resource properties. - Deprecates (instead of removes) now-unused methods. - Renamed a method (with deprecated alias preserved) for consistency. - Adds YARD for everything. - Changes protected to private because protected is largely useless in ruby. - Removes whyrun_supported? because the superclass sets that.
* fix locking/unlocking users on SmartOSDave Eddy2015-09-021-9/+66
|
* Merge pull request #3806 from gh2k/subversion-shelloutThom May2015-09-021-31/+50
|\ | | | | Replace output_of_command with shell_out! in subversion provider
| * Replace output_of_command with shell_out! in subversion providerSimon Detheridge2015-08-241-31/+50
| | | | | | | | output_of_command doesn't work properly on Windows (see chef/chef#1533)
* | Merge pull request #3172 from BackSlasher/deploy-shell-outThom May2015-09-021-5/+5
|\ \ | | | | | | Migrated deploy resource to use shell_out instead of run_command
| * | Migrated deploy resource to use shell_out instead of run_commandNitz2015-08-181-5/+5
| | | | | | | | | | | | Should help with troubleshooting failed migrations
* | | fix supports hash issues in service providersLamont Granquist2015-08-253-22/+40
| |/ |/| | | | | | | | | | | - 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-0/+40
| |
* | add a test for the new provider behaviorLamont Granquist2015-08-201-1/+14
| |
* | green the broken testsLamont Granquist2015-08-201-23/+43
| |
* | Merge pull request #3793 from chef/lcg/run_levelsLamont Granquist2015-08-191-4/+68
|\ \ | | | | | | Lcg/run levels
| * | spec and code fixes for run_levelsLamont Granquist2015-08-191-20/+50
| | |
| * | CHEF-5372: Support specific run_levels for RedHat serviceRobby Dyer2015-08-181-0/+34
| | |
* | | Merge pull request #3787 from chef/jdm/rhel-dir-specJay Mundrawala2015-08-191-0/+1
|\ \ \ | |/ / |/| | Fix failing directory unit tests on rhel
| * | Fix failing directory unit tests on rheljdm/rhel-dir-specJay Mundrawala2015-08-171-0/+1
| |/ | | | | | | | | | | do_selinux needs to be mocked out so it does not actually do anything. Otherwise, it will be available on rhel and the tests are no longer unit and will fail
* | Added changes to fix rspec deprecationssiddheshwar-more2015-08-181-3/+3
| |
* | Removed invalid test from mount_fs testsiddheshwar-more2015-08-181-7/+0
| |
* | Added changes to fix aix mount provider related tests according to updated ↵siddheshwar-more2015-08-183-5/+8
| | | | | | | | base mount provider
* | added tests for mount remountingJames Belchamber2015-08-183-1/+37
| |
* | PR feedbackLamont Granquist2015-08-181-1/+1
| |
* | CHEF-5012: add methods for template breadcrumbsLamont Granquist2015-08-181-0/+41
|/ | | | | | | | | | | | | | adds: - cookbook_name - recipe_name - recipe_line_string - recipe_path - recipe_line - template_name - template_path accessible both as instance var (@-) and method (bare), like @node/node.
* Merge pull request #3657 from stefanor/upstart-status_commandThom May2015-08-131-7/+11
|\ | | | | shell_out! returns an object not an integer
| * shell_out! returns an object not an integerStefano Rivera2015-07-091-7/+11
| |
* | Merge pull request #3383 from jfly/masterThom May2015-08-131-0/+18
|\ \ | | | | | | gem_package should install to the systemwide Ruby when using ChefDK.
| * | Added some pretty straightforward tests of is_omnibus?Jeremy Fleischman2015-05-181-0/+18
| | |
* | | Merge pull request #3329 from juliandunn/ifconfig-targetThom May2015-08-131-2/+22
|\ \ \ | | | | | | | | Use target, not name, if it is specified.
| * | | Add tests per review.Julian C. Dunn2015-07-041-2/+22
| | |/ | |/|
* | | Merge pull request #3759 from juliandunn/service-group-3730Julian C. Dunn2015-08-121-3/+3
|\ \ \ | | | | | | | | Don't use shell_out! on "lssrc -g"
| * | | Don't use shell_out! on "lssrc -g" as it will raise an exception if the ↵Julian C. Dunn2015-08-061-3/+3
| | | | | | | | | | | | | | | | service is not a group.
* | | | Use the output of dpkg-deb directly, rather than regextm/use-dpkg-debThom May2015-08-121-1/+8
| | | | | | | | | | | | | | | | Thanks to @kwilczynski for the original implementation
* | | | Added support for OS X 10.11 SIP pathsNate Walck2015-08-111-0/+34
|/ / /
* | | Fixed platform_Version logicNate Walck2015-07-211-3/+3
| | |
* | | Merge branch 'elcap-service'Nate Walck2015-07-211-2/+2
|\ \ \ | |/ / |/| |
| * | Add 10.11 to macosx_spec.rbNate Walck2015-07-211-2/+2
| | |
* | | 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
| | | |
* | | | Rename NoProviderAvailable to ProviderNotFound, add aliasJohn Keiser2015-06-302-5/+5
| | | |
* | | | Fix ancillary tests.Noah Kantrowitz2015-06-291-1/+1
|/ / /
* | | changed the registry_key provider to scan collected registry keys with ↵JKerry2015-06-261-0/+12
|/ / | | | | | | downcased keys
* | Make the install/uninstall tests run more realisticallydanielsdeleo2015-06-091-104/+162
| | | | | | | | | | Call all the methods Provider#run_action would call rather than just poking lower-level implementation.