Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mechanical conversion of most debug log statements to trace | Thom May | 2018-03-26 | 1 | -14/+14 |
| | | | | Signed-off-by: Thom May <thom@chef.io> | ||||
* | chef code changes for changing amazon platform_family | Lamont Granquist | 2017-04-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
* | Chef-13: remove deprecated run_command API entirely | Lamont Granquist | 2017-03-31 | 1 | -3/+0 |
| | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
* | support why-run by defaultlcg/default-whyrun-supported | Lamont Granquist | 2017-03-01 | 1 | -5/+1 |
| | | | | | | | this should fix several bugs in providers that look like they should support whyrun but fail to declare it. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
* | cleans up the remaining new/current_resource ivarslcg/remove-ivars | Lamont Granquist | 2017-02-15 | 1 | -48/+48 |
| | | | | | | switches from using ivars to accessors for getters Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
* | fix specs: RedundantReturn, RedundantSelf, RedundantBegin | Lamont Granquist | 2017-02-13 | 1 | -1/+1 |
| | | | | | | department of redundancy department Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
* | error out if provider doesn't support user services | Davide Cavalca | 2016-03-04 | 1 | -0/+9 |
| | |||||
* | rework to use service resource directly instead of subclassing | Davide Cavalca | 2016-02-22 | 1 | -0/+38 |
| | |||||
* | rework to use a subclassed SystemdService resource | Davide Cavalca | 2016-02-22 | 1 | -37/+0 |
| | |||||
* | raise UnsupportedAction for mask / unmask in the base class | Davide Cavalca | 2016-02-22 | 1 | -0/+8 |
| | |||||
* | Extend service resource to support masking | Davide Cavalca | 2016-02-22 | 1 | -0/+29 |
| | |||||
* | autofixing auto-inserted delimiterslcg/chefstyle-batch | Lamont Granquist | 2016-02-09 | 1 | -2/+2 |
| | |||||
* | auto fixing some rubocops | Lamont Granquist | 2016-02-09 | 1 | -2/+2 |
| | | | | | | | | | Style/NegatedWhile Style/ParenthesesAroundCondition Style/WhileUntilDo Style/WordArray Performance/ReverseEach Style/ColonMethodCall | ||||
* | autofixing whitespace cops | Lamont Granquist | 2016-02-05 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment | ||||
* | Copyright year update for 2016 and massive cleanup. | Noah Kantrowitz | 2016-02-02 | 1 | -1/+1 |
| | | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g" | ||||
* | Autofixing Style/PercentLiteralDelimeterslcg/percentliteraldelimeters | Lamont Granquist | 2016-01-18 | 1 | -1/+1 |
| | | | | | | 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 | 1 | -15/+15 |
| | | | | | | | 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. | ||||
* | chefstyle: fix Lint/StringConversionInInterpolation | Lamont Granquist | 2016-01-12 | 1 | -7/+7 |
| | | | | useless use of `"#{foo.to_s}"` | ||||
* | add better documentation to this method | Lamont Granquist | 2015-11-24 | 1 | -10/+13 |
| | | | | | it violates our dont-violate-the-new-resource policy for a reason, but is likely still buggy if the resource gets reused. | ||||
* | fix supports hash issues in service providers | Lamont Granquist | 2015-08-25 | 1 | -2/+12 |
| | | | | | | | - 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 | ||||
* | Re-separate priority map and DSL handler map so that provides has veto power ↵ | John Keiser | 2015-07-06 | 1 | -22/+4 |
| | | | | over priority | ||||
* | Remove generic provides :package and provides :service from base classes | John Keiser | 2015-06-02 | 1 | -2/+0 |
| | |||||
* | Move provider_mapping values out into the actual resource classes | John Keiser | 2015-06-02 | 1 | -51/+45 |
| | |||||
* | DRY the service priorities a bit | John Keiser | 2015-06-02 | 1 | -74/+52 |
| | |||||
* | Use the central priority map for `provides` | John Keiser | 2015-06-02 | 1 | -0/+74 |
| | |||||
* | Enable Windows services to run as a different user (CHEF-4921). This adds ↵cdoherty-enhance-win-service | Chris Doherty | 2014-12-19 | 1 | -1/+1 |
| | | | | | | | | :run_as_user and :run_as_password attributes to the windows_service resource. If a logon user is specified, the resource will (on every run) grant the logon-as-service privilege to that user, using secedit.exe. | ||||
* | Normalize whitespace on all files | Seth Vargo | 2013-09-26 | 1 | -2/+2 |
| | |||||
* | Merge branch '10-stable' | Bryan McLellan | 2012-11-20 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: chef-expander/lib/chef/expander/version.rb chef-server-api/lib/chef-server-api/version.rb chef-server-webui/lib/chef-server-webui/version.rb chef-server/lib/chef-server/version.rb chef-solr/lib/chef/solr/version.rb chef/lib/chef/encrypted_data_bag_item.rb chef/spec/unit/encrypted_data_bag_item_spec.rb ci/jenkins_run_tests.bat ci/jenkins_run_tests.sh lib/chef/provider.rb spec/unit/knife/data_bag_from_file_spec.rb spec/unit/provider/remote_directory_spec.rb spec/unit/provider/route_spec.rb | ||||
* | | [CHEF-3604] why run assertions should pass on custom service commands | Seth Chisamore | 2012-11-13 | 1 | -0/+5 |
| | | |||||
* | | [CHEF-3603] add init_command attribute to service resource | Seth Chisamore | 2012-11-13 | 1 | -0/+10 |
| | | |||||
* | | [OC-3564] move core Chef to the repo root \o/ \m/ | Seth Chisamore | 2012-10-30 | 1 | -0/+158 |
|/ | | | | The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo! | ||||
* | big refactor of the repo layout. move to a chef gem and a chef-server gem ↵ | Ezra Zygmuntowicz | 2008-10-08 | 1 | -86/+0 |
| | | | | all with proper deps | ||||
* | Clarified some of the error messages | AJ Christensen | 2008-10-01 | 1 | -7/+15 |
| | |||||
* | Init provider for service and relevant work in other providers. Updated ↵ | AJ Christensen | 2008-10-01 | 1 | -0/+2 |
| | | | | resource spec a little. | ||||
* | Moving some stuff around. Almost functional init provider. | AJ Christensen | 2008-10-01 | 1 | -6/+0 |
| | |||||
* | Working towards supports[:has_status] etc. | AJ Christensen | 2008-10-01 | 1 | -0/+1 |
| | |||||
* | Made service.rb setup a @current_resource and debian.rb super to get at it. | AJ Christensen | 2008-10-01 | 1 | -0/+5 |
| | |||||
* | Working Debian service provider for enabling/disabling services. | AJ Christensen | 2008-10-01 | 1 | -20/+19 |
| | | | | TODO: Base and Init providers that support status and start/stopping init scripts. | ||||
* | All of my service resource work so far. | AJ Christensen | 2008-10-01 | 1 | -0/+48 |
| | | | | TODO: make it work | ||||
* | Adjusted the copyright disclaimer - I guess I should be doing this on files ↵ | AJ Christensen | 2008-10-01 | 1 | -1/+1 |
| | | | | | | I author? A little more boilerplate too | ||||
* | Boilerplate for Service resource and Debian provider | AJ Christensen | 2008-10-01 | 1 | -0/+29 |