codescape/vagrant-oracle-xe — pull request #3 by dgapitts (2013-04-24 12:52:32+00:00)
Title: Extending vagrant-oracle-xe to handle oracle user enviroment variables and profile

Hi Stefan,

Your vagrant-oracle-xe repository is excellent, I had my ubuntu oracle-xe environment up and running in less than 45 mins (including downloading oracle-xe.zip software from Oracle!).

There is one change I would like to make around the oracle user environment variables, in my fork I have added an /etc/profile.d/oracle.sh which is deployed automatically as part of the puppet build process (init.pp).

Now when I 'su - oracle' all the environment and path variables are set and I can use standard command line tools like sqlplus and lsnrctl.

Cheers
Dave

NB I have documented what I did in more detail under : http://haildata.net/2013/04/forking-vagrant-oracle-xe-project-to-handle-oracle-environment-variables/