diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-06-22 18:01:03 -0700 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-06-22 18:01:03 -0700 |
commit | d5d846d2cfb8726f1480caa9ebe71b5fca2af6fc (patch) | |
tree | f782aaaecc993fc7fa9c29aeee7e38363c1d3a85 | |
parent | d2fc53acfea4fef382e19a7c68e5a0f8b1748730 (diff) | |
parent | cccd342d1cac66771e4806827dfb6a31e4d3c05c (diff) | |
download | chef-d5d846d2cfb8726f1480caa9ebe71b5fca2af6fc.tar.gz |
Merge pull request #3562 from coderanger/patch-2
Re-add #priority.
-rw-r--r-- | lib/chef/platform/priority_map.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/platform/priority_map.rb b/lib/chef/platform/priority_map.rb index 3608975b51..d559eece78 100644 --- a/lib/chef/platform/priority_map.rb +++ b/lib/chef/platform/priority_map.rb @@ -3,6 +3,10 @@ require 'chef/node_map' class Chef class Platform class PriorityMap < Chef::NodeMap + def priority(resource_name, priority_array, *filter) + set_priority_array(resource_name.to_sym, priority_array, *filter) + end + # @api private def get_priority_array(node, key) get(node, key) |