Passing a text file as parameter
I am trying to automate Oracle client install using Puppet. Currently we use this batch script to install Oracle client automatically.
F:\Oracle_11gr2_clients\win32_11gR2_client\client\setup.exe -silent -noconfig -nowait \ -responseFile F:\Cognos_10.2.0_BI\automated_install\oracle_admin_client.rsp
I can use "exec" resource type to achieve this but since it is against the best practices wanted to explore the option of installing Oracle client via Puppet. Here .rsp is the response file (which is nothing but a text file) that has to be passed as one of the parameters, other parameters are silent, noconfig, nowait. I kindly request somebody to give me an idea as to how to go about achieving this in puppet.
Thanks in advance Raj