Method: Puppet::ModuleTool::Errors::LocalChangesError#multiline
- Defined in:
- lib/puppet/module_tool/errors/shared.rb
#multiline ⇒ Object
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 = [] << _("Could not %{action} module '%{module_name}' (%{version})") % { action: @action, module_name: @module_name, version: vstring } << _(" Installed module has had changes made locally") # TRANSLATORS `puppet module %{action} --ignore-changes` is a command line and should not be translated << _(" Use `puppet module %{action} --ignore-changes` to %{action} this module anyway") % { action: @action } .join("\n") end |