methods/ay_xml.rb
# Populate list of packages to remove
Populate list of packages to remove
Populate list of packages to remove
def populate_ay_remove_packages(options)
  remove_packages = []
  remove_packages.push("cups-autoconfig")
  remove_packages.push("cups-drivers")
  remove_packages.push("emacs-nox")
  remove_packages.push("filters")
  remove_packages.push("gutenprint")
  remove_packages.push("libqt4-sql-sqlite")
  remove_packages.push("lprng")
  remove_packages.push("manufacturer-PPDs")
  remove_packages.push("pcmciautils")
  remove_packages.push("portmap")
  if options['service'].to_s.match(/sles_12_0/)
    remove_packages.push("postfix")
  end
  remove_packages.push("rsyslog")
  remove_packages.push("sendmail")
  remove_packages.push("susehelp_de")
  remove_packages.push("yast2-control-center-qt")
  return remove_packages
end
def populate_ay_remove_packages ( options ) remove_packages = [ ] remove_packages . push ( "cups-autoconfig" ) remove_packages . push ( "cups-drivers" ) remove_packages . push ( "emacs-nox" ) remove_packages . push ( "filters" ) remove_packages . push ( "gutenprint" ) remove_packages . push ( "libqt4-sql-sqlite" ) remove_packages . push ( "lprng" ) remove_packages . push ( "manufacturer-PPDs" ) remove_packages . push ( "pcmciautils" ) remove_packages . push ( "portmap" ) if options [ 'service' ] . to_s . match ( / sles_12_0 / ) remove_packages . push ( "postfix" ) end remove_packages . push ( "rsyslog" ) remove_packages . push ( "sendmail" ) remove_packages . push ( "susehelp_de" ) remove_packages . push ( "yast2-control-center-qt" ) return remove_packages end
Populate list of packages to remove
Populate list of packages to remove
options
<not_specific>