Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | windows_package installer_type should be a symbol | Bryan McLellan | 2014-10-30 | 1 | -1/+1 |
| | | | | | | | Fixes #1997 Conflicts: spec/unit/resource/windows_package_spec.rb | ||||
* | Merge pull request #2313 from opscode/sersut/win-res-lookup-fix | Serdar Sutay | 2014-10-30 | 2 | -2/+4 |
| | | | | | | Make sure windows_service and windows_package resources are found with the new dynamic provider resolver. Conflicts: spec/unit/resource/windows_package_spec.rb | ||||
* | Merge pull request #1596 from opscode/lcg/provider-resovler | Lamont Granquist | 2014-10-24 | 45 | -54/+75 |
|\ | | | | | CHEF-3404: Provider Resolver | ||||
| * | Chef-12 RC Provider Resolver | Lamont Granquist | 2014-10-24 | 45 | -54/+75 |
| | | | | | | | | | | makes resource and provider class resolution more dynamic. begins deprecation of Chef::Platform static mapping. | ||||
* | | Set guard_interpreter using default_guard_interpreter | Adam Edwards | 2014-10-23 | 1 | -1/+1 |
| | | |||||
* | | powershell_script and batch resource guard_interpeter default to parent resource | Adam Edwards | 2014-10-23 | 2 | -2/+3 |
|/ | |||||
* | Set the :default_guard_interpreter to :default so that the script resource ↵ | Serdar Sutay | 2014-10-20 | 1 | -0/+1 |
| | | | | guards are executed correctly. | ||||
* | Merge pull request #2216 from opscode/tball/bsd_package_name | Tyler Ball | 2014-10-17 | 1 | -12/+0 |
|\ | | | | | Notify a resource by the `resource[name]` key it was written as | ||||
| * | Removing all traces of 'created_as_type' since that fix is no longer necessary | tyler-ball | 2014-10-16 | 1 | -12/+0 |
| | | |||||
* | | Differentiate between the default and the user set guard_attributes in order ↵ | Serdar Sutay | 2014-10-16 | 2 | -21/+17 |
| | | | | | | | | to be able to warn users correctly when they configure a guard_attribute but use a ruby block in the guard. | ||||
* | | Enable guard_interpreters for the execute resource and set the default ↵ | Serdar Sutay | 2014-10-16 | 3 | -39/+45 |
| | | | | | | | | | | | | interpreter for the execute resource to be :execute. This ensures that attributes of the resource like :environment & :cwd can be inherited by the guard when guard is specified as a string. | ||||
* | | Remove the "path" attribute from "execute" resource which has never been ↵ | Serdar Sutay | 2014-10-16 | 1 | -9/+0 |
|/ | | | | backed by any providers. | ||||
* | Merge pull request #2165 from coderanger/rfc017 | Serdar Sutay | 2014-10-10 | 2 | -2/+2 |
|\ | | | | | RFC 17 implementation | ||||
| * | Rework template/file loading to not require the default/ and to accept an ↵ | Noah Kantrowitz | 2014-10-04 | 2 | -2/+2 |
| | | | | | | | | | | | | | | array for explicit search path manipulation. This is the backwards compatible solution to migrate away from the implicit search path in favor of making it explicit when needed (which is rarely). Conflicts: lib/chef/cookbook_version.rb | ||||
* | | Merge pull request #1907 from Aevin1387/freebsd-port-pkgng | Serdar Sutay | 2014-10-10 | 1 | -12/+11 |
|\ \ | | | | | | | Have freebsd port use pkg info if the freebsd version is >= 10000017 | ||||
| * | | Move supports_with_pkgng? check to the freebsd_package package. | Cory Stephenson | 2014-08-28 | 1 | -11/+10 |
| | | | |||||
| * | | Have freebsd port use pkg info if the freebsd version is >= 10000017 | Cory Stephenson | 2014-08-24 | 1 | -2/+2 |
| | | | |||||
* | | | Merge pull request #2197 from opscode/sersut/fixup-chef-1662 | Serdar Sutay | 2014-10-09 | 1 | -1/+12 |
|\ \ \ | | | | | | | | | Keep deprecation of valid_actions until Chef 13. | ||||
| * | | | Revert "Remove appending :actions and :valid_actions" | Serdar Sutay | 2014-10-09 | 1 | -1/+12 |
| | | | | | | | | | | | | | | | | This reverts commit 4aec038d42eae5c3c3bac50aa211d2b69cf54019. | ||||
* | | | | Updates based on PR comments.sersut/no-lwrp-class-reload | Serdar Sutay | 2014-10-09 | 1 | -1/+0 |
| | | | | |||||
* | | | | Don't override LWRP resources or providers anymore in Chef 12. | Serdar Sutay | 2014-10-08 | 1 | -13/+12 |
|/ / / | |||||
* | | | Merge pull request #2103 from opscode/jdmundrawala/issue-2027-master | Jay Mundrawala | 2014-10-08 | 1 | -16/+2 |
|\ \ \ | | | | | | | | | We now check for powershell/dsc compat in provider. | ||||
| * | | | We now check for powershell/dsc compat in provider.jdmundrawala/issue-2027-master | Jay Mundrawala | 2014-09-22 | 1 | -16/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem with raising an exception when the resource is created was that it was not possible to have a chef recipe that installs the correct version of powershell and then runs the dsc_script resource. See https://github.com/opscode/chef/issues/2027 | ||||
* | | | | homebrew_owner now tries to run homebrew as the user who owns the `brew` ↵ | tyler-ball | 2014-10-07 | 1 | -0/+11 |
| |_|/ |/| | | | | | | | | executable, or an optional homebrew_package resource attribute | ||||
* | | | Remove duplicate exception | Bryan McLellan | 2014-09-30 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | We already check for command || block_given? in initialize, so command cannot be nil && not have a block when we get here. | ||||
* | | | unit test for guard_interpreter creation during compilation | Bryan McLellan | 2014-09-30 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | make sure we don't evaluate the guard_interpreter immediately, i.e. during compilation of the resource, as the conditional may be seen before the guard_interpreter attribute. | ||||
* | | | refactor conditional to evaluate for guards later | Bryan McLellan | 2014-09-30 | 1 | -7/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | If we don't create the guard_interpreter until we're ready to test it, we're sure to already have all the resource attributes evaluated. Previously we set up the guard_interpreter upon initialization, that is when it was first set on the resource. | ||||
* | | | update functional tests for guard_interpreter | Bryan McLellan | 2014-09-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | we now raise an error when passed a block and a guard_interpreter is specified other than :default. When other interpreters become the "default" (which actually means use the default shell for that platform) we will need to consider those as well, i.e. #1495. | ||||
* | | | guard_interpreter requires a command | Bryan McLellan | 2014-09-30 | 1 | -0/+5 |
|/ / | | | | | | | | | | | | | | | Raises an exception if guard_interpreter is set (not :default) and we are not given a command (i.e. we are given a block). This is not supported, as we pass a command to an external interpreter. Related to #1943 | ||||
* | | Restoring https://github.com/opscode/chef/pull/1921 to master - somehow it ↵ | tyler-ball | 2014-09-19 | 1 | -0/+34 |
| | | | | | | | | got deleted from the git log | ||||
* | | DscScript resource will raise an error if dsc is not available | Jay Mundrawala | 2014-09-19 | 1 | -1/+18 |
| | | |||||
* | | Add configurationdata attribute support | Adam Edwards | 2014-09-19 | 1 | -4/+26 |
| | | |||||
* | | Initial dsc_configuration resource implementation | Adam Edwards | 2014-09-19 | 1 | -0/+101 |
| | | |||||
* | | Improve the action and throw-label names. | Chris Doherty | 2014-09-12 | 1 | -2/+5 |
| | | |||||
* | | Rename actions to :request_reboot_on_successful_run and :reboot_interrupt_run. | Chris Doherty | 2014-09-10 | 1 | -1/+1 |
| | | |||||
* | | Remove the timestamp attribute, which isn't actually settable by the user. | Chris Doherty | 2014-09-10 | 1 | -4/+0 |
| | | |||||
* | | 'timeout' -> 'delay_mins'; add a run_context() shim for RebootPending. | Chris Doherty | 2014-09-10 | 1 | -3/+3 |
| | | |||||
* | | First-pass changes for a core reboot resource. Still uses run_state instead ↵ | Chris Doherty | 2014-09-10 | 1 | -0/+49 |
|/ | | | | of run_context. | ||||
* | CHEF-1737: Fix noauto support. | markgibbons | 2014-08-21 | 1 | -0/+9 |
| | | | | | Add fsck device support. Allow vxfs device types. | ||||
* | set nil by default, add two specs | sawanoboly | 2014-08-21 | 1 | -1/+1 |
| | |||||
* | add_env_to_scm_resource | sawanoboly | 2014-08-21 | 1 | -0/+10 |
| | |||||
* | Make sure freebsd_package is captured with the resource name it's declared ↵ | Serdar Sutay | 2014-08-13 | 1 | -2/+10 |
| | | | | with in resource collection. | ||||
* | * Dscl user provider changes to support Mac 10.7, 10.8 & 10.9. | Serdar Sutay | 2014-08-12 | 1 | -0/+18 |
| | | | | | | * Make the dscl user provider password handling idempotent. * Refactor / modernize dscl user provider unit tests. * Functional tests for dscl user provider. | ||||
* | CHEF-5022: Add tests for #set_start_type and cleanup | Bryan McLellan | 2014-08-12 | 1 | -2/+1 |
| | |||||
* | CHEF-5022: Don't use provides in the resource | Bryan McLellan | 2014-08-12 | 1 | -1/+4 |
| | | | | | | | Wait until #1773 is fixed to use provides in the resource. This means you need to specify windows_service in your recipes if you want to use the :configure_startup action and the startup_type attribute. | ||||
* | CHEF-5022: Add configure_startup action | Bryan McLellan | 2014-08-12 | 1 | -1/+2 |
| | | | | | | enable and disable actions will continue to set the startup type to automatic/disabled If you want the startup type to be manual, you can set the startup_type attribute and use action configure_startup. It also supports automatic and disabled. | ||||
* | CHEF-5022: Differentiate between Windows service startup_types | Bryan McLellan | 2014-08-12 | 1 | -0/+50 |
| | | | | | | | | | A Windows service startup_type can be automatic, manual, or disabled. This adds a startup_type attribute to specify automatic or manual, and defaults to automatic because we currently have no functionality to set a service to manual. This is important because if you stop a service that is automatic, Windows will change the startup_type to manual. | ||||
* | Merge pull request #1680 from BundesIT/master | Claire McQuin | 2014-08-07 | 1 | -0/+1 |
|\ | | | | | Some minor fixes for the Paludis package provider | ||||
| * | whitespace fix in paludis_package.rb | tbe | 2014-07-28 | 1 | -1/+1 |
| | | |||||
| * | moved init of timeout for paludis packages to the right place | Thomas Berger | 2014-07-26 | 1 | -0/+1 |
| | |