summaryrefslogtreecommitdiff
path: root/lib/chef/provider/service/init.rb
Commit message (Collapse)AuthorAgeFilesLines
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-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"
* Use double quotes by defaultThom May2016-01-141-3/+3
| | | | | | | 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.
* fix supports hash issues in service providersLamont Granquist2015-08-251-3/+3
| | | | | | | - 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
* Use the central priority map for `provides`John Keiser2015-06-021-0/+1
|
* polishing provider_resolverLamont Granquist2014-11-081-0/+4
| | | | | | | | * makes provides? more correct for linux services * makes supports? more targetted for linux services * remove provider_resolver from the run_context * fix timestamped deploy spec * add more specs
* Chef-12 RC Provider ResolverLamont Granquist2014-10-241-0/+2
| | | | | makes resource and provider class resolution more dynamic. begins deprecation of Chef::Platform static mapping.
* fix shell_out/run_command usageLamont Granquist2014-09-081-4/+4
| | | | | | | | - run_command is deprecated - shell_out! should be used for internal APIs (enable/disable/status) - shell_out_with_systems_locale! should be used for start/stop/restart/reload cases (users will want their software running in their systems locale not our forced en_US.UTF-8 locale)
* refactoring freebsd provider + unit testsLamont Granquist2014-08-291-0/+2
|
* fixing all the extra blank linesLamont Granquist2014-07-291-1/+0
| | | | yes, i just used rubocop on the chef sourcecode...
* add shell_out to base provider codeLamont Granquist2014-07-291-2/+0
|
* Make it possible to include Chef::Provider / Chef::ResourceJohn Keiser2014-04-241-1/+0
| | | | without circular dependencies or missing deps
* Normalize whitespace on all filesSeth Vargo2013-09-261-1/+1
|
* [CHEF-3604] why run assertions should pass on custom service commandsSeth Chisamore2012-11-131-1/+3
|
* [CHEF-3603] add init_command attribute to service resourceSeth Chisamore2012-11-131-7/+7
|
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+87
| | | | 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 Zygmuntowicz2008-10-081-95/+0
| | | | all with proper deps
* Using @node[:ps], so Facter is totally abstracted from ChefAdam Jacob2008-10-031-4/+4
|
* Namespacing the Service providers to the Service class. Changes ↵AJ Christensen2008-10-031-53/+55
| | | | Chef::Provider::Debian => Chef::Provider::Service::Debian
* Error message clarityAJ Christensen2008-10-011-1/+1
|
* Clarified some of the error messagesAJ Christensen2008-10-011-7/+5
|
* Now we're talkinAJ Christensen2008-10-011-3/+3
|
* Init provider for service and relevant work in other providers. Updated ↵AJ Christensen2008-10-011-8/+13
| | | | resource spec a little.
* Moving some stuff around. Almost functional init provider.AJ Christensen2008-10-011-3/+53
|
* Working Debian service provider for enabling/disabling services.AJ Christensen2008-10-011-14/+12
| | | | TODO: Base and Init providers that support status and start/stopping init scripts.
* All of my service resource work so far.AJ Christensen2008-10-011-0/+42
TODO: make it work