Skip to content

Instantly share code, notes, and snippets.

@pdewouters
Created April 7, 2014 21:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pdewouters/10056277 to your computer and use it in GitHub Desktop.
Save pdewouters/10056277 to your computer and use it in GitHub Desktop.
VIP quickstart
VM must be created before running this command. Run `vagrant up` first.
_ __(_)___ ____ ___ __(_)____/ /_______/ /_____ ______/ /_
| | / / / __ \ / __ `/ / / / / ___/ //_/ ___/ __/ __ `/ ___/ __/
| |/ / / /_/ / / /_/ / /_/ / / /__/ ,< (__ ) /_/ /_/ / / / /_
|___/_/ .___/ \__, /\__,_/_/\___/_/|_/____/\__/\__,_/_/ \__/
/_/ /_/
Enter your password to continue:
==================================
= Domain Setup
==================================
What domain would you like to use? [vip.dev]:
==================================
= Updating VIP Quickstart
==================================
Current branch master is up to date.
Synchronizing submodule url for 'puppet/modules/apt'
Synchronizing submodule url for 'puppet/modules/mysql'
Synchronizing submodule url for 'puppet/modules/nginx'
Synchronizing submodule url for 'puppet/modules/php'
Synchronizing submodule url for 'puppet/modules/puppi'
Synchronizing submodule url for 'puppet/modules/ssh'
Synchronizing submodule url for 'puppet/modules/stdlib'
Synchronizing submodule url for 'puppet/modules/ufw'
Synchronizing submodule url for 'puppet/modules/vcsrepo'
Synchronizing submodule url for 'puppet/modules/wp'
==================================
= Provisioning
==================================
==> default: VM not created. Moving on...
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'precise32'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: vip-quickstart_default_1396890713873_280
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 3306 => 3306 (adapter 1)
default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
==> default: Machine booted and ready!
GuestAdditions versions on your host (4.3.10) and guest (4.2.0) do not match.
stdin: is not a tty
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
fakeroot linux-headers-3.2.0-23 make patch
Suggested packages:
make-doc diffutils-doc
Recommended packages:
linux-headers-generic-pae linux-headers-686-pae linux-headers-amd64
linux-headers-generic linux-headers
The following NEW packages will be installed:
dkms fakeroot linux-headers-3.2.0-23 linux-headers-3.2.0-23-generic-pae make
patch
0 upgraded, 6 newly installed, 0 to remove and 66 not upgraded.
Need to get 12.7 MB of archives.
After this operation, 68.5 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main make i386 3.81-8.1ubuntu1 [116 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main patch i386 2.6.1-3 [86.0 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/main dkms all 2.2.0.3-1ubuntu3 [73.1 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise/main fakeroot i386 1.18.2-1 [87.9 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ precise/main linux-headers-3.2.0-23 all 3.2.0-23.36 [11.4 MB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ precise/main linux-headers-3.2.0-23-generic-pae i386 3.2.0-23.36 [944 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 12.7 MB in 44s (285 kB/s)
Selecting previously unselected package make.
(Reading database ... 29361 files and directories currently installed.)
Unpacking make (from .../make_3.81-8.1ubuntu1_i386.deb) ...
Selecting previously unselected package patch.
Unpacking patch (from .../patch_2.6.1-3_i386.deb) ...
Selecting previously unselected package dkms.
Unpacking dkms (from .../dkms_2.2.0.3-1ubuntu3_all.deb) ...
Selecting previously unselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.18.2-1_i386.deb) ...
Selecting previously unselected package linux-headers-3.2.0-23.
Unpacking linux-headers-3.2.0-23 (from .../linux-headers-3.2.0-23_3.2.0-23.36_all.deb) ...
Selecting previously unselected package linux-headers-3.2.0-23-generic-pae.
Unpacking linux-headers-3.2.0-23-generic-pae (from .../linux-headers-3.2.0-23-generic-pae_3.2.0-23.36_i386.deb) ...
Processing triggers for man-db ...
Setting up make (3.81-8.1ubuntu1) ...
Setting up patch (2.6.1-3) ...
Setting up dkms (2.2.0.3-1ubuntu3) ...
Setting up fakeroot (1.18.2-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
Setting up linux-headers-3.2.0-23 (3.2.0-23.36) ...
Setting up linux-headers-3.2.0-23-generic-pae (3.2.0-23.36) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-23-generic-pae /boot/vmlinuz-3.2.0-23-generic-pae
Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
stdin: is not a tty
mount: warning: /mnt seems to be mounted read-only.
Installing Virtualbox Guest Additions 4.3.10 - guest version is 4.2.0
stdin: is not a tty
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.10 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 4.2.0 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules ...done.
Doing non-kernel setup of the Guest Additions ...done.
You should restart your guest to make sure the new modules are actually used
Installing the Window System drivers
Could not find the X.Org or XFree86 Window System, skipping.
An error occurred during installation of VirtualBox Guest Additions 4.3.10. Some functionality may not work as intended.
In most cases it is OK that the "Window System drivers" installation failed.
stdin: is not a tty
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /srv => /Users/pauldewouters/vip-quickstart
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:
mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` /srv /srv
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` /srv /srv
==> default: Running provisioner: shell...
default: Running: inline script
stdin: is not a tty
Package `puppet' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Ign http://us.archive.ubuntu.com precise InRelease
Ign http://us.archive.ubuntu.com precise-updates InRelease
Ign http://us.archive.ubuntu.com precise-backports InRelease
Ign http://security.ubuntu.com precise-security InRelease
Hit http://us.archive.ubuntu.com precise Release.gpg
Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:2 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:3 http://us.archive.ubuntu.com precise-backports Release.gpg [198 B]
Get:4 http://security.ubuntu.com precise-security Release [49.6 kB]
Hit http://us.archive.ubuntu.com precise Release
Get:5 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Get:6 http://us.archive.ubuntu.com precise-backports Release [49.6 kB]
Get:7 http://security.ubuntu.com precise-security/main Sources [102 kB]
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Get:8 http://us.archive.ubuntu.com precise-updates/main Sources [453 kB]
Get:9 http://security.ubuntu.com precise-security/restricted Sources [2,494 B]
Get:10 http://security.ubuntu.com precise-security/universe Sources [30.9 kB]
Get:11 http://security.ubuntu.com precise-security/multiverse Sources [1,789 B]
Get:12 http://security.ubuntu.com precise-security/main i386 Packages [402 kB]
Get:13 http://us.archive.ubuntu.com precise-updates/restricted Sources [8,028 B]
Get:14 http://us.archive.ubuntu.com precise-updates/universe Sources [105 kB]
Get:15 http://us.archive.ubuntu.com precise-updates/multiverse Sources [8,900 B]
Get:16 http://us.archive.ubuntu.com precise-updates/main i386 Packages [786 kB]
Get:17 http://security.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
Get:18 http://security.ubuntu.com precise-security/universe i386 Packages [96.5 kB]
Get:19 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,646 B]
Get:20 http://security.ubuntu.com precise-security/main TranslationIndex [74 B]
Get:21 http://security.ubuntu.com precise-security/multiverse TranslationIndex [72 B]
Get:22 http://security.ubuntu.com precise-security/restricted TranslationIndex [72 B]
Get:23 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
Get:24 http://security.ubuntu.com precise-security/main Translation-en [175 kB]
Get:25 http://security.ubuntu.com precise-security/multiverse Translation-en [1,299 B]
Get:26 http://security.ubuntu.com precise-security/restricted Translation-en [1,253 B]
Get:27 http://security.ubuntu.com precise-security/universe Translation-en [56.7 kB]
Get:28 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [12.2 kB]
Get:29 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [243 kB]
Get:30 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [15.5 kB]
Get:31 http://us.archive.ubuntu.com precise-updates/main TranslationIndex [3,564 B]
Get:32 http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex [2,605 B]
Get:33 http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex [2,461 B]
Get:34 http://us.archive.ubuntu.com precise-updates/universe TranslationIndex [2,850 B]
Hit http://us.archive.ubuntu.com precise/main Translation-en
Get:35 http://us.archive.ubuntu.com precise-backports/main Sources [4,850 B]
Get:36 http://us.archive.ubuntu.com precise-backports/restricted Sources [14 B]
Get:37 http://us.archive.ubuntu.com precise-backports/universe Sources [37.4 kB]
Get:38 http://us.archive.ubuntu.com precise-backports/multiverse Sources [5,311 B]
Get:39 http://us.archive.ubuntu.com precise-backports/main i386 Packages [6,182 B]
Get:40 http://us.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Get:41 http://us.archive.ubuntu.com precise-backports/universe i386 Packages [38.9 kB]
Get:42 http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages [5,178 B]
Get:43 http://us.archive.ubuntu.com precise-backports/main TranslationIndex [72 B]
Get:44 http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex [72 B]
Get:45 http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex [70 B]
Get:46 http://us.archive.ubuntu.com precise-backports/universe TranslationIndex [73 B]
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Get:47 http://us.archive.ubuntu.com precise-updates/main Translation-en [340 kB]
Get:48 http://us.archive.ubuntu.com precise-updates/multiverse Translation-en [9,010 B]
Get:49 http://us.archive.ubuntu.com precise-updates/restricted Translation-en [2,988 B]
Get:50 http://us.archive.ubuntu.com precise-updates/universe Translation-en [138 kB]
Get:51 http://us.archive.ubuntu.com precise-backports/main Translation-en [5,562 B]
Get:52 http://us.archive.ubuntu.com precise-backports/multiverse Translation-en [4,610 B]
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Get:53 http://us.archive.ubuntu.com precise-backports/universe Translation-en [31.3 kB]
Fetched 3,299 kB in 8s (369 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
augeas-lenses debconf-utils facter libaugeas-ruby1.8 libaugeas0 libreadline5
libruby libruby1.8 libshadow-ruby1.8 puppet-common ruby ruby1.8
Suggested packages:
augeas-doc ruby-json augeas-tools puppet-el vim-puppet etckeeper
ruby-selinux libselinux-ruby1.8 librrd-ruby1.8 ri ruby-dev ruby1.8-examples
ri1.8
Recommended packages:
rdoc
The following NEW packages will be installed:
augeas-lenses debconf-utils facter libaugeas-ruby1.8 libaugeas0 libreadline5
libruby libruby1.8 libshadow-ruby1.8 puppet puppet-common ruby ruby1.8
0 upgraded, 13 newly installed, 0 to remove and 161 not upgraded.
Need to get 3,204 kB of archives.
After this operation, 12.5 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main libreadline5 i386 5.2-11 [123 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libruby1.8 i386 1.8.7.352-2ubuntu1.4 [1,787 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main ruby1.8 i386 1.8.7.352-2ubuntu1.4 [34.2 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise/main libruby all 4.8 [4,766 B]
Get:5 http://us.archive.ubuntu.com/ubuntu/ precise/main libshadow-ruby1.8 i386 1.4.1-8build1 [8,828 B]
Get:6 http://us.archive.ubuntu.com/ubuntu/ precise/main augeas-lenses all 0.10.0-0ubuntu4 [175 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ precise/main libaugeas0 i386 0.10.0-0ubuntu4 [169 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ precise/main libaugeas-ruby1.8 i386 0.3.0-1.1ubuntu4 [9,490 B]
Get:9 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main facter all 1.6.5-1ubuntu1.2 [45.3 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main puppet-common all 2.7.11-1ubuntu2.7 [768 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main puppet all 2.7.11-1ubuntu2.7 [20.2 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu/ precise/main debconf-utils all 1.5.42ubuntu1 [54.9 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu/ precise/main ruby all 4.8 [5,054 B]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 3,204 kB in 13s (237 kB/s)
Selecting previously unselected package libreadline5.
(Reading database ... 51755 files and directories currently installed.)
Unpacking libreadline5 (from .../libreadline5_5.2-11_i386.deb) ...
Selecting previously unselected package libruby1.8.
Unpacking libruby1.8 (from .../libruby1.8_1.8.7.352-2ubuntu1.4_i386.deb) ...
Selecting previously unselected package ruby1.8.
Unpacking ruby1.8 (from .../ruby1.8_1.8.7.352-2ubuntu1.4_i386.deb) ...
Selecting previously unselected package libruby.
Unpacking libruby (from .../archives/libruby_4.8_all.deb) ...
Selecting previously unselected package libshadow-ruby1.8.
Unpacking libshadow-ruby1.8 (from .../libshadow-ruby1.8_1.4.1-8build1_i386.deb) ...
Selecting previously unselected package augeas-lenses.
Unpacking augeas-lenses (from .../augeas-lenses_0.10.0-0ubuntu4_all.deb) ...
Selecting previously unselected package libaugeas0.
Unpacking libaugeas0 (from .../libaugeas0_0.10.0-0ubuntu4_i386.deb) ...
Selecting previously unselected package libaugeas-ruby1.8.
Unpacking libaugeas-ruby1.8 (from .../libaugeas-ruby1.8_0.3.0-1.1ubuntu4_i386.deb) ...
Selecting previously unselected package facter.
Unpacking facter (from .../facter_1.6.5-1ubuntu1.2_all.deb) ...
Selecting previously unselected package puppet-common.
Unpacking puppet-common (from .../puppet-common_2.7.11-1ubuntu2.7_all.deb) ...
Selecting previously unselected package puppet.
Unpacking puppet (from .../puppet_2.7.11-1ubuntu2.7_all.deb) ...
Selecting previously unselected package debconf-utils.
Unpacking debconf-utils (from .../debconf-utils_1.5.42ubuntu1_all.deb) ...
Selecting previously unselected package ruby.
Unpacking ruby (from .../apt/archives/ruby_4.8_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up libreadline5 (5.2-11) ...
Setting up libruby1.8 (1.8.7.352-2ubuntu1.4) ...
Setting up ruby1.8 (1.8.7.352-2ubuntu1.4) ...
update-alternatives: using /usr/bin/ruby1.8 to provide /usr/bin/ruby (ruby) in auto mode.
Setting up libruby (4.8) ...
Setting up libshadow-ruby1.8 (1.4.1-8build1) ...
Setting up augeas-lenses (0.10.0-0ubuntu4) ...
Setting up libaugeas0 (0.10.0-0ubuntu4) ...
Setting up libaugeas-ruby1.8 (0.3.0-1.1ubuntu4) ...
Setting up facter (1.6.5-1ubuntu1.2) ...
Setting up puppet-common (2.7.11-1ubuntu2.7) ...
Setting up puppet (2.7.11-1ubuntu2.7) ...
* Starting puppet agent
puppet not configured to start, please edit /etc/default/puppet to enable
...done.
Setting up debconf-utils (1.5.42ubuntu1) ...
Setting up ruby (4.8) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
==> default: Running provisioner: puppet...
Shared folders that Puppet requires are missing on the virtual machine.
This is usually due to configuration changing after already booting the
machine. The fix is to run a `vagrant reload` so that the proper shared
folders will be prepared and mounted on the VM.
==================================
= Configuring the hosts file
==================================
10.86.73.80 vip.dev
==================================
= Next Steps
==================================
* Go to http://vip.dev in your browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment