[8] pry(#<Puppet::Indirector::Face>)> whereami |
|
From: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/face.rb:85 Puppet::Indirector::Face#find implementation, required on Ruby 1.8: |
|
76: when_invoked do |*args| |
77: # Default the key to Puppet[:certname] if none is supplied |
78: if args.length == 1 |
79: key = Puppet[:certname] |
80: options = args.last |
81: else |
82: key, options = *args |
83: end |
84: require 'pry-byebug';binding.pry |
=> 85: call_indirection_method :find, key, options[:extra] |
86: end |
|
[9] pry(#<Puppet::Indirector::Face>)> args.length==1 |
=> false |
[10] pry(#<Puppet::Indirector::Face>)> options |
=> "operatingsystem" |
[11] pry(#<Puppet::Indirector::Face>)> args |
=> ["show", "operatingsystem", {:extra=>{}}]
|