Module: PuppetRestClient::PE::Connection::Catalog

Included in:
PuppetRestClient::PE::Connection
Defined in:
lib/puppet-rest/pe/connection/catalog.rb

Instance Method Summary collapse

Instance Method Details

#catalog(name) ⇒ Object



4
5
6
7
# File 'lib/puppet-rest/pe/connection/catalog.rb', line 4

def catalog(name)
  attributes = get(api_path('catalog', name))
  PuppetRestClient::PE::Catalog.get_or_new(attributes)
end