diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2009-02-10 10:29:37 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2009-02-19 10:41:57 +1100 |
commit | be4d077635e5c46a45c9a6802c63d36a6521b8e6 (patch) | |
tree | 17f997920f2e3c02359fe2a74cbb68ce910e21d7 | |
parent | d2a33c7c0149be932889ed07e7e31d438c66e687 (diff) | |
download | chef-be4d077635e5c46a45c9a6802c63d36a6521b8e6.tar.gz |
Also will find name=service as well as name="service"
-rw-r--r-- | chef/lib/chef/provider/service/freebsd.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/lib/chef/provider/service/freebsd.rb b/chef/lib/chef/provider/service/freebsd.rb index 19c9e7bc1e..fa43e5225e 100644 --- a/chef/lib/chef/provider/service/freebsd.rb +++ b/chef/lib/chef/provider/service/freebsd.rb @@ -127,7 +127,7 @@ class Chef makefile = ::File.open(@init_command) makefile.each do |line| case line - when /^name="(.+)"/ + when /^name="?(\w+)"?/ return $1 + "_enable" end end |