biemond / biemond-oradb

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

Oracle binaries not getting transferred to puppet node. #180

Open nutanraj opened 7 years ago

nutanraj commented 7 years ago

Hello,

I've installed and trying to use biemond-oradb module to provision oracle 12c database however when i run puppet agent -t on puppet node it is failing. It seems to me that binaries are not getting transferred to puppet node. My site.pp looks like as follows: node default {

$puppet_download_mnt_point = "/backups/software/12C"

oradb::installdb{ '12.2.0.1_Linux-x86-64': version => '12.2.0.1', file => 'linuxx64_12201_database', database_type => 'EE', oracle_base => '/u01/app/oracle', oracle_home => '/u01/app/oracle/product/12.2.0.1/db_1', bash_profile => true, user => 'oracle', group => 'dba', group_install => 'oinstall', group_oper => 'oracle', download_dir => '/u01/stage', remote_file => true, zip_extract => true, puppet_download_mnt_point => $puppet_download_mnt_point, } } Would appreciate if somebody can help me to fix the issue.

biemond commented 7 years ago

ok, remote_file should be false in this case and this volume should be accessible on a DB nodes else you need to use a valid puppet endpoint which can retrieve it from the puppet master

nutanraj commented 7 years ago

Thanks for your response. Could you please explain little bit about puppet end point? Is there any way to use SCP wiith in puppet? In fact i tried also by copying software files on the target node as well but that is also not working.

biemond commented 7 years ago

see https://docs.puppet.com/puppet/5.0/types/file.html#file-attribute-source