X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ab47927c016597f8602b81dcdc168ad5c335389d..50c5e663bcc99a2a01c0a2e7886b75cb99659089:/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)