diff options
author | sakazuki <sakazuki@gmail.com> | 2014-01-12 01:00:04 +0000 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-09-10 14:49:29 -0700 |
commit | 14d703a020fba62fee09f94b39ebb9e6be55f72b (patch) | |
tree | a80e2b3c33f9866bc9c0e7762cc5ffcd76292819 | |
parent | 8661b14aae687bf585b1ecc74ea487e42ad17321 (diff) | |
download | chef-14d703a020fba62fee09f94b39ebb9e6be55f72b.tar.gz |
refactering
-rw-r--r-- | lib/chef/provider/ifconfig.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/provider/ifconfig.rb b/lib/chef/provider/ifconfig.rb index 4e1f639402..c56530369b 100644 --- a/lib/chef/provider/ifconfig.rb +++ b/lib/chef/provider/ifconfig.rb @@ -170,8 +170,7 @@ class Chef end def resource_for_config(path) - config = Chef::Resource::File.new(path, run_context) - config + Chef::Resource::File.new(path, run_context) end def generate_config |