Class: R10K::Action::Puppetfile::CriRunner Deprecated Private
- Defined in:
- lib/r10k/action/puppetfile/cri_runner.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Deprecated.
The use of these environment variables is deprecated and will be removed in 2.0.0.
Extend the default Cri Runner to use the PUPPETFILE environment variables.
Instance Method Summary collapse
- #handle_opts(opts) ⇒ Object private
Methods inherited from CriRunner
#call, #handle_argv, #initialize, #new, wrap
Constructor Details
This class inherits a constructor from R10K::Action::CriRunner
Instance Method Details
#handle_opts(opts) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
13 14 15 16 17 18 |
# File 'lib/r10k/action/puppetfile/cri_runner.rb', line 13 def handle_opts(opts) opts[:root] ||= wd opts[:moduledir] ||= env['PUPPETFILE_DIR'] opts[:puppetfile] ||= env['PUPPETFILE'] super(opts) end |