X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ab47927c016597f8602b81dcdc168ad5c335389d..571e5982cc82c4fbefff0d463895a029a68921fe:/cookbooks/chef/libraries/persistent_token.rb 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)