Class: Yast::OtherToolsWarningClient

Inherits:
Client
  • Object
show all
Defined in:
library/commandline/src/clients/other_tools_warning.rb

Instance Method Summary collapse

Instance Method Details

#mainObject



34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# File 'library/commandline/src/clients/other_tools_warning.rb', line 34

def main
  Yast.import "Popup"
  textdomain "base"

  if WFM.Args().include? "chef"
    # Translators: a warning message in a continue-cancel question
    # Opscode Chef is a different way to configure the system.
    message = _(
      "Chef Client is running. The changes that you make\n" \
      "may be overridden by Chef later.\n" \
      "Continue configuration with YaST?"
    )
    return Popup.ContinueCancel(message)
  end

  nil
end