Hi,
Here is the working code for installing websphere installation manager
through puppet.
*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',*
*}}*
On Monday, July 14, 2014 11:54:38 AM UTC-4, Supriya Uppalapati wrote:
> 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:106Wrapped
>
> 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
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/dea6e6b6-08e2-43c3-ad70-5595c5e27628%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.