X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/56fcbc5d4f195f3973c08a2155037ec9103c1c01..5fde77fb90280da2c008bb5e8e83f6635b999715:/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)