class Chef::DataRegion

DataRegion class

Constants

NAME
VERSION

Public Class Methods

add(bag_name, bag_hash) click to toggle source

Add a bag definition to the set of bags

# File lib/chef/data_region.rb, line 21
def self.add(bag_name, bag_hash)
  @bags[bag_name] = bag_hash
end
bags() click to toggle source

Return the configured data bags

# File lib/chef/data_region.rb, line 16
def self.bags
  @bags
end