Server IP : 66.29.132.122 / Your IP : 3.129.211.166 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.4.0/lib/hiera/backend/eyaml/ |
Upload File : |
class Hiera module Backend module Eyaml class Options def self.[]= key, value @@options ||= {} @@options[ key.to_sym ] = value end def self.[] key @@options ||= {} @@options[ key.to_sym ] end def self.set hash @@options = {} hash.each do |k, v| @@options[ k.to_sym ] = v end end def self.trace LoggingHelper::trace "Dump of eyaml tool options dict:" LoggingHelper::trace "--------------------------------" @@options.each do |k, v| begin LoggingHelper::trace sprintf "%18s %-18s = %18s %-18s", "(#{k.class.name})", k.to_s, "(#{v.class.name})", v.to_s rescue LoggingHelper::trace sprintf "%18s %-18s = %18s %-18s", "(#{k.class.name})", k.to_s, "(#{v.class.name})", "<unprintable>" # case where v is binary end end LoggingHelper::trace "--------------------------------" end end end end end