I have been working on something where I need to install an application on a Linux machine, It opens the Installation wizard and once it is completed chef run gets terminated and I need to run chef-client once again.
Is there any way I can keep the control in chef-client and it doesn’t terminate my client run.
I’m trying to start a service (Weblogic server) through chef. To do so, I have to run a script (startWebLogic.sh). I did it using ‘execute’ and I see chef is executing that block but doesn’t seem like executing the shell script and staring the service.
My question is is there any way using chef I can start a service and put it in background??
Typically packages will have an option to do a silent install.
Check the documentation on the package. Most likely it will have a --silent or --quiet command line argument that you can pass in.
Some packages that require configuration at install time may instead use an ‘answers file’
If it doesn’t have any of those options, then you need to tell the package maintainer to implement an unattended option. You can’t automate a package if it requires human intervention.