Douglas, I realise this is an old thread and you may have moved on but for the benefit of others that may be coming later the flag you are looking for is -waitforcompletion e.g.
./client/runInstaller -silent -responseFile ~/client.rsp -ignorePrereq -waitforcompletion This prevents the installer from returning to the shell until the installation is complete. Peter On Saturday, November 19, 2011 12:23:36 PM UTC+10, Douglas wrote: > > This is pretty ugly. > > I'm using puppet to install Oracle, ie an exec{} wrapped around: > > /u01/oracle_extract/linux.x64_11gR2_database/database/runInstaller > -silent -responseFile /etc/oracle_response.rsp > > The problem is that the damn installer backgrounds itself and returns > control to the shell. I tried putting the above command in a script, > followed by a wait command, but that didn't help. Has anyone got any > ideas how I can automate the installation of Oracle with puppet? > > I need to know when the install is finished, because there's > additional commands that need to be run by root, as advised by the > installer, when it's complete. > > Doug. > > -- 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 puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.