Class: PuppetModule::Pkg::Tasks::RPM

Inherits:
Build
  • Object
show all
Defined in:
lib/puppet_module/pkg/tasks/rpm.rb

Instance Method Summary collapse

Methods inherited from Build

#filename, #initialize, #invoke, #type

Constructor Details

This class inherits a constructor from PuppetModule::Pkg::Tasks::Build

Instance Method Details

#filename_for(mod, author) ⇒ Object



11
12
13
# File 'lib/puppet_module/pkg/tasks/rpm.rb', line 11

def filename_for(mod, author)
  "#{pkg_name(mod, author)}-VERSION_ARCH.rpm"
end