diff options
author | Mike Dodge <mikedodge04@fb.com> | 2015-03-25 00:10:04 -0700 |
---|---|---|
committer | Mike Dodge <mikedodge04@fb.com> | 2015-03-25 00:10:04 -0700 |
commit | 5b8fcf1e8285643e797090de505f33d5aab2a89f (patch) | |
tree | 8cc285ec28a664f51e45412849ecd15341858995 /lib/chef/resource/macosx_service.rb | |
parent | 6ef7ea3b49ff5f3166be5dcbd718076993a781ea (diff) | |
download | chef-5b8fcf1e8285643e797090de505f33d5aab2a89f.tar.gz |
addressed each of the comments
Diffstat (limited to 'lib/chef/resource/macosx_service.rb')
-rw-r--r-- | lib/chef/resource/macosx_service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/macosx_service.rb b/lib/chef/resource/macosx_service.rb index 7b040f2c01..be58dc6676 100644 --- a/lib/chef/resource/macosx_service.rb +++ b/lib/chef/resource/macosx_service.rb @@ -1,6 +1,6 @@ # # Author:: Mike Dodge (<mikedodge04@gmail.com>) -# Copyright:: Copyright (c) 2009 Opscode, Inc. +# Copyright:: Copyright (c) 2015 Facebook, Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -39,6 +39,7 @@ class Chef # This will enable user to pass a plist in the case # that the filename and label for the service dont match def plist(arg=nil) + assert_path_exists(arg) unless arg.nil? set_or_return( :plist, arg, |