biemond-orawls icon indicating copy to clipboard operation
biemond-orawls copied to clipboard

opatch not being applied when doing a puppet run

Open sylvesrhi opened this issue 4 years ago • 0 comments

Hi Biemond,

Trust you are well.

We recently installed and configured your opatch module. But when I do a puppet run I get the following error when it tries to apply the opatch:

Error: /Stage[main]/Profile::Srs_appserver/Orawls::Opatch[30386660]/Wls_opatch[/WLS/app/oracle/CSS/Middleware/Oracle_Home:30386660]/ensure: change from 'absent' to 'present' failed: cannot load such file -- puppet/provider/wls_opatch/.identity

This my Puppet code:

orawls::opatch { '30386660': ensure => 'present', oracle_product_home_dir => '/WLS/app/oracle/CSS/Middleware/Oracle_Home', orainstpath_dir => '/WLS/app/oracle/CSS/Middleware/Oracle_Home', patch_id => 30386660, patch_file => 'p30386660_122130_Generic.zip', jdk_home_dir => '/WLS/app/oracle/CSS/JAVA/jdk1.8.0_162/', os_user => 'wls12c', os_group => 'wlsdba', download_dir => '/WLS/app/oracle/CSS/Middleware/Oracle_Home/PATCH_TOP', puppet_download_mnt_point => '/usr/sys/inst.images/Oracle/WLS12C/LATESTPATCHES/', log_output => true, remote_file => true, }

Your help will be greatly appreciated.

Many Thanks, Rich

sylvesrhi avatar Apr 14 '20 07:04 sylvesrhi