Class: PuppetX::EnterpriseModules::Oracle::Rman

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet_x/enterprisemodules/oracle/rman.rb

Overview

docs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Rman

Returns a new instance of Rman.



18
19
20
21
# File 'lib/puppet_x/enterprisemodules/oracle/rman.rb', line 18

def initialize(options = {})
  @command    = RmanCommand.new(options)
  @sid        = @command.sid
end

Instance Attribute Details

#catalog_connObject (readonly)

Returns the value of attribute catalog_conn.



16
17
18
# File 'lib/puppet_x/enterprisemodules/oracle/rman.rb', line 16

def catalog_conn
  @catalog_conn
end

#sidObject (readonly)

Returns the value of attribute sid.



16
17
18
# File 'lib/puppet_x/enterprisemodules/oracle/rman.rb', line 16

def sid
  @sid
end

#target_connObject (readonly)

Returns the value of attribute target_conn.



16
17
18
# File 'lib/puppet_x/enterprisemodules/oracle/rman.rb', line 16

def target_conn
  @target_conn
end

Instance Method Details

#execute(command) ⇒ Object



23
24
25
# File 'lib/puppet_x/enterprisemodules/oracle/rman.rb', line 23

def execute(command)
  @command.execute(command)
end