| Class | Puppet::Resource::Catalog |
| In: |
lib/puppet/resource/catalog.rb
|
| Parent: | Puppet::SimpleGraph |
This class models a node catalog. It is the thing meant to be passed from server to client, and it contains all of the information in the catalog, including the resources and the relationships between them.
| client_version | [RW] | Some metadata to help us compile and generally respond to the current state. |
| from_cache | [RW] | Whether this catalog was retrieved from the cache, which affects whether it is written back out again. |
| host_config | [RW] | Whether this is a host catalog, which behaves very differently. In particular, reports are sent, graphs are made, and state is stored in the state database. If this is set incorrectly, then you often end up in infinite loops, because catalogs are used to make things that the host catalog needs. |
| name | [RW] | The host name this is a catalog for. |
| retrieval_duration | [RW] | How long this catalog took to retrieve. Used for reporting stats. |
| server_version | [RW] | Some metadata to help us compile and generally respond to the current state. |
| version | [RW] | The catalog version. Used for testing whether a catalog is up to date. |
Apply our catalog to the local host. Valid options are:
:tags - set the tags that restrict what resources run
during the transaction
:ignoreschedules - tell the transaction to ignore schedules
when determining the resources to run
Turn our catalog graph into an old-style tree of TransObjects and TransBuckets. LAK:NOTE(20081211): This is a pre-0.25 backward compatibility method. It can be removed as soon as xmlrpc is killed.