biemond / biemond-oradb

Puppet Oracle Database Module
Apache License 2.0
59 stars 113 forks source link

db_client_12.2.0.1.rsp.erb does not exist biemond-oradb tag v 2.0.10 #161

Open johmicd opened 7 years ago

johmicd commented 7 years ago

It would be nice to have a copy of the db_client_12.1.0.2.rsp.erb -> db_client_12.2.0.1.rsp.erb as a work i did the following and it is working see version line.

had to lie to the oradb::client because template file 12.2 does not exist

oradb::client{ '12.2.0.1_Linux-x86-64':
  version                   => '12.1.0.2',
  file                      => 'linuxx64_12201_client.zip',
  oracle_base               => $oracle_base,
  oracle_home               => $oracle_home,
  user                      => 'oracle',
  group                     => $groups_array['oinstall']['name'],
  group_install             => $groups_array['oinstall']['name'],
  download_dir              => '/u01/stage/client/12C/12.2',
  puppet_download_mnt_point => '$ora_client_installer',
  bash_profile              => false,
  remote_file               => true,
}
biemond commented 7 years ago

what do you mean , it is there https://github.com/biemond/biemond-oradb/blob/puppet4_3_data/templates/db_client_12.2.0.1.rsp.epp

and test it yourself

https://github.com/biemond/biemond-oradb-vagrant-12.2-CDB-puppet4_3/blob/master/puppet/environments/development/manifests/site.pp#L227


  oradb::client{ '12.2.0.1_Linux-x86-64':
    version                   => '12.2.0.1',
    file                      => 'V839967-01.zip',
    oracle_base               => '/oracle',
    oracle_home               => '/oracle/product/12.2/client',
    ora_inventory_dir         => '/oracle',
    remote_file               => false,
    log_output                => true,
    puppet_download_mnt_point => lookup('oracle_source'),
  }

    oradb::tnsnames{'orcl':
      oracle_home          => '/oracle/product/12.2/client',
      server               => { myserver => { host => 'dbcdb.example.com', port => '1521', protocol => 'TCP' }},
      connect_service_name => 'cdb.example.com',
      require              => Oradb::Client['12.2.0.1_Linux-x86-64'],
    }

    oradb::tnsnames{'test':
      oracle_home          => '/oracle/product/12.2/client',
      server               => { myserver =>  { host => 'dbcdb.example.com',  port => '1525', protocol => 'TCP' }, 
                                myserver2 => { host => 'dbcdb.example.com', port => '1526', protocol => 'TCP' }
                              },
      connect_service_name => 'cdb.example.com',
      connect_server       => 'DEDICATED',
      require              =>  Oradb::Client['12.2.0.1_Linux-x86-64'],
    }
biemond commented 7 years ago

Oh I see you are using the old v2 instead of v3. like with puppet 3 you should upgrade to puppet 4 and use the latest oradb module