diff options
author | Claire McQuin <claire@getchef.com> | 2014-06-11 12:44:18 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-06-18 15:25:44 -0700 |
commit | 598b3b28769f5019546fd8eaa33524d36e78ceb1 (patch) | |
tree | ced07a3436ce9ee2ff65f59c1f3845590fcf5f24 /lib/chef/resource/service.rb | |
parent | d950ec4bea3333e8739630c37156d6b9d06eccda (diff) | |
download | chef-598b3b28769f5019546fd8eaa33524d36e78ceb1.tar.gz |
fix indenting
Diffstat (limited to 'lib/chef/resource/service.rb')
-rw-r--r-- | lib/chef/resource/service.rb | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/lib/chef/resource/service.rb b/lib/chef/resource/service.rb index a7f1aa3470..36df7c859a 100644 --- a/lib/chef/resource/service.rb +++ b/lib/chef/resource/service.rb @@ -42,7 +42,7 @@ class Chef @reload_command = nil @init_command = nil @priority = nil - @timeout = nil + @timeout = nil @action = "nothing" @supports = { :restart => false, :reload => false, :status => false } @allowed_actions.push(:enable, :disable, :start, :stop, :restart, :reload) @@ -151,23 +151,28 @@ class Chef # similar for other runlevels # def priority(arg=nil) - set_or_return(:priority, - arg, - :kind_of => [ Integer, String, Hash ]) + set_or_return( + :priority, + arg, + :kind_of => [ Integer, String, Hash ] + ) end - # timeout only applies to the windows service manager - def timeout(arg=nil) - set_or_return(:timeout, - arg, - :kind_of => Integer ) + # timeout only applies to the windows service manager + def timeout(arg=nil) + set_or_return( + :timeout, + arg, + :kind_of => Integer + ) end - + def parameters(arg=nil) set_or_return( :parameters, arg, - :kind_of => [ Hash ] ) + :kind_of => [ Hash ] + ) end def supports(args={}) |