Method: Puppet::ModuleTool::Errors::LocalChangesError#multiline

Defined in:
lib/puppet/module_tool/errors/shared.rb

#multilineObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



202
203
204
205
206
207
208
209
# File 'lib/puppet/module_tool/errors/shared.rb', line 202

def multiline
  message = []
  message << _("Could not %{action} module '%{module_name}' (%{version})") % { action: @action, module_name: @module_name, version: vstring }
  message << _("  Installed module has had changes made locally")
  # TRANSLATORS `puppet module %{action} --ignore-changes` is a command line and should not be translated
  message << _("    Use `puppet module %{action} --ignore-changes` to %{action} this module anyway") % { action: @action }
  message.join("\n")
end