Puppet can't provide input when a script prompts for it, but usually there are alternative ways to install the software. Most install scripts only untar the software to a directory, ask some questions and write some configuration files based on your answers. Most popular software has some way to automate installation.
Install the software on a test-VM, and see what the end-result is. Which files are created, which daemons are started, which config files are modified. That's what you need to recreate with Puppet. You don't need to recreate all the steps the installer does. You simply need to achieve the same end-result. Either: 1. The install script may allow command-line parameters to specify the various settings. Simply provide those parameters when executing the script via Puppet. 2. If the installation is not too complicated you can skip the installation script and perform all the steps via Puppet, i.e. untar to a directory, drop a config file somewhere in /etc, configure the service to start. 3. You can create your own package that performs the steps that the install script would and simply install the package via Puppet. For simple installations I would choose option 2, especially since you don't have your own package repo yet. For more complex installations, I'd go for 3. Might be worth making your own repo anyway, since it's quite a good way to install custom software in a structured way. All those tools you drop in /usr/local could easily be packaged, providing you with all the advantages a packaging system has. Also, Puppet knows how to deal with packages, so your Puppet manifests will be simpler as well. Regards, Martijn Heemels Op dinsdag 20 november 2012 10:44:01 UTC+1 schreef Laurence Cope het volgende: > > Thanks Ilya, I will give this a try. > > BUT if I remember correctly, the install process will ask input during the > install, to set some options... can Puppet handle entering options during > installations? > > Thanks > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/ru9YtcrT9_IJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.