Class: Pkgr::Distributions::Centos
- Defined in:
- lib/pkgr/distributions/centos.rb
Overview
Contains the various components required to make a packaged app integrate well with a CentOS system.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Fedora
#fpm_command, #installer_dependencies, #package_install_command, #package_test_command, #release
Methods inherited from Base
#add_addon, #build_dependencies, #buildpacks, #check, #crons_dir, #default_buildpack_list, #dependencies, #initialize, #initializers_for, #installer_dependencies, #os, #package_install_command, #package_test_command, #postinstall_file, #postuninstall_file, #preinstall_file, #preuninstall_file, #slug, #verify
Constructor Details
This class inherits a constructor from Pkgr::Distributions::Base
Instance Method Details
#runner ⇒ Object
7 8 9 10 11 |
# File 'lib/pkgr/distributions/centos.rb', line 7 def runner # in truth it is 0.6.5, but it also works with 1.5 templates. # maybe adopt the same structure as pleaserun, with defaults, etc. @runner ||= Runner.new("upstart", "1.5", "initctl") end |
#templates ⇒ Object
13 14 15 16 17 |
# File 'lib/pkgr/distributions/centos.rb', line 13 def templates list = super list.push Templates::DirTemplate.new("etc/init") list end |