Sha256: 13a90b7fbf099cd3b213a209c861b51704ce329a92e7fa81431cac8f5430cbb7
Contents?: true
Size: 667 Bytes
Versions: 4
Compression:
Stored size: 667 Bytes
Contents
Puppet::Face.define(:module, '1.0.0') do action(:clean) do summary "Clean the module download cache." description <<-EOT Clean the module download cache. EOT returns <<-EOT Return a status Hash: { :status => "success", :msg => "Cleaned module cache." } EOT examples <<-EOT Clean the module download cache: $ puppet module clean Cleaned module cache. EOT when_invoked do |options| Puppet::Module::Tool::Applications::Cleaner.run(options) end when_rendering :console do |return_value| # Print the status message to the console. return_value[:msg] end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
puppet-2.7.13 | lib/puppet/face/module/clean.rb |
puppet-2.7.12 | lib/puppet/face/module/clean.rb |
puppet-2.7.11 | lib/puppet/face/module/clean.rb |
puppet-2.7.9 | lib/puppet/face/module/clean.rb |