Sha256: 10e84a6d96590ef116e00e467e592fff4afe887b94217ad03bf3d6b74f428e83

Contents?: true

Size: 300 Bytes

Versions: 67

Compression:

Stored size: 300 Bytes

Contents

module ::ProxyAPI
  class RemoteExecutionSSH < ::ProxyAPI::Resource
    def initialize(args)
      @url = args[:url] + '/ssh'
      super args
    end

    def pubkey
      get('pubkey').strip
    rescue => e
      raise ProxyException.new(url, e, N_('Unable to fetch public key'))
    end
  end
end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
foreman_remote_execution-3.1.0 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-2.0.10 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-2.0.9 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-2.0.8 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-3.0.3 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-3.0.2 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-2.0.7 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-3.0.1 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-3.0.0 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-2.0.6 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-2.0.5 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-2.0.4 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-2.0.3 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-2.0.2 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-2.0.1 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-2.0.0 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-1.8.4 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-1.8.3 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-1.8.2 app/lib/proxy_api/remote_execution_ssh.rb
foreman_remote_execution-1.8.1 app/lib/proxy_api/remote_execution_ssh.rb