Hi all,

Can u pls provide me the solution for this....


class main {

$software = "/app/tcs/puppetdemo/software"
$server = "/app/tcs/puppetdemo/server"

exec{"download_jdk":
     command =>"/usr/bin/wget $URL",
     cwd =>"$software",
}

exec {"untar_jdk":
      command => "/bin/tar -C /app/tcs/puppetdemo/server/ -zxf 
/app/tcs/puppetdemo/software/jdk1.6.0_24.tar.gz",
          cwd => "$server",
}

Exec['download_jdk'] -> Exec['untar_jdk']
}

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to