Puppet Class: oracle_inventory
- Inherited by:
-
oracle_inventory::inventory_pointer
- Defined in:
- manifests/init.pp
Summary
Provides facts from central inventory interrogation.Overview
oracle_inventory
This module manages the Oracle central inventory pointer, and provides facts from the inventory.
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'manifests/init.pp', line 33
class oracle_inventory (
Boolean $manage_pointer = true,
Enum['present', 'absent'] $ensure = 'present',
String $file_owner = 'root',
String $file_group = 'root',
Stdlib::Filemode $file_mode = '0644',
Optional[Stdlib::UnixPath] $pointer_file = $::facts[oracle_inventory_pointer],
Stdlib::UnixPath $inventory_dir = '/u01/app/oraInventory',
String $inst_group = 'oinstall',
){
## Take care of Ruby GEM dependency for fact script
ensure_packages(['xml-simple'], {
ensure => installed,
provider => puppet_gem
})
## Manage the inventory pointer file if not on Windows
if $manage_pointer and $::kernel != 'windows' {
include ::oracle_inventory::inventory_pointer
}
}
|