| Class | R10K::Deployment |
| In: |
lib/r10k/deployment.rb
lib/r10k/deployment/config.rb lib/r10k/deployment/config/loader.rb lib/r10k/deployment/source.rb |
| Parent: | Object |
A deployment models the entire state of the configuration that a Puppet master can use. It contains a set of sources that can produce environments and manages the contents of directories where environments are deployed.
@api private
| config | [R] |
@!attribute [r] config
@return [R10K::Deployment::Config] |
Generate a deployment object based on a config
@param path [String] The path to the deployment config @return [R10K::Deployment] The deployment loaded with the given config
Lazily load all environments
This instantiates the @_environments instance variable, but should not be used directly as it could be legitimately unset if we‘re doing lazy loading.
@return [Array<R10K::Environment::Base>] All enviroments across
all sources
Lazily load all sources
This instantiates the @_sources instance variable, but should not be used directly as it could be legitimately unset if we‘re doing lazy loading.
@return [Array<R10K::Source::Base>] All repository sources
specified in the config