summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornimisha <nimisha.sharad@msystechnologies.com>2017-04-06 15:40:25 +0530
committernimisha <nimisha.sharad@msystechnologies.com>2017-04-06 15:44:50 +0530
commitd656b364bd9cd0cbe06eb9eee372997e6110e1ae (patch)
tree4698b47a3c35d2c842cc074182a3448f77499e62
parent5a2d46086b5caf59ce3d3325f1048b51efc94468 (diff)
downloadchef-d656b364bd9cd0cbe06eb9eee372997e6110e1ae.tar.gz
Fixed review comments by thommay
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
-rw-r--r--.bundle/config2
-rw-r--r--lib/chef/provider/windows_task.rb1
-rw-r--r--lib/chef/resource/windows_task.rb2
3 files changed, 3 insertions, 2 deletions
diff --git a/.bundle/config b/.bundle/config
new file mode 100644
index 0000000000..e520135ebc
--- /dev/null
+++ b/.bundle/config
@@ -0,0 +1,2 @@
+---
+BUNDLE_FROZEN: "1"
diff --git a/lib/chef/provider/windows_task.rb b/lib/chef/provider/windows_task.rb
index ae77e8421a..a96d4b2b7e 100644
--- a/lib/chef/provider/windows_task.rb
+++ b/lib/chef/provider/windows_task.rb
@@ -24,7 +24,6 @@ require "chef/mixin/powershell_out"
class Chef
class Provider
class WindowsTask < Chef::Provider
- use_inline_resources
include Chef::Mixin::ShellOut
include Chef::Mixin::PowershellOut
diff --git a/lib/chef/resource/windows_task.rb b/lib/chef/resource/windows_task.rb
index ff34b9f1e3..25e76f4220 100644
--- a/lib/chef/resource/windows_task.rb
+++ b/lib/chef/resource/windows_task.rb
@@ -58,7 +58,7 @@ class Chef
property :months, String
property :idle_time, Integer
property :random_delay, String
- property :execution_time_limit
+ property :execution_time_limit, String
attr_accessor :exists, :status, :enabled