Module: Ohai::Mixin::TrainHelpers

Includes:
ChefUtils::DSL::TrainHelpers, ChefUtilsWiring
Included in:
DSL::Plugin
Defined in:
lib/ohai/mixin/train_helpers.rb

Instance Method Summary collapse

Instance Method Details

#dir_glob(path) ⇒ Object

XXX: this needs better support directly in train



31
32
33
# File 'lib/ohai/mixin/train_helpers.rb', line 31

def dir_glob(path)
  shell_out!("ls -d #{path}").stdout.split
end