Method: Puppet::ModuleTool::Errors::PermissionDeniedCreateInstallDirectoryError#initialize
- Defined in:
- lib/puppet/module_tool/errors/installer.rb
#initialize(original, options) ⇒ PermissionDeniedCreateInstallDirectoryError
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.
Returns a new instance of PermissionDeniedCreateInstallDirectoryError.
63 64 65 66 67 68 |
# File 'lib/puppet/module_tool/errors/installer.rb', line 63 def initialize(original, ) @requested_module = [:requested_module] @requested_version = [:requested_version] @directory = [:directory] super(_("'%{module_name}' (%{version}) requested; Permission is denied to create %{dir}.") % { module_name: @requested_module, version: @requested_version, dir: @directory }, original) end |