Hi,
I am trying to install software using .zip file. I am defining values using varaibles. But it is throwing me an error.
Error: Parameter cwd failed on Exec[extract CZM8XML.zip]: cwd must be a fully qualified path at /etc/puppetlabs/puppet/environments/development/modules/staging/manifests/extract.pp:106
Wrapped exception:
cwd must be a fully qualified path
My code is here
class websphere::installationmanager {
$ibm_install = '/opt/test/installationmanager'
file { $ibm_install:
ensure => directory,
}
staging::deploy { 'CZM8XML.zip':
source => '/stage/Security/SoftwareDepot/SAM_Software/WAS/CZM8XML.zip',
target =>'$ibm_install',
creates =>'$ibm_install/install',
}
exec { 'exec the installation manager':
command => '$ibm_install/install --launcher.ini $ibm_install/silent-install.ini -log /opt/test/IM_install.log',
path => '$ibm_install',
creates => '/opt/test/IM_install.log',
}
}
Please help me