diff options
author | Serdar Sutay <serdar@opscode.com> | 2014-10-28 13:34:37 -0700 |
---|---|---|
committer | Serdar Sutay <serdar@opscode.com> | 2014-10-28 18:37:31 -0700 |
commit | 3d824fa3c70bf72555946d4697410f216b5ef11e (patch) | |
tree | d71a426eabc74f9f7d28091131cd51bad4084c47 /lib | |
parent | 5c18555f3d43cdcd0411e492cebebc4f4a7eb6e4 (diff) | |
download | chef-3d824fa3c70bf72555946d4697410f216b5ef11e.tar.gz |
Turn off the alternative resource name tests for windows service andpackage.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/resource/windows_package.rb | 1 | ||||
-rw-r--r-- | lib/chef/resource/windows_service.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/resource/windows_package.rb b/lib/chef/resource/windows_package.rb index c1d49f2178..b1ef2c288e 100644 --- a/lib/chef/resource/windows_package.rb +++ b/lib/chef/resource/windows_package.rb @@ -30,6 +30,7 @@ class Chef def initialize(name, run_context=nil) super @allowed_actions = [ :install, :remove ] + @resource_name = :windows_package @source ||= source(@package_name) # Unique to this resource diff --git a/lib/chef/resource/windows_service.rb b/lib/chef/resource/windows_service.rb index e5179981c6..2aec4d6304 100644 --- a/lib/chef/resource/windows_service.rb +++ b/lib/chef/resource/windows_service.rb @@ -34,6 +34,7 @@ class Chef def initialize(name, run_context=nil) super + @resource_name = :windows_service @allowed_actions.push(:configure_startup) @startup_type = :automatic end |