SHARE
TWEET

Untitled

a guest Jun 3rd, 2013 186 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ git diff upstream/master...HEAD
  2. diff --git a/Vagrantfile b/Vagrantfile
  3. index 836701e..d9e34c4 100644
  4. --- a/Vagrantfile
  5. +++ b/Vagrantfile
  6. @@ -19,8 +19,8 @@ Vagrant.configure("2") do |config|
  7.      # Use VBoxManage to customize the VM
  8.      vb.customize ["modifyvm", :id,
  9.                    "--name", "oracle",
  10. -                  # Oracle claims to need 512MB of memory available minimum
  11. -                  "--memory", "512",
  12. +                  # Oracle claims to need 512MB of memory available minimum (upped to 2GB as I have tons of RAM)
  13. +                  "--memory", "2048",
  14.                    # Enable DNS behind NAT
  15.                    "--natdnshostresolver1", "on"]
  16.    end
  17. diff --git a/modules/oracle/manifests/init.pp b/modules/oracle/manifests/init.pp
  18. index b92881e..8d6bd6e 100644
  19. --- a/modules/oracle/manifests/init.pp
  20. +++ b/modules/oracle/manifests/init.pp
  21. @@ -54,7 +54,7 @@ class oracle::swap {
  22.    exec {
  23.      "create swapfile":
  24.        # Needs to be 2 times the memory
  25. -      command => "/bin/dd if=/dev/zero of=/swapfile bs=1M count=1024",
  26. +      command => "/bin/dd if=/dev/zero of=/swapfile bs=1M count=4096",
  27.        user => root,
  28.        creates => "/swapfile";
  29.      "set up swapfile":
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top