Class: Puppet::HTTP::Resolver::Settings

Inherits:
Puppet::HTTP::Resolver show all
Defined in:
lib/puppet/http/resolver/settings.rb

Instance Method Summary collapse

Instance Method Details

#resolve(session, name) {|session.create_service(name)| ... } ⇒ Object

Yields:

  • (session.create_service(name))

2
3
4
# File 'lib/puppet/http/resolver/settings.rb', line 2

def resolve(session, name, &block)
  yield session.create_service(name)
end