Skip to content

Instantly share code, notes, and snippets.

@jacqueline-homan
Created February 23, 2016 03:26
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 jacqueline-homan/997a21d695f2808424b2 to your computer and use it in GitHub Desktop.
Save jacqueline-homan/997a21d695f2808424b2 to your computer and use it in GitHub Desktop.
➜ vagrant-lamp-ror git:(master) ✗ vagrant up --provision
Bringing machine 'local' up with 'virtualbox' provider...
==> local: Checking if box 'puphpet/ubuntu1404-x64' is up to date...
==> local: Clearing any previously set forwarded ports...
==> local: Clearing any previously set network interfaces...
==> local: Preparing network interfaces based on configuration...
local: Adapter 1: nat
local: Adapter 2: hostonly
==> local: Forwarding ports...
local: 22 (guest) => 7752 (host) (adapter 1)
local: 22 (guest) => 2222 (host) (adapter 1)
==> local: Running 'pre-boot' VM customizations...
==> local: Booting VM...
==> local: Waiting for machine to boot. This may take a few minutes...
local: SSH address: 127.0.0.1:2222
local: SSH username: vagrant
local: SSH auth method: private key
local: Warning: Remote connection disconnect. Retrying...
==> local: Machine booted and ready!
==> local: Checking for guest additions in VM...
==> local: Setting hostname...
==> local: Configuring and enabling network interfaces...
==> local: Mounting shared folders...
local: /vagrant => /Users/admin/Sites/vagrant-lamp-ror
local: /var/www/apistudyabroad.dev => /Users/admin/Sites/vagrant-lamp-ror/apistudyabroad.dev
local: /tmp/vagrant-puppet/modules-20917723c46035f3e4727aa18897e6cc => /Users/admin/Sites/vagrant-lamp-ror/puphpet/puppet/modules
local: /tmp/vagrant-puppet/manifests-75f35e3bc7e32744860c4bb229c88812 => /Users/admin/Sites/vagrant-lamp-ror/puphpet/puppet/manifests
==> local: Running provisioner: shell...
local: Running: inline script
==> local: Running provisioner: shell...
local: Running: /var/folders/qr/bx0j9s7x5wg5n59vw7jnh5g00000gn/T/vagrant-shell20160222-6690-ihahse.sh
==> local:
==> local: ____ ____ _ _ ____ _ generated using
==> local: | _ \ _ _| _ \| | | | _ \ ___| |_ ___ ___ _ __ ___
==> local: | |_) | | | | |_) | |_| | |_) / _ \ __| / __/ _ \| '_ ` _ \
==> local: | __/| |_| | __/| _ | __/ __/ |_ | (_| (_) | | | | | |
==> local: |_| \__,_|_| |_| |_|_| \___|\__(_)___\___/|_| |_| |_|
==> local: Running provisioner: shell...
local: Running: /var/folders/qr/bx0j9s7x5wg5n59vw7jnh5g00000gn/T/vagrant-shell20160222-6690-wsjcdj.sh
==> local: Pre-existing private key found at 'puphpet/files/dot/ssh/root_id_rsa'
==> local: Pre-existing private key found at 'puphpet/files/dot/ssh/id_rsa'
==> local: Adding generated root key to /root/.ssh/id_rsa
==> local: Adding generated root key to /root/.ssh/id_rsa.pub
==> local: Adding generated root key to /root/.ssh/authorized_keys
==> local: Adding generated key to /home/vagrant/.ssh/id_rsa
==> local: Adding generated key to /home/vagrant/.ssh/id_rsa.pub
==> local: Adding generated key to /home/vagrant/.ssh/authorized_keys
==> local: Running provisioner: shell...
local: Running: /var/folders/qr/bx0j9s7x5wg5n59vw7jnh5g00000gn/T/vagrant-shell20160222-6690-1u96mmz.sh
==> local: Running provisioner: shell...
local: Running: /var/folders/qr/bx0j9s7x5wg5n59vw7jnh5g00000gn/T/vagrant-shell20160222-6690-1l785c5.sh
==> local: Successfully installed deep_merge-1.0.1
==> local: Successfully installed i18n-0.7.0
==> local: Successfully installed thread_safe-0.3.5
==> local: Successfully installed tzinfo-1.2.2
==> local: Successfully installed minitest-5.8.4
==> local: Successfully installed activesupport-4.2.5.1
==> local: Successfully installed vine-0.2
==> local: 7 gems installed
==> local: Running provisioner: shell...
local: Running: /var/folders/qr/bx0j9s7x5wg5n59vw7jnh5g00000gn/T/vagrant-shell20160222-6690-13d4iue.sh
==> local: Running files in files/exec-preprovision
==> local: Finished running files in files/exec-preprovision
==> local: To run again, delete hashes you want rerun in /.puphpet-stuff/exec-preprovision-ran or the whole file to rerun all
==> local: Running files in files/
==> local: Finished running files in files/
==> local: Running provisioner: puppet...
==> local: Running Puppet with ...
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Info: Loading facts
==> local: Warning: Scope(Apt::Source[mariadb]): $required_packages is deprecated and will be removed in the next major release, please use package resources instead.
==> local: Warning: Scope(Apt::Source[nginx]): $key_source is deprecated and will be removed in the next major release, please use $key => { 'source' => http://nginx.org/keys/nginx_signing.key } instead.
==> local: Warning: Scope(Apt::Key[Add key: 7BD9BF62 from Apt::Source nginx]): $key_source is deprecated and will be removed in the next major release. Please use $source instead.
==> local: Notice: Compiled catalog for local.apistudyabroad in environment production in 7.02 seconds
==> local: Warning: Found multiple default providers for vcsrepo: bzr, cvs, dummy, git, hg, svn; using bzr
==> local: Warning: /Apt_key[Add key: 7BD9BF62 from Apt::Source nginx]: The id should be a full fingerprint (40 characters), see README.
==> local: Info: Applying configuration version '1456197885'
==> local: Notice: /Stage[main]/Swap_file/Exec[Attach swap file]/returns: executed successfully
==> local: Notice: /Stage[main]/Puphpet_mariadb/Exec[Set pidfile parent directory permissions]/returns: executed successfully
==> local: Notice: /Stage[main]/Puphpet_server/Exec[dotfiles]/returns: executed successfully
==> local: Info: Computing checksum on file /etc/timezone
==> local: Info: FileBucket got a duplicate file {md5}4f24b133ba38d8fd565168742c9aedeb
==> local: Info: /Stage[main]/Timezone/File[/etc/timezone]: Filebucketed /etc/timezone to puppet with sum 4f24b133ba38d8fd565168742c9aedeb
==> local: Notice: /Stage[main]/Timezone/File[/etc/timezone]/content: content changed '{md5}4f24b133ba38d8fd565168742c9aedeb' to '{md5}ae1d80ba85332ae2d9fbbd491b17c043'
==> local: Info: /Stage[main]/Timezone/File[/etc/timezone]: Scheduling refresh of Exec[update_timezone]
==> local: Notice: /Stage[main]/Timezone/Exec[update_timezone]: Triggered 'refresh' from 1 events
==> local: Notice: /Stage[main]/Puphpet_mariadb/Exec[apistudyabroad-import]/returns: sh: 1: cannot open /root/Desktop/apidev_development_2016-01-16.sql: No such file
==> local: Error: mysql apistudyabroad < ~/Desktop/apidev_development_2016-01-16.sql && touch /.puphpet-stuff/db-import-apistudyabroad returned 2 instead of one of [0]
==> local: Error: /Stage[main]/Puphpet_mariadb/Exec[apistudyabroad-import]/returns: change from notrun to 0 failed: mysql apistudyabroad < ~/Desktop/apidev_development_2016-01-16.sql && touch /.puphpet-stuff/db-import-apistudyabroad returned 2 instead of one of [0]
==> local: Notice: /Stage[main]/Composer/Exec[download_composer]/returns: executed successfully
==> local: Info: Computing checksum on file /usr/local/bin/composer
==> local: Info: /Stage[main]/Composer/File[/usr/local/bin/composer]: Filebucketed /usr/local/bin/composer to puppet with sum 4bc16d38a4b25b1b93b9b1dff54012d2
==> local: Notice: /Stage[main]/Composer/File[/usr/local/bin/composer]/content: content changed '{md5}4bc16d38a4b25b1b93b9b1dff54012d2' to '{md5}903b7f4518e9c2294256e5ab65ca2ff2'
==> local: Info: Computing checksum on file /etc/localtime
==> local: Info: FileBucket got a duplicate file {md5}c79354b8dbee09e62bbc3fb544853283
==> local: Info: /Stage[main]/Timezone/File[/etc/localtime]: Filebucketed /etc/localtime to puppet with sum c79354b8dbee09e62bbc3fb544853283
==> local: Notice: /Stage[main]/Timezone/File[/etc/localtime]/ensure: ensure changed 'file' to 'link'
==> local: Info: Class[Puphpet_mariadb]: Unscheduling all events on Class[Puphpet_mariadb]
==> local: Notice: /Stage[main]/Puphpet_nginx/Nginx::Resource::Vhost[nxv_2opcojhpt67p]/Concat[/etc/nginx/sites-available/nxv_2opcojhpt67p.conf]/File[/etc/nginx/sites-available/nxv_2opcojhpt67p.conf]/ensure: defined content as '{md5}71a72507586b7e99db72e8765457738d'
==> local: Info: /Stage[main]/Puphpet_nginx/Nginx::Resource::Vhost[nxv_2opcojhpt67p]/Concat[/etc/nginx/sites-available/nxv_2opcojhpt67p.conf]/File[/etc/nginx/sites-available/nxv_2opcojhpt67p.conf]: Scheduling refresh of Class[Nginx::Service]
==> local: Info: Concat[/etc/nginx/sites-available/nxv_2opcojhpt67p.conf]: Scheduling refresh of Class[Nginx::Service]
==> local: Notice: /Stage[main]/Puphpet_nginx/Nginx::Resource::Vhost[nxv_2opcojhpt67p]/File[nxv_2opcojhpt67p.conf symlink]/ensure: created
==> local: Info: /Stage[main]/Puphpet_nginx/Nginx::Resource::Vhost[nxv_2opcojhpt67p]/File[nxv_2opcojhpt67p.conf symlink]: Scheduling refresh of Service[nginx]
==> local: Info: Class[Nginx::Service]: Scheduling refresh of Service[nginx]
==> local: Notice: /Stage[main]/Puphpet_nginx/Nginx::Resource::Vhost[_]/File[_.conf symlink]/ensure: created
==> local: Info: /Stage[main]/Puphpet_nginx/Nginx::Resource::Vhost[_]/File[_.conf symlink]: Scheduling refresh of Service[nginx]
==> local: Notice: /Stage[main]/Nginx::Service/Service[nginx]: Triggered 'refresh' from 3 events
==> local: Info: Stage[main]: Unscheduling all events on Stage[main]
==> local: Notice: Applied catalog in 24.02 seconds
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
➜ vagrant-lamp-ror git:(master) ✗
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment