X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/56fcbc5d4f195f3973c08a2155037ec9103c1c01..2526b369cff224e41262061a78b99add026cb4bc:/cookbooks/chef/libraries/persistent_token.rb?ds=inline diff --git a/cookbooks/chef/libraries/persistent_token.rb b/cookbooks/chef/libraries/persistent_token.rb index 8299e8550..944f19363 100644 --- a/cookbooks/chef/libraries/persistent_token.rb +++ b/cookbooks/chef/libraries/persistent_token.rb @@ -1,6 +1,6 @@ require "digest" -class Chef +module OpenStreetMap module Mixin module PersistentToken def persistent_token(*args) @@ -13,8 +13,6 @@ class Chef end end end - - class Recipe - include Chef::Mixin::PersistentToken - end end + +Chef::DSL::Recipe.include(OpenStreetMap::Mixin::PersistentToken)