X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2292e576096b80fead4e88d0c83f072f9e7c5f60..f3661da687dc11ec6d0c40a12d43723d71f4503e:/cookbooks/chef/libraries/edit_file.rb diff --git a/cookbooks/chef/libraries/edit_file.rb b/cookbooks/chef/libraries/edit_file.rb index bfbec455c..f7c23178c 100644 --- a/cookbooks/chef/libraries/edit_file.rb +++ b/cookbooks/chef/libraries/edit_file.rb @@ -1,4 +1,4 @@ -class Chef +module OpenStreetMap module Mixin module EditFile def edit_file(file, &_block) @@ -10,8 +10,6 @@ class Chef end end end - - class Recipe - include Chef::Mixin::EditFile - end end + +Chef::Recipe.include(OpenStreetMap::Mixin::EditFile)