Class: SaltHiera::Plugins::Files
- Inherits:
-
Object
- Object
- SaltHiera::Plugins::Files
- Defined in:
- lib/salt_hiera/plugins/files.rb
Class Method Summary collapse
Class Method Details
.process_file(file) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/salt_hiera/plugins/files.rb', line 5 def self.process_file file key = file.split("/").last value = File.read file { key => value } end |