Oh nice! I'm going to look into this - I hadn't spotted this. My solution was rather basic and once the RPM was installed and the various /etc/ stuff done I was just starting up oracle and then telling the developers to:
sudo su - oracle sqlplus database/password @some script the dbas gave us @another script To configure everything. I was planning on figuring out how to feed scripts into sqlplus without doing it by hand so I could automate this, but I hadn't got that far because honestly everything about Oracle makes me want to punch my own face over and over. On Sun, Nov 20, 2011 at 6:05 AM, Kristof Willaert < kristof.willa...@gmail.com> wrote: > Hi, > > [snip] > > Thanks. One question though. I'm not much of an Oracle expert, and I >> guess this is more of an Oracle question, than a puppet one, but what >> did you do to configure Oracle on the command line once it was >> installed? >> > > Oracle actually provides some stuff exactly for this. There is a way to > "clone" > an existing oracle install to get up and running on a different machine > just by > copying over the binaries and running a script called clone.pl to > differentiate > the new machine/install from the original one. > > I am planning to use it like this: install the first oracle and prepare it > for cloning > (see below for instructions), package it in an RPM so I can easily > use puppet to > get it in place on a new machine and then either write an exec, a custom > type/provider to deal with the clone.pl stuff, or just let the DBA's > handle it. > > Information on the cloning stuff: > * http://docs.oracle.com/cd/B19306_01/em.102/b16227/oui7_cloning.htm > * http://docs.oracle.com/cd/B28359_01/em.111/b31207/oui6_cloning.htm > > One of the advantages here, is that this is a supported way of customizing. > > Just my 2c. > > Kind regards, > > kristof > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > 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. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.