summaryrefslogtreecommitdiff
path: root/lib/chef/resources.rb
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2014-08-06 12:37:41 -0400
committerBryan McLellan <btm@loftninjas.org>2014-08-12 16:51:10 -0400
commitf7dc2d50db5e780c7c0148f8895d84a3fd0fdf3d (patch)
tree93d1144ba09a8973e5214607d02c78edd9e312c7 /lib/chef/resources.rb
parente08741f4f713c98f23e6db37426961c8c0d01b8f (diff)
downloadchef-f7dc2d50db5e780c7c0148f8895d84a3fd0fdf3d.tar.gz
CHEF-5022: Differentiate between Windows service startup_types
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.
Diffstat (limited to 'lib/chef/resources.rb')
-rw-r--r--lib/chef/resources.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/resources.rb b/lib/chef/resources.rb
index 01e8d63040..93ff682288 100644
--- a/lib/chef/resources.rb
+++ b/lib/chef/resources.rb
@@ -64,6 +64,7 @@ require 'chef/resource/ruby_block'
require 'chef/resource/scm'
require 'chef/resource/script'
require 'chef/resource/service'
+require 'chef/resource/windows_service'
require 'chef/resource/subversion'
require 'chef/resource/smartos_package'
require 'chef/resource/template'