Class: PuppetX::EnterpriseModules::Oracle::Rman
- Inherits:
-
Object
- Object
- PuppetX::EnterpriseModules::Oracle::Rman
- Defined in:
- lib/puppet_x/enterprisemodules/oracle/rman.rb
Overview
docs
Instance Attribute Summary collapse
-
#catalog_conn ⇒ Object
readonly
Returns the value of attribute catalog_conn.
-
#sid ⇒ Object
readonly
Returns the value of attribute sid.
-
#target_conn ⇒ Object
readonly
Returns the value of attribute target_conn.
Instance Method Summary collapse
- #execute(command) ⇒ Object
-
#initialize(options = {}) ⇒ Rman
constructor
A new instance of Rman.
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( = {}) @command = RmanCommand.new() @sid = @command.sid end |
Instance Attribute Details
#catalog_conn ⇒ Object (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 |
#sid ⇒ Object (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_conn ⇒ Object (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 |