summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Chisamore <schisamo@opscode.com>2011-09-13 13:32:46 -0400
committerSeth Chisamore <schisamo@opscode.com>2011-09-13 13:32:46 -0400
commit490a6db6f627c00e19e20ad1324998b2f9d11f55 (patch)
tree1a67c5ceeb40f3adfb2084fae73e4b58c38f923a
parent220dc983c577ad9f5bd85a647d9903c53edfe6cb (diff)
downloadmixlib-shellout-490a6db6f627c00e19e20ad1324998b2f9d11f55.tar.gz
timeout should be name attribute for windows_reboot resource
-rw-r--r--resources/reboot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/reboot.rb b/resources/reboot.rb
index c5ed9b1..c788927 100644
--- a/resources/reboot.rb
+++ b/resources/reboot.rb
@@ -20,7 +20,7 @@
actions :request, :cancel
-attribute :timeout, :kind_of => Integer, :default => 60
+attribute :timeout, :kind_of => Integer, :default => 60, :name_attribute => true
attribute :reason, :kind_of => String, :default => ''
def initialize(name,run_context=nil)