module ErbHiera::Manifest
Public Class Methods
heading(out_file)
click to toggle source
# File lib/erb-hiera/manifest.rb, line 14 def self.heading(out_file) "\n# #{out_file.gsub(/.*\/conf\//, '').split("/").join(" / ")}" end
info(manifest, out_file)
click to toggle source
# File lib/erb-hiera/manifest.rb, line 3 def self.info(manifest, out_file) puts heading(out_file) puts "#" puts "# scope:" puts "#{ErbHiera.scope.to_yaml.to_s.gsub(/^/, '# ')}" puts "#" puts "# in: #{manifest}" puts "# out: #{out_file}" puts "#" end