Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Autofixing Style/PercentLiteralDelimeterslcg/percentliteraldelimeters | Lamont Granquist | 2016-01-18 | 1 | -2/+2 |
| | | | | | | See chef/chefstyle#11 for analysis and discussion. We select '{}' since audit of our source code shows that is the most common, and that used to be the dominant learning paradigm (e.g. in ruby 1.9 pickaxe book. | ||||
* | Use double quotes by default | Thom May | 2016-01-14 | 10 | -28/+28 |
| | | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing. | ||||
* | autocorrecting Style/TrailingCommalcg/trailing_comma | Lamont Granquist | 2016-01-13 | 1 | -4/+4 |
| | | | | chefstyle -a fixed 1044 occurrances | ||||
* | really fix copslcg/really-fix-cops | Lamont Granquist | 2016-01-12 | 1 | -6/+6 |
| | |||||
* | chefstyle: fix Lint/StringConversionInInterpolation | Lamont Granquist | 2016-01-12 | 1 | -1/+1 |
| | | | | useless use of `"#{foo.to_s}"` | ||||
* | WMF 5 RTM and Win 10 Threshold 2 allow the RefreshMode to be enabled. | Steven Murawski | 2015-11-18 | 1 | -3/+14 |
| | |||||
* | support split-usr on ubuntu platforms | Nathan Williams | 2015-10-23 | 1 | -2/+2 |
| | |||||
* | fix specs | Nathan Williams | 2015-10-23 | 1 | -2/+2 |
| | |||||
* | move gross non-service "services" to separate detection method | Nathan Williams | 2015-10-23 | 1 | -5/+13 |
| | |||||
* | re-sync with master | Nathan Williams | 2015-10-23 | 2 | -25/+72 |
|\ | |||||
| * | Make service_providers return the providers | John Keiser | 2015-09-28 | 1 | -6/+10 |
| | | |||||
| * | Get rid of state-keeping and reset in ServiceHelpersjk/systemctl-shenanigans | John Keiser | 2015-09-28 | 1 | -31/+19 |
| | | |||||
| * | Add test for nonzero systemctl exit code | John Keiser | 2015-09-28 | 1 | -11/+12 |
| | | |||||
| * | Add system providers to the list of world-stubbed stuff | John Keiser | 2015-09-28 | 1 | -0/+5 |
| | | |||||
| * | return empty array if no services found | Ranjib Dey | 2015-09-28 | 1 | -1/+1 |
| | | |||||
| * | Lazy load MSI provider, add check for MSI supportsalam/lazy-msi | Salim Alam | 2015-09-22 | 1 | -0/+16 |
| | | |||||
| * | Don't add win_evt logger when on nano. | Claire McQuin | 2015-09-18 | 1 | -1/+23 |
| | | |||||
| * | Rename refresh_mode_disabled? to dsc_refresh_mode_disabled?mcquin/dsc_resource_spec | Claire McQuin | 2015-09-08 | 1 | -1/+1 |
| | | |||||
| * | Skip tests unless RefreshMode is Disabled | Claire McQuin | 2015-09-08 | 1 | -0/+7 |
| | | |||||
* | | add support for non-service units | Nathan Williams | 2015-09-01 | 1 | -1/+2 |
| | | |||||
* | | support service names like redis@6380 derived from units like redis@.service | Nathan Williams | 2015-08-29 | 1 | -1/+1 |
| | | |||||
* | | Revert "include systemd in configs if init.d on systemd-based system" | Nathan Williams | 2015-08-28 | 1 | -1/+0 |
| | | | | | | | | | | | | I'm not actually sure where this is used, so maybe leave it be. This reverts commit 5a78ea32aaaee75265086c27d273f5c7dc1c111e. | ||||
* | | include systemd in configs if init.d on systemd-based system | Nathan Williams | 2015-08-28 | 1 | -0/+1 |
| | | |||||
* | | ::File | Nathan Williams | 2015-08-28 | 1 | -1/+1 |
| | | |||||
* | | simplify service helpers | Nathan Williams | 2015-08-28 | 1 | -40/+9 |
|/ | |||||
* | Fix error message for providers without `provides` | Christian Höltje | 2015-08-19 | 1 | -6/+5 |
| | | | | | | | | | | | The warning incorrectly said that the provider was missing `resource_name :resource` when it should have said it was missing `provides :resource` I also switched from using `begin`...`rescue` since it isn't needed and needlessly slow things up. Fixes #3614 | ||||
* | Add ability to specify dependencies in chef-service-manager. | Kartik Null Cating-Subramanian | 2015-07-24 | 1 | -4/+1 |
| | |||||
* | Merge pull request #3684 from coderanger/remove-warning | Noah Kantrowitz | 2015-07-23 | 1 | -5/+0 |
|\ | | | | | Remove warnings about hander overrides. | ||||
| * | Remove warnings about hander overrides. | Noah Kantrowitz | 2015-07-19 | 1 | -5/+0 |
| | | | | | | | | | | | | | | These are high-volume, difficult to silence, and often not actually an error (in which case they may be impossible to silence forever). Worse, doing what the error says and setting override:true without understanding what that does can have unexpected effects (https://github.com/jssjr/git/issues/71). | ||||
* | | Correct Windows reboot command to delay in minutes | Jimmy McCrory | 2015-07-19 | 1 | -1/+1 |
|/ | | | | | Correct the command used to reboot Windows machines so that it converts a given delay_mins option to the appropriate number of seconds. | ||||
* | Memoize enabled_handlers so it is not recomputedjk/separate-priority-map | John Keiser | 2015-07-06 | 2 | -0/+36 |
| | |||||
* | Re-separate priority map and DSL handler map so that provides has veto power ↵ | John Keiser | 2015-07-06 | 5 | -43/+85 |
| | | | | over priority | ||||
* | Optimize logic on class initialize so it doesn't fall into the | John Keiser | 2015-06-30 | 1 | -1/+7 |
| | | | | | | "look at all classes to see if they provide the DSL" else clause when you're just setting resource_name (which happens on every class). Perf fix for tests. | ||||
* | Call provides? when resolving, reduce number of calls to provides? | John Keiser | 2015-06-30 | 1 | -2/+2 |
| | | | | in Provider | ||||
* | Fix to allow LW resources to be used with HW providersjdm/lwrp-fix | Jay Mundrawala | 2015-06-24 | 1 | -1/+2 |
| | | | | | | | | | | | | | | This should fix sethvargo-cookbooks/swap#22 Here's what was happening: The cookbooks creates a Resource using the LWRP base. This dynamically creates a class. We used to create this class with the name Chef::Resource::SomeResourceName. In 12.4, this change to something like "LWRP resource some_resource_name from cookbook CookbookName". When searching for a provider, it couldn't be found because it wasn't explicitly set, as it would have been if it was a LW provider, and it wasn't found in Chef::Provider, because Chef::Provider had a provider SomeResourceName instead of "LWRP resource some_resource_name from cookbook CookbookName". | ||||
* | Use the right call. | Noah Kantrowitz | 2015-06-19 | 1 | -1/+1 |
| | | | set_priority_array is the right thing for this. | ||||
* | Re-add #priority. | Noah Kantrowitz | 2015-06-19 | 1 | -0/+4 |
| | | | Possible fix for https://github.com/chef/chef/issues/3561. | ||||
* | Sort identical "provides" alphabetically (for backcompat) | John Keiser | 2015-06-18 | 4 | -45/+60 |
| | | | | - Warn when multiple providers try to provide the same thing | ||||
* | Make sure resource_name :x only removes automatic provides from that class | John Keiser | 2015-06-08 | 1 | -2/+2 |
| | |||||
* | Overwrite resource_name with provides | John Keiser | 2015-06-08 | 1 | -2/+2 |
| | |||||
* | Make use_automatic_resource_name automatic | John Keiser | 2015-06-08 | 2 | -4/+7 |
| | |||||
* | Create tests for all previous provider_mappingsjk/one_map_to_rule_them_all | John Keiser | 2015-06-02 | 1 | -1/+1 |
| | |||||
* | Fix ifconfig platform version filter | John Keiser | 2015-06-02 | 2 | -12/+4 |
| | |||||
* | Move provider_mapping values out into the actual resource classes | John Keiser | 2015-06-02 | 1 | -266/+1 |
| | |||||
* | Narrow resolvers to only look at parts of the map we support | John Keiser | 2015-06-02 | 2 | -6/+8 |
| | |||||
* | Use the central priority map for `provides` | John Keiser | 2015-06-02 | 2 | -78/+13 |
| | |||||
* | Use executionpolicy Bypass in powershell_script provider for PS 3.0 and later | adamedx | 2015-05-29 | 1 | -0/+5 |
| | |||||
* | Stub `windows?` on ChefConfig so it applies to config | danielsdeleo | 2015-05-20 | 1 | -5/+1 |
| | |||||
* | Package and Service are abstract and should never be used | John Keiser | 2015-05-13 | 1 | -2/+0 |
| | |||||
* | Fix exception thrown from deprecation warning | John Keiser | 2015-05-13 | 1 | -6/+6 |
| |