I actually agree with Ashley's approach. Binary installation is going to be better done with a package if you can - albeit the package may be quite large. You want to install it in such a way so its generic, and then let Puppet specialize it afterwards.
Activities like creating new schemas, users, managing init.ora and pfile/spfile and such are candidates for puppet resources and management for example. ken. On Sat, Nov 19, 2011 at 7:43 PM, Ashley Penney <[email protected]> wrote: > This is not what you want to hear but I ended up installing oracle with the > installer and then using "fpm" to bundle the entire thing into (two, because > it's too goddamn big) rpms. I had no luck doing the installer via Puppet so > I just cheated. > > On Sat, Nov 19, 2011 at 1:11 PM, Douglas Garstang <[email protected]> > wrote: >> >> That's what I am already using. >> >> On Fri, Nov 18, 2011 at 6:33 PM, Mohamed Lrhazi <[email protected]> wrote: >> > Maybe you need something like this: >> > http://www.oracle-base.com/articles/misc/OuiSilentInstallations.php >> > >> > >> > On Fri, Nov 18, 2011 at 9:23 PM, Douglas Garstang >> > <[email protected]> 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 post to this group, send email to [email protected]. >> >> To unsubscribe from this group, send email to >> >> [email protected]. >> >> For more options, visit this group at >> >> http://groups.google.com/group/puppet-users?hl=en. >> >> >> >> >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "Puppet Users" group. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]. >> > For more options, visit this group at >> > http://groups.google.com/group/puppet-users?hl=en. >> > >> > >> >> >> >> -- >> Regards, >> >> Douglas Garstang >> http://www.linkedin.com/in/garstang >> Email: [email protected] >> Cell: +1-805-340-5627 >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
