summaryrefslogtreecommitdiff
path: root/lib/chef/platform/resource_priority_map.rb
blob: aa57e3ddf08d83eaef46da7387d351353fe9719e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'singleton'
require 'chef/platform/priority_map'

class Chef
  class Platform
    # @api private
    class ResourcePriorityMap < Chef::Platform::PriorityMap
      include Singleton

      # @api private
      def get_priority_array(node, resource_name, canonical: nil)
        super(node, resource_name.to_sym, canonical: canonical)
      end

    end
  end
end