Class: R10K::Action::Puppetfile::Purge
- Defined in:
- lib/r10k/action/puppetfile/purge.rb
Constant Summary
Constants included from Logging
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Methods included from Logging
debug_formatter, default_formatter, default_outputter, #logger, #logger_name, parse_level
Constructor Details
This class inherits a constructor from R10K::Action::Base
Instance Method Details
#call ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/r10k/action/puppetfile/purge.rb', line 10 def call pf = R10K::Puppetfile.new(@root, @moduledir, @puppetfile) pf.load! pf.purge! true rescue => e logger.error R10K::Errors::Formatting.format_exception(e, @trace) false end |