module ChefConfig::Mixin::DotD
def find_dot_d(path)
-
(Array
-)
Parameters:
-
path
(String
) -- Base .d/ path to load from.
Other tags:
- Api: - internal
def find_dot_d(path) Dir["#{PathHelper.escape_glob_dir(path)}/*.rb"].select { |entry| File.file?(entry) }.sort end
def load_dot_d(path)
-
(void)
-
Parameters:
-
path
(String
) -- Base .d/ path to load from.
Other tags:
- Api: - internal
def load_dot_d(path) find_dot_d(path).each do |conf| apply_config(IO.read(conf), conf) end end